Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
saborbas
 
Posts: n/a
Default Excel If function alternative

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   Report Post  
Ron Coderre
 
Posts: n/a
Default

You might try:
=choose(A1,Z1,Z2,Z3,Z4,Z5,Z6,Z7,Z8,Z9,Z10,Z11,Z12)

Will that work for you?

Ron

  #3   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

=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   Report Post  
CLR
 
Posts: n/a
Default

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   Report Post  
Bob Phillips
 
Posts: n/a
Default

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   Report Post  
Dana DeLouis
 
Posts: n/a
Default

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   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

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
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
Simplify Vlookup function in Excel Budman Excel Worksheet Functions 7 March 27th 05 04:17 PM
Is there a Timestamp function that does not update in Excel? Guard 823 Excel Worksheet Functions 2 February 25th 05 02:42 PM
Return value with using Excel function SNOWBALLCHAN New Users to Excel 1 February 21st 05 07:25 AM
I cant use englisch function names in a swedich version of excel PE Excel Discussion (Misc queries) 2 December 7th 04 01:00 AM
Missing function in Excel 2003 Galldrian Excel Discussion (Misc queries) 2 November 30th 04 12:34 PM


All times are GMT +1. The time now is 12:08 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"