Forum Discussion
Alcesterman
Mar 02, 2019Copper Contributor
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 ...
- 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
Alcesterman
Mar 04, 2019Copper Contributor
Many thanks, This looks very interesting (I like a challenge!), Alf
PeterBartholomew1
Mar 09, 2019Silver Contributor
I did implement a solution but I had overlooked the fact that your longest suit length etc. changed as the vulnerability or contract suit changed across the columns.
- AlcestermanMar 13, 2019Copper ContributorMany thanks. Twifoo gave me the solution.