Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Referencing worksheet tabs 1

Status
Not open for further replies.

rbygo

Technical User
Jan 14, 2003
4
US
Several months ago, DaleWatson123321 provided me with the solution

@@(A1&":J4")

to the following question which I posted in the Lotus Smartsuite forum. This formula works perfectly in Lotus. When I saved the file to Excel, all other formulas appeared to convert successfully, but not this particular one. I would be most grateful if Dale or someone else can give me the equivalent formula for Excel. The question was:

I have thirteen worksheet tabs in one file - one tab for each month, plus one worksheet tab that analyzes data from the current month. The worksheet tabs are labeled as follows:

JAN
FEB
MAR ...(etc, through DEC)
ANALYSIS

ANALYSIS cell A1 contains the name of the current month (in the same format as the monthly worksheet tab names.)
In ANALYSIS, I want cell B8 to pull in the contents of cell J4 from the current month worksheet tab, based on the month that is in ANALYSIS cell A1.

How do I structure the formula for ANALYSIS cell B8?
 
Use this formula ...
=INDIRECT(A1&"!J4")

easy as that.

Glenn.
 
Thanks, GlennUK! For some reason, the formula was automatically converted to

=INDIRECT(A1&":J4")

(a colon instead of an exclamation point before the final cell reference). Changing the colon to an exclamation point did the trick.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top