just rewrite it
New Member
- Joined
- Feb 1, 2012
- Messages
- 2
I want to allow a workbook reviewer to review each of three different scenarios by typing the numbers 1, 2, or 3 into a cell in order to populate a table of data from three data sets.
My first instinct was to use conditionals:
=if(C3=1,B2,0),if(c3=2,C2,0),if(c3=3,D2,0)
While I see the logic, I don't think Excel does.
Then I wanted to use a lookup table:
=(VLOOKUP(c3,b1:b2,b1,FALSE)) - and variations
That didn't work because Excel likes to look up numbers. It can't understand that I want to use it as an organizational tool and do the thinking for it.
Now I've been looking at Index, Address, and Match functions, but they don't seem to nest nicely or insist on looking for numerals as opposed to a cell reference.
I can conform my data to any row/column structure that Excel might understand. Any ideas for what command and format I could use to make this work?
Thanks so much.
(Sorry for the blank posts, the site/board seemed to freeze for several minutes just as I hit post.)
My first instinct was to use conditionals:
=if(C3=1,B2,0),if(c3=2,C2,0),if(c3=3,D2,0)
While I see the logic, I don't think Excel does.
Then I wanted to use a lookup table:
=(VLOOKUP(c3,b1:b2,b1,FALSE)) - and variations
That didn't work because Excel likes to look up numbers. It can't understand that I want to use it as an organizational tool and do the thinking for it.
Now I've been looking at Index, Address, and Match functions, but they don't seem to nest nicely or insist on looking for numerals as opposed to a cell reference.
I can conform my data to any row/column structure that Excel might understand. Any ideas for what command and format I could use to make this work?
Thanks so much.
(Sorry for the blank posts, the site/board seemed to freeze for several minutes just as I hit post.)