Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Help with Nested IF/And Function

I am having trouble getting this to work. I can do about 2-3 of the
statements but stringing them all together is proving difficult.

Values C3 Compared to E3.

First Condition
If C3=E3 return value of 1

Second Condition
If C3=600 Return value of 3

Third Condition
If C3E3 AND C3399 return value of 2

4th Condition
If C3<400 and E3<400 return value of 1

5th Condition
If C3399 and C3<E3 return value of a 1

Else return 0.

That should be checked in that order.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Help with Nested IF/And Function

That should be checked in that order.

OK...but these are duplicates:

Third Condition
If C3E3 AND C3399 return value of 2
4th Condition
If C3E3 AND C3399 return value of 2


=IF(C3=E3,1,IF(C3=600,3,IF(AND(C3E3,C3399),2,IF( AND(C3399,C3<E3),1,0))))


--
Biff
Microsoft Excel MVP


"Bombay" wrote in message
...
I am having trouble getting this to work. I can do about 2-3 of the
statements but stringing them all together is proving difficult.

Values C3 Compared to E3.

First Condition
If C3=E3 return value of 1

Second Condition
If C3=600 Return value of 3

Third Condition
If C3E3 AND C3399 return value of 2

4th Condition
If C3E3 AND C3399 return value of 2

5th Condition
If C3399 and C3<E3 return value of a 1

Else return 0.

That should be checked in that order.



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 Function Dave F Excel Discussion (Misc queries) 0 November 30th 06 03:56 PM
Nested IF Function ConfusedNHouston Excel Discussion (Misc queries) 0 November 30th 06 03:50 PM
can you nested sum and round function within if function? anna Excel Worksheet Functions 4 May 27th 06 06:06 AM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Nested IF Function, Date Comparing, and NetworkDays Function carl Excel Worksheet Functions 2 December 29th 04 09:57 PM


All times are GMT +1. The time now is 01:43 AM.

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"