ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Multiple IF & VLOOKUP functions (https://www.excelbanter.com/new-users-excel/76239-multiple-if-vlookup-functions.html)

Serge

Multiple IF & VLOOKUP functions
 
This formula below works as shown
=IF(D10=0.5,(VLOOKUP(I10,Table_A,2,0))). the result is shown in 'J10'

But 'D10' has 9 possibilities and 'I10' has to look up 9 tables; Table_A
through Table_I which are in sheet three. for each possibility there is a
table for the answer.

Can someone help with this please.
Thanks in advance



JE McGimpsey

Multiple IF & VLOOKUP functions
 
One way:

=VLOOKUP(I10, INDIRECT(VLOOKUP(D10, $M$1:$N$9,2)),2,FALSE)

where

M N
1 0.5 Table_A
2 0.74 Table_B
3 ...


In article ,
Serge wrote:

This formula below works as shown
=IF(D10=0.5,(VLOOKUP(I10,Table_A,2,0))). the result is shown in 'J10'

But 'D10' has 9 possibilities and 'I10' has to look up 9 tables; Table_A
through Table_I which are in sheet three. for each possibility there is a
table for the answer.

Can someone help with this please.
Thanks in advance


Serge

Multiple IF & VLOOKUP functions
 
Thanks for your reply JE,
Does this mean I need to create extra columns?

"JE McGimpsey" wrote:

One way:

=VLOOKUP(I10, INDIRECT(VLOOKUP(D10, $M$1:$N$9,2)),2,FALSE)

where

M N
1 0.5 Table_A
2 0.74 Table_B
3 ...


In article ,
Serge wrote:

This formula below works as shown
=IF(D10=0.5,(VLOOKUP(I10,Table_A,2,0))). the result is shown in 'J10'

But 'D10' has 9 possibilities and 'I10' has to look up 9 tables; Table_A
through Table_I which are in sheet three. for each possibility there is a
table for the answer.

Can someone help with this please.
Thanks in advance



JE McGimpsey

Multiple IF & VLOOKUP functions
 
Don't know how your data tables are set up - I suspect you could just
create another table for the lookup...


In article ,
Serge wrote:

Does this mean I need to create extra columns?


Serge

Multiple IF & VLOOKUP functions
 
Hello JE,
I tried and failed, would you be interrested in looking at my spread sheet?
Thanks,
Serge

"JE McGimpsey" wrote:

Don't know how your data tables are set up - I suspect you could just
create another table for the lookup...


In article ,
Serge wrote:

Does this mean I need to create extra columns?



Serge

Multiple IF & VLOOKUP functions
 
Hello JE,
It's 7:15 pm at home and I finally understood the formula and it works fine.
I'm so happy.
Many thanks again.
I just could not see my way through this without your help.
Serge J.

"JE McGimpsey" wrote:

Don't know how your data tables are set up - I suspect you could just
create another table for the lookup...


In article ,
Serge wrote:

Does this mean I need to create extra columns?




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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com