Forum Discussion

Alcesterman's avatar
Alcesterman
Copper Contributor
Mar 02, 2019
Solved

How to use LOOKUP to refer to tables related to specific ranges of values in a nominated cell

I want to modify the LOOKUP entry in F16 , =LOOKUP(ABS(F14),K6:K26,L6:L26), (24 shown), so that it refers to and selects the relevant column and value from Tables A, B, C or D according to the value ...
  • Twifoo's avatar
    Twifoo
    Mar 09, 2019

    Hello Alcesterman , 

    In the attached file, I modified K27, V30, AB30, AH30, and AN30 from 40+ to 41. The formula in F16, copied across to I16, is: 

    =INDEX(($V9:$Z30,$AB9:$AF30,$AH9:$AL30,$AN9:$AR30),
    MATCH(F14,CHOOSE(SUM(F8>0,F8>24,F8>25,F8>32),$V9:$V30,$AB9:$AB30,$AH9:$AH30,$AN9:$AN30),1),
    COLUMN(B1),SUM(F8>0,F8>24,F8>25,F8>32))

    Cheers!

    Twifoo

Resources