If you use that formula in a cell, you will get the name of your worksheet.
Assume that is in cell Z1, you can then reference that with something like
INDIRECT (Z1&"!Q1") This will return the value in cell Q1 of this
worksheet. You can build addresses like that to create ranges or whatever
you need. I'm not sure if that's your question.
better explanation of formula
this formulae looks for the item in A6 on the sheet SN in Column A, and
returns what is in column B (the easy one because i know the tab to look up
on)
=VLOOKUP(A6,SN!A:B,2,FALSE)
i need the tab SN to change into a VLOOKUP so that the tab to look on can
change based on another value. B2 is the name to look up on the supplier
tab, in column B. in Column C would be a short name and there would another
sheet with that name.
=VLOOKUP(B2,supplier!B:C,2,FALSE)
when i try to use an indirect lookup, i always get a circular reference and
the formula changes go ...))*A:B,...
=VLOOKUP(A7,INDIRECT(VLOOKUP(B2,supplier!B:C,2,FALSE))*A:B,2,FALSE)
any suggestions on the formula would be appreciated.
thank you,
> If you use that formula in a cell, you will get the name of your worksheet.
> Assume that is in cell Z1, you can then reference that with something like
[quoted text clipped - 15 lines]
> >
> > thank you,