+ Reply to Thread
Results 1 to 6 of 6

How do I get a worksheet reference to increment when copied

  1. #1
    RAF
    Guest

    How do I get a worksheet reference to increment when copied

    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.

  2. #2
    Peo Sjoblom
    Guest

    Re: How do I get a worksheet reference to increment when copied

    You can use INDIRECT

    =INDIRECT("'Sheet "&COLUMNS($A$1:A1)&"'!K9")

    copied across


    --


    Regards,

    Peo Sjoblom

    Excel 95 - Excel 2007
    Northwest Excel Solutions
    www.nwexcelsolutions.com



    "RAF" <[email protected]> wrote in message
    news:[email protected]...
    >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.




  3. #3
    RAF
    Guest

    Re: How do I get a worksheet reference to increment when copied

    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?

    "Peo Sjoblom" wrote:

    > You can use INDIRECT
    >
    > =INDIRECT("'Sheet "&COLUMNS($A$1:A1)&"'!K9")
    >
    > copied across
    >
    >
    > --
    >
    >
    > Regards,
    >
    > Peo Sjoblom
    >
    > Excel 95 - Excel 2007
    > Northwest Excel Solutions
    > www.nwexcelsolutions.com
    >
    >
    >
    > "RAF" <[email protected]> wrote in message
    > news:[email protected]...
    > >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.

    >
    >
    >


  4. #4
    Ragdyer
    Guest

    Re: How do I get a worksheet reference to increment when copied

    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")

    --
    HTH,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "RAF" <[email protected]> wrote in message
    news:[email protected]...
    > 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?
    >
    > "Peo Sjoblom" wrote:
    >
    >> You can use INDIRECT
    >>
    >> =INDIRECT("'Sheet "&COLUMNS($A$1:A1)&"'!K9")
    >>
    >> copied across
    >>
    >>
    >> --
    >>
    >>
    >> Regards,
    >>
    >> Peo Sjoblom
    >>
    >> Excel 95 - Excel 2007
    >> Northwest Excel Solutions
    >> www.nwexcelsolutions.com
    >>
    >>
    >>
    >> "RAF" <[email protected]> wrote in message
    >> news:[email protected]...
    >> >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.

    >>
    >>
    >>



  5. #5
    RAF
    Guest

    Re: How do I get a worksheet reference to increment when copied

    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?

    "Ragdyer" wrote:

    > 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")
    >
    > --
    > HTH,
    >
    > RD
    >
    > ---------------------------------------------------------------------------
    > Please keep all correspondence within the NewsGroup, so all may benefit !
    > ---------------------------------------------------------------------------
    > "RAF" <[email protected]> wrote in message
    > news:[email protected]...
    > > 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?
    > >
    > > "Peo Sjoblom" wrote:
    > >
    > >> You can use INDIRECT
    > >>
    > >> =INDIRECT("'Sheet "&COLUMNS($A$1:A1)&"'!K9")
    > >>
    > >> copied across
    > >>
    > >>
    > >> --
    > >>
    > >>
    > >> Regards,
    > >>
    > >> Peo Sjoblom
    > >>
    > >> Excel 95 - Excel 2007
    > >> Northwest Excel Solutions
    > >> www.nwexcelsolutions.com
    > >>
    > >>
    > >>
    > >> "RAF" <[email protected]> wrote in message
    > >> news:[email protected]...
    > >> >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.
    > >>
    > >>
    > >>

    >
    >


  6. #6
    Ragdyer
    Guest

    Re: How do I get a worksheet reference to increment when copied

    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.
    --
    Regards,

    RD

    ---------------------------------------------------------------------------
    Please keep all correspondence within the NewsGroup, so all may benefit !
    ---------------------------------------------------------------------------
    "RAF" <[email protected]> wrote in message
    news:[email protected]...
    > 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?
    >
    > "Ragdyer" wrote:
    >
    >> 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")
    >>
    >> --
    >> HTH,
    >>
    >> RD
    >>
    >> ---------------------------------------------------------------------------
    >> Please keep all correspondence within the NewsGroup, so all may benefit !
    >> ---------------------------------------------------------------------------
    >> "RAF" <[email protected]> wrote in message
    >> news:[email protected]...
    >> > 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?
    >> >
    >> > "Peo Sjoblom" wrote:
    >> >
    >> >> You can use INDIRECT
    >> >>
    >> >> =INDIRECT("'Sheet "&COLUMNS($A$1:A1)&"'!K9")
    >> >>
    >> >> copied across
    >> >>
    >> >>
    >> >> --
    >> >>
    >> >>
    >> >> Regards,
    >> >>
    >> >> Peo Sjoblom
    >> >>
    >> >> Excel 95 - Excel 2007
    >> >> Northwest Excel Solutions
    >> >> www.nwexcelsolutions.com
    >> >>
    >> >>
    >> >>
    >> >> "RAF" <[email protected]> wrote in message
    >> >> news:[email protected]...
    >> >> >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.
    >> >>
    >> >>
    >> >>

    >>
    >>



+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1