How do I get a worksheet reference to increment when copied

G

Guest

I have a significant number of identical worksheets that may contain
different values I need to consolidate to a single worksheet. If I have a
column in the consolidation worksheet that pulls data from a source worksheet
using cell formulae such as: ='Sheet 1'!$K9, is there a way in which I can
get this to copy into adjacent, assending columns such that the worksheet
reference would be automatically incremented i.e.: ='Sheet 2'!$K9, ='Sheet
3'!$K9, and so forth? I cannot seem to find anything that is on point but I'm
sure there must be a way to accomplish this.
 
G

Guest

Peo,

Thank you for responding and pardon my apparent stupidity but this is one
Excel function that I simply cannot seem to grasp. Perhaps if I more
accurately descibed what I'm doing: I have six work sheets named "Disp 1" -
"Disp 6" respectfully and I need to pull values from various cells in the "K"
column of each source sheet and post them into disparate cells on the columns
"X" through "AC", respectfully, of a consolidation sheet named "BOM."

I've tried various revisions of the sample you provided without success. If
possible could you provide a little more detail?
 
R

Ragdyer

It would have been just as easy for you to post the actual sheet names in
your OP, whereas Peo's solution matched your scenario.

Since your sheet numbers are consecutive, just replace the sheet name in the
formula with your sheet names.
NOTE: This is including a <space> between name and number just as Peo used,
following your original example:

=INDIRECT("'Disp "&COLUMNS($A:A)&"'!K9")
 
G

Guest

My apologies for not doing exactly that. Up until recently I have had no
issues in Excel I could not work through myself thus I have little experience
using the discussion group and I used what appeared to be the form from a few
other posts in trying to craft a reasonably clear question however, it is
quite possible that the particular posts that looked at simply were still
using the default worksheet names.

I had actually logged back in to let Peo know that I had succeeded in using
his recommended formula with the obvious substitution and the correct
punctuation which I discovered I got wrong on prior attempts. I do have an
additional question based on your response of:
=INDIRECT("'Disp "&COLUMNS($A:A)&"'!K9")
What difference does the ($A:A) make versus Peo's version ($A$1:A1) which
I'm using?
 
R

Ragdyer

AFAIK, less typing with mine.<g>

They both return the same values.

If you click in the formula bar, you'll see less cells referenced with his
then mine ... but I doubt if that has any bearing on the XL efficiency.
 
A

Ali

Hi All
I am trying to use same solution as providede below.
I have a sheet called PPD, which is reading through other sheets.
Sheets are labelled 1, 2, 3, 4 etc till 100

on PPD: Starting in cell B8 = 1!$B$3
B9 = 2!$B$3
B10 = 3!$B$3
I would like to drag this formula down to as many sheets as we land up
needing instead of manually having to change the sheet number but i can't
seem to get below suggestion to work
=INDIRECT("'Sheet "&COLUMNS($B:B)&"'!B3")
What am i messing up?
Thanks
 
A

Ali

Hi Ashish
I have tried both and still getting a #Ref! error. i have no idea what I am
doing wrong. thanks ali
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top