Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default Can I add more than 2 comparisons to an IF statement??

Hi can some one help me.
The user enters a number (percentage) in cell C8. There is Another Number in
D8.
My IF statement reads
=IF(C8D8-2%,"EXCELLENT","NEEDS ADJUSTING")
This works fine.
THE PROBLEM is that even though Nothing has been entered in the Cell C8 yet
the I keep recieving the Message "EXCELLENT".
THE QUESTION if have is what syntax do I use to tell excel to first check if
C8 is BLANK, if it is, to also return a BLANK, if it is not THEN TO Follow
the IF STATEMENT, above.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Can I add more than 2 comparisons to an IF statement??

=if(c8="","",if(c8d8-2%, .....



joshua wrote:

Hi can some one help me.
The user enters a number (percentage) in cell C8. There is Another Number in
D8.
My IF statement reads
=IF(C8D8-2%,"EXCELLENT","NEEDS ADJUSTING")
This works fine.
THE PROBLEM is that even though Nothing has been entered in the Cell C8 yet
the I keep recieving the Message "EXCELLENT".
THE QUESTION if have is what syntax do I use to tell excel to first check if
C8 is BLANK, if it is, to also return a BLANK, if it is not THEN TO Follow
the IF STATEMENT, above.


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default Can I add more than 2 comparisons to an IF statement??

Thank you Dave! Appreciate the help SOoooooMuch!
joshua

"Dave Peterson" wrote:

=if(c8="","",if(c8d8-2%, .....



joshua wrote:

Hi can some one help me.
The user enters a number (percentage) in cell C8. There is Another Number in
D8.
My IF statement reads
=IF(C8D8-2%,"EXCELLENT","NEEDS ADJUSTING")
This works fine.
THE PROBLEM is that even though Nothing has been entered in the Cell C8 yet
the I keep recieving the Message "EXCELLENT".
THE QUESTION if have is what syntax do I use to tell excel to first check if
C8 is BLANK, if it is, to also return a BLANK, if it is not THEN TO Follow
the IF STATEMENT, above.


--

Dave Peterson

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
SQL concatenation statement CLamar Excel Discussion (Misc queries) 0 June 29th 06 01:58 PM
SET statement tutorial Daminc Excel Discussion (Misc queries) 13 January 17th 06 04:47 PM
If statement Matt Montagliano Excel Discussion (Misc queries) 1 September 8th 05 08:47 PM
Do I need a sumif or sum of a vlookup formula? PeterB Excel Worksheet Functions 0 June 1st 05 12:23 PM
What statement to use? Paul Excel Worksheet Functions 6 February 13th 05 05:23 PM


All times are GMT +1. The time now is 03:35 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"