Using Worksheet Names as a Variable for Formulas
Posted by James on November 21, 2001 8:09 AM
I've searched high and low for this one with no results...it's my Excel Holy Grail...hope someone can help:
I want to have a column of my worksheet names, and then use those worksheet names in a formula. This way, each row can reference the worksheet in column. This will allow a fill down or fill right to reference the worksheet I want instead of being stuck in the worksheet that is listed.
Here's what I want. Column A has the names of my worksheets. Column B has the formula that will use the value in Column A as the worksheet name and then the cell in that worksheet I want to grab.
---A-----B-------
1--WS1---"=A1!A1"
2--WS2---"=A2!A1"
3--WS3---"=A3!A1"
Obviously, this formula doesn't work (it asks for the file named A1, A2, or A3). But I hope it gets my point across.
Any help/advice is greatly appreciated!
James
woosleyj@usa.net