#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default IF x 12

wow !!

i have 1 row `A` with 12 columns, each one has one month of year. And the
row ´B´ i have each value for each month.
and i have in cell b15 with a list of each month where i can choose only one.

i´d like to choose 1 month in b15 and return the respective value of the
group A1:b12 for cell b17.

how can i do this?

i could do that if excel could use 12 nested ´IF` .
thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 196
Default IF x 12

HI Igor

Sounds like a job for HLOOKUP:

=HLOOKUP(B15,$A$1:$B$12,2,0)

typed into B17.

Hope this helps, and a Merry Christmas to you & yours!

Richard


igor wrote:
wow !!

i have 1 row `A` with 12 columns, each one has one month of year. And the
row ´B´ i have each value for each month.
and i have in cell b15 with a list of each month where i can choose only one.

i´d like to choose 1 month in b15 and return the respective value of the
group A1:b12 for cell b17.

how can i do this?

i could do that if excel could use 12 nested ´IF` .
thanks


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 174
Default IF x 12

You talk about "Row" A. If you mean column A with months in A1:A12 and values
in B1:B12 then that's a VLOOKUP

=VLOOKUP(B15,$A$1:$B$12,2,0)

"RichardSchollar" wrote:

HI Igor

Sounds like a job for HLOOKUP:

=HLOOKUP(B15,$A$1:$B$12,2,0)

typed into B17.

Hope this helps, and a Merry Christmas to you & yours!

Richard


igor wrote:
wow !!

i have 1 row `A` with 12 columns, each one has one month of year. And the
row ´B´ i have each value for each month.
and i have in cell b15 with a list of each month where i can choose only one.

i´d like to choose 1 month in b15 and return the respective value of the
group A1:b12 for cell b17.

how can i do this?

i could do that if excel could use 12 nested ´IF` .
thanks



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



All times are GMT +1. The time now is 05:45 PM.

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"