Hopefully someone is much better at this than I am! I'll summarize my goal first, then display the formula I've tried below which doesn't work. Basically I have two cells. Cell D9 can be filled with either "Loan" or "Bond". Cell I9 can be filled with either "GBP","EUR", or "USD". So I have six possible combinations. My goal is that for whichever combination exists, to lookup a value (cell AA9) in one of 6 different corresponding tables on another tab called 'Base Rates', and show the answer to that VLOOKUP. Currently the formula returns FALSE. So it' a functioning formula but it's not working the way I want/expect it to. I appreciate any help. Thanks!
=IF(AND(D9="Loan",I9="GBP"),VLOOKUP(AA9,'Base Rates'!$B$3:$C$75,2),IF(AND(D9="Loan",I9="EUR"),VLOOKUP(AA9,'Base Rates'!$E$3:$F$75,2),IF(AND(D9="Loan",I9="USD"),VLOOKUP(AA9,'Base Rates'!$H$3:$I$75,2),IF(AND(D9="Bond",I9="GBP"),VLOOKUP(AA9,'Base Rates'!$M$3:$N$75,2),IF(AND(D9="Bond",I9="EUR"),VLOOKUP(AA9,'Base Rates'!$P$3:$Q$75,2),IF(AND(D9="Bond",I9="USD"),VLOOKUP(AA9,'Base Rates'!$S$3:$T$75,2)))))))
Bookmarks