Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Mike, the correct formula should be: =IF(AND(E3=B3,E3<C3),D3,IF(AND(E3=B4,E3<C4),D4,I F(AND(E3=B5,E3<C5),D5,IF(AND(E3=B6,E3<C6),D6,"") ))) the references a E3=Value to check B3=1 C3=10 D3=A B4=10 C4=20 E4=B B5=20 C5=30 D5=C B6=30 C6=40 D6=D Formula is placed in cell F3. It is always comparing that the value to be verified must be grater than or equal than the first value and less than the second value. Let me know if that solves the problem. best regards. Juan Carlos +-------------------------------------------------------------------+ |Filename: SampleSpreadsheet.zip | |Download: http://www.excelforum.com/attachment.php?postid=3455 | +-------------------------------------------------------------------+ -- cscorp ------------------------------------------------------------------------ cscorp's Profile: http://www.excelforum.com/member.php...o&userid=24015 View this thread: http://www.excelforum.com/showthread...hreadid=188515 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
Functions for "current" & "previous" month to calculate data | Excel Worksheet Functions | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
HELP on "left","right","find","len","substitute" functions | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel |