Hi,
Does anyone have any ideas for the following:
I have a formula that uses quite a few IFs all lined up, and I'd like to simplify it a bit, also I think there is a limit to how many IFs I can use.
What the formula does is use the input from C2 to decide which table to VLOOKUP and find the data specified in A2, as long as there is text in A2.. Here's what I have:
Formula:
Please Login or Register to view this content.
What I'm worried about is I'm going to have to add more clients, and therefore more tables, and I'm going to run out of functionality. I've already got a pretty long formula.
I've attached an example spreadsheet. The variable data cells (A2 and C2) are validated by drop-down lists for convenience, the formula lives at B2, and the tables are located on Sheet2. The data validation named ranges are hidden in Sheet2, J:K, if you need them.
I'm not against doing this with code if I have to.
Thanks for your help.
Example.xlsx
Bookmarks