Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.newusers
|
|||
|
|||
IF formula for a number range specification
I need a nested IF formula that can assign a code to a range of numbers.
There are 5 ranges. For example...If (A2=10 and <=14, "1", IF (A2=15 and <=140,"2"),IF(......."5"),"Error")) I don't know how to define the range. Thank you for your always helpful help. Rose |
#2
Posted to microsoft.public.excel.newusers
|
|||
|
|||
IF formula for a number range specification
Since you didn't post your entire range of numbers, I plugged these in as an
example: 10 - 14 15 - 140 141 - 250 251 - 400 401 - 600 And try this: =IF(OR(A2<10,A2600),"Error",MATCH(A2,{10,15,141,2 51,401})) -- HTH, RD --------------------------------------------------------------------------- Please keep all correspondence within the NewsGroup, so all may benefit ! --------------------------------------------------------------------------- "Quimera" wrote in message news:yhlhm.41272$PH1.16685@edtnps82... I need a nested IF formula that can assign a code to a range of numbers. There are 5 ranges. For example...If (A2=10 and <=14, "1", IF (A2=15 and <=140,"2"),IF(......."5"),"Error")) I don't know how to define the range. Thank you for your always helpful help. Rose |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How can I use a formula to return the first number in a range? | Excel Worksheet Functions | |||
INCORPORATING A ROW NUMBER INTO A FORMULA RANGE | Excel Worksheet Functions | |||
HELP!I need a specification template purchasing Interior Design it | Excel Worksheet Functions | |||
vlookup file specification | Excel Worksheet Functions | |||
Summing all rows with certain specification | Excel Worksheet Functions |