Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Shortcut Nested If Statements

Is there a shorter way to do this formula:
=if( or(a1="test",b1="test",c1="test",d1="test"),"true" ,"false" ) ?

Looking for something like
=if ( a1:d1 = "test", "true","false")

Thanks,
Andrew V. Romero

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Shortcut Nested If Statements

=if(countif(A1:D1,"text")0,True,False)

or just

=countif(A1:D1,"text")0

--
Regards,
Tom Ogilvy


wrote in message
ups.com...
Is there a shorter way to do this formula:
=if( or(a1="test",b1="test",c1="test",d1="test"),"true" ,"false" ) ?

Looking for something like
=if ( a1:d1 = "test", "true","false")

Thanks,
Andrew V. Romero



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
NESTED IF STATEMENTS [email protected] New Users to Excel 6 July 20th 08 01:07 PM
Help with nested if/or statements Nick Excel Discussion (Misc queries) 8 September 14th 07 03:46 PM
nested if statements Teethless mama Excel Worksheet Functions 0 March 28th 07 12:23 AM
Nested IF statements TwoDot Excel Worksheet Functions 4 February 8th 07 12:17 AM
Nested IF statements John Simons Excel Worksheet Functions 14 February 16th 05 06:17 AM


All times are GMT +1. The time now is 07:31 PM.

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

About Us

"It's about Microsoft Excel"