Views to display different text than field I have added a field in Article content type, 


field_url : contains external URL


I made a view to display the items in table format, Now my problem is to display as small text as possible in table.  

I want to display Yes or No for field_url. If somebody have filled the field while adding content then instead of displaying whole URL I want to display only Yes with a link, if the field was empty I want to display No.
"To display Yes or No for field_url" - I done something similar to this but with Drupal 6 and Views Custom Field. 

So for Drupal 7, I think you need to use Views PHP and add Custom Field:PHP field in your view and make conditions.

&lt;?php 

$static = $this-&gt;view-&gt;display_handler-&gt;get_handlers('field');

$x=$static['tid_1']-&gt;last_render;
$y=$static['tid_2']-&gt;last_render;

if($x !== null)
{
echo "&lt;a href='#Your link'&gt;"."Yes"."&lt;/a&gt;";
}
else
{
echo "NO";
}

?&gt;


note: tid_1, tid_2 are field tokens, instead change it with your fields token.