Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
hello
In my spreadsheet, I've been using a nested if function, but now I need to expand it to 12 if statements and since there is a max of 8, basically my formula is this If a1=1, z1, if a1=2, z2, if a1=3, z3 and so on. What other function can I use to do this |
#2
![]() |
|||
|
|||
![]()
You might try:
=choose(A1,Z1,Z2,Z3,Z4,Z5,Z6,Z7,Z8,Z9,Z10,Z11,Z12) Will that work for you? Ron |
#3
![]() |
|||
|
|||
![]()
=INDEX(Z1:Z12,MATCH(A1,{1;2;3;4;5;6;7;8;9;10;11;12 },0))
-- Regards, Peo Sjoblom "saborbas" wrote in message ... hello In my spreadsheet, I've been using a nested if function, but now I need to expand it to 12 if statements and since there is a max of 8, basically my formula is this If a1=1, z1, if a1=2, z2, if a1=3, z3 and so on. What other function can I use to do this |
#4
![]() |
|||
|
|||
![]()
Classic application for the VLOOKUP feature. Put 1 in Y1 and fill down to
Y12........ Then in B1(or whereever), put this formula =VLOOKUP(A1,Y1:Z12,2,FALSE) Vaya con Dios, Chuck, CABGx3 "saborbas" wrote in message ... hello In my spreadsheet, I've been using a nested if function, but now I need to expand it to 12 if statements and since there is a max of 8, basically my formula is this If a1=1, z1, if a1=2, z2, if a1=3, z3 and so on. What other function can I use to do this |
#5
![]() |
|||
|
|||
![]()
Everyone is guessing as you don't show what you already have. Give us some
help. -- HTH RP (remove nothere from the email address if mailing direct) "CLR" wrote in message ... Classic application for the VLOOKUP feature. Put 1 in Y1 and fill down to Y12........ Then in B1(or whereever), put this formula =VLOOKUP(A1,Y1:Z12,2,FALSE) Vaya con Dios, Chuck, CABGx3 "saborbas" wrote in message ... hello In my spreadsheet, I've been using a nested if function, but now I need to expand it to 12 if statements and since there is a max of 8, basically my formula is this If a1=1, z1, if a1=2, z2, if a1=3, z3 and so on. What other function can I use to do this |
#6
![]() |
|||
|
|||
![]()
Would this work? This has no error checking.
=INDIRECT("Z" & A1) -- Dana DeLouis Win XP & Office 2003 "saborbas" wrote in message ... hello In my spreadsheet, I've been using a nested if function, but now I need to expand it to 12 if statements and since there is a max of 8, basically my formula is this If a1=1, z1, if a1=2, z2, if a1=3, z3 and so on. What other function can I use to do this |
#7
![]() |
|||
|
|||
![]()
saborbas wrote:
hello In my spreadsheet, I've been using a nested if function, but now I need to expand it to 12 if statements and since there is a max of 8, basically my formula is this If a1=1, z1, if a1=2, z2, if a1=3, z3 and so on. What other function can I use to do this If A1 = 1,2,3,...,N, then: =INDEX(Z-range,A1) should suffice. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Simplify Vlookup function in Excel | Excel Worksheet Functions | |||
Is there a Timestamp function that does not update in Excel? | Excel Worksheet Functions | |||
Return value with using Excel function | New Users to Excel | |||
I cant use englisch function names in a swedich version of excel | Excel Discussion (Misc queries) | |||
Missing function in Excel 2003 | Excel Discussion (Misc queries) |