Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How do if create IF functions using text as the logical test?


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default How do if create IF functions using text as the logical test?

A1 = Joe
B1 = 10

=IF(A1="Joe","Yes, A1 equals Joe","No, A1 does not equal Joe")

=IF(A1="Joe",B1*10,0)

=IF(AND(A1="Joe",B1=10),"Winner","Try again")

Biff

"nellybean" wrote in message
...



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default How do if create IF functions using text as the logical test?

=IF(A1="string","text in A1","no text")

=IF(ISTEXT(A1),"text","no text")

Either one will do.


Gord Dibben MS Excel MVP


On Thu, 7 Dec 2006 10:27:02 -0800, nellybean
wrote:


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert a month to a quarter ...... Epinn New Users to Excel 26 May 3rd 23 07:45 PM
Sumproduct issues SteveDB1 Excel Worksheet Functions 25 June 3rd 09 04:58 PM
Copy from a Cell to a text box. AJL Excel Worksheet Functions 9 November 7th 06 04:58 PM
How to create a Pivot table from text file with more than 65000 rows? morchard Excel Discussion (Misc queries) 0 June 29th 05 08:50 PM
change text color based on logical test T3nMan Excel Worksheet Functions 1 January 19th 05 04:30 PM


All times are GMT +1. The time now is 09:00 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"