+ Reply to Thread
Results 1 to 50 of 50

Summing across multiple sheets with a twist

  1. #1
    Registered User
    Join Date
    06-26-2005
    Posts
    2

    Summing across multiple sheets with a twist

    Every week a new worksheet ("tab") is made by copying the prior week's tab and adding pertinent data for the week. Several of the cells in each "tab" are a summation across all prior worksheets/tabs, giving Year-To-Date totals. I figured out how to do this by clicking the leftmost "tab" and then shift-clicking the rightmost tab.

    My issue: I'd like for this to automatically happen when I create a new tab, but I get #REF's for all these references as soon as I make the copy.

    I've got an idea for a workaround, but I can't get it to work:
    1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3 has "525" in it.
    2) In the year-to-date summation cells which normally would have a formula like: =SUM('501:525'!X7)
    I've tried putting =SUM('501:C3'!X7).
    Didn't work.
    I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would let Excel know I'm trying to insert a "text string" where the sheetname/tab would normally be.
    Didn't work.

    Basically, I'm asking if there's a way to force a sheetname into a formula by making a reference to a cell with that sheetname in it?

    Or does anyone know a better workaround for what I'm trying to accomplish?

    Right now, I just manually go in and redo all the #REF's... no big deal but my curiosity has got the better of me.

    Thanks

  2. #2
    Bob Phillips
    Guest

    Re: Summing across multiple sheets with a twist

    Try

    =SUM(INDIRECT("'501:"&C3&"'!X7"))

    although this would suggest that all you need is the last sheet name in the
    summary tab, not on each.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "hillmic" <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote in
    message news:hillmic.1r97qd_1119823506.5583@excelforum-nospam.com...
    >
    > Every week a new worksheet ("tab") is made by copying the prior week's
    > tab and adding pertinent data for the week. Several of the cells in
    > each "tab" are a summation across all prior worksheets/tabs, giving
    > Year-To-Date totals. I figured out how to do this by clicking the
    > leftmost "tab" and then shift-clicking the rightmost tab.
    >
    > My issue: I'd like for this to automatically happen when I create a
    > new tab, but I get #REF's for all these references as soon as I make
    > the copy.
    >
    > I've got an idea for a workaround, but I can't get it to work:
    > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > has "525" in it.
    > 2) In the year-to-date summation cells which normally would have a
    > formula like: =SUM('501:525'!X7)
    > I've tried putting =SUM('501:C3'!X7).
    > Didn't work.
    > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > let Excel know I'm trying to insert a "text string" where the
    > sheetname/tab would normally be.
    > Didn't work.
    >
    > Basically, I'm asking if there's a way to force a sheetname into a
    > formula by making a reference to a cell with that sheetname in it?
    >
    > Or does anyone know a better workaround for what I'm trying to
    > accomplish?
    >
    > Right now, I just manually go in and redo all the #REF's... no big deal
    > but my curiosity has got the better of me.
    >
    > Thanks
    >
    >
    > --
    > hillmic
    > ------------------------------------------------------------------------
    > hillmic's Profile:

    http://www.excelforum.com/member.php...o&userid=24651
    > View this thread: http://www.excelforum.com/showthread...hreadid=382350
    >




  3. #3
    Domenic
    Guest

    Re: Summing across multiple sheets with a twist

    Try...

    =SUMPRODUCT(N(INDIRECT("'"&ROW(INDIRECT("501:"&C3))&"'!X7")))

    Hope this helps!

    In article <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com>,
    hillmic <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote:

    > Every week a new worksheet ("tab") is made by copying the prior week's
    > tab and adding pertinent data for the week. Several of the cells in
    > each "tab" are a summation across all prior worksheets/tabs, giving
    > Year-To-Date totals. I figured out how to do this by clicking the
    > leftmost "tab" and then shift-clicking the rightmost tab.
    >
    > My issue: I'd like for this to automatically happen when I create a
    > new tab, but I get #REF's for all these references as soon as I make
    > the copy.
    >
    > I've got an idea for a workaround, but I can't get it to work:
    > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > has "525" in it.
    > 2) In the year-to-date summation cells which normally would have a
    > formula like: =SUM('501:525'!X7)
    > I've tried putting =SUM('501:C3'!X7).
    > Didn't work.
    > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > let Excel know I'm trying to insert a "text string" where the
    > sheetname/tab would normally be.
    > Didn't work.
    >
    > Basically, I'm asking if there's a way to force a sheetname into a
    > formula by making a reference to a cell with that sheetname in it?
    >
    > Or does anyone know a better workaround for what I'm trying to
    > accomplish?
    >
    > Right now, I just manually go in and redo all the #REF's... no big deal
    > but my curiosity has got the better of me.
    >
    > Thanks


  4. #4
    Bob Phillips
    Guest

    Re: Summing across multiple sheets with a twist

    oops, seeing Domenic's answer reminds me that this method doesn't work
    across sheets, sorry about that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Bob Phillips" <bob.phillips@notheretiscali.co.uk> wrote in message
    news:OV3zy5peFHA.3040@TK2MSFTNGP14.phx.gbl...
    > Try
    >
    > =SUM(INDIRECT("'501:"&C3&"'!X7"))
    >
    > although this would suggest that all you need is the last sheet name in

    the
    > summary tab, not on each.
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "hillmic" <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote in
    > message news:hillmic.1r97qd_1119823506.5583@excelforum-nospam.com...
    > >
    > > Every week a new worksheet ("tab") is made by copying the prior week's
    > > tab and adding pertinent data for the week. Several of the cells in
    > > each "tab" are a summation across all prior worksheets/tabs, giving
    > > Year-To-Date totals. I figured out how to do this by clicking the
    > > leftmost "tab" and then shift-clicking the rightmost tab.
    > >
    > > My issue: I'd like for this to automatically happen when I create a
    > > new tab, but I get #REF's for all these references as soon as I make
    > > the copy.
    > >
    > > I've got an idea for a workaround, but I can't get it to work:
    > > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > > has "525" in it.
    > > 2) In the year-to-date summation cells which normally would have a
    > > formula like: =SUM('501:525'!X7)
    > > I've tried putting =SUM('501:C3'!X7).
    > > Didn't work.
    > > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > > let Excel know I'm trying to insert a "text string" where the
    > > sheetname/tab would normally be.
    > > Didn't work.
    > >
    > > Basically, I'm asking if there's a way to force a sheetname into a
    > > formula by making a reference to a cell with that sheetname in it?
    > >
    > > Or does anyone know a better workaround for what I'm trying to
    > > accomplish?
    > >
    > > Right now, I just manually go in and redo all the #REF's... no big deal
    > > but my curiosity has got the better of me.
    > >
    > > Thanks
    > >
    > >
    > > --
    > > hillmic
    > > ------------------------------------------------------------------------
    > > hillmic's Profile:

    > http://www.excelforum.com/member.php...o&userid=24651
    > > View this thread:

    http://www.excelforum.com/showthread...hreadid=382350
    > >

    >
    >




  5. #5
    Registered User
    Join Date
    06-26-2005
    Posts
    2

    Thank you

    I have no idea why... but it works! Thank you so much.

    I'm curious why the indirect text argument will work in sumproduct but wouldn't work in sum.

    Quote Originally Posted by Domenic
    Try...

    =SUMPRODUCT(N(INDIRECT("'"&ROW(INDIRECT("501:"&C3))&"'!X7")))

    Hope this helps!

    In article <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com>,
    hillmic <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote:

    > Every week a new worksheet ("tab") is made by copying the prior week's
    > tab and adding pertinent data for the week. Several of the cells in
    > each "tab" are a summation across all prior worksheets/tabs, giving
    > Year-To-Date totals. I figured out how to do this by clicking the
    > leftmost "tab" and then shift-clicking the rightmost tab.
    >
    > My issue: I'd like for this to automatically happen when I create a
    > new tab, but I get #REF's for all these references as soon as I make
    > the copy.
    >
    > I've got an idea for a workaround, but I can't get it to work:
    > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > has "525" in it.
    > 2) In the year-to-date summation cells which normally would have a
    > formula like: =SUM('501:525'!X7)
    > I've tried putting =SUM('501:C3'!X7).
    > Didn't work.
    > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > let Excel know I'm trying to insert a "text string" where the
    > sheetname/tab would normally be.
    > Didn't work.
    >
    > Basically, I'm asking if there's a way to force a sheetname into a
    > formula by making a reference to a cell with that sheetname in it?
    >
    > Or does anyone know a better workaround for what I'm trying to
    > accomplish?
    >
    > Right now, I just manually go in and redo all the #REF's... no big deal
    > but my curiosity has got the better of me.
    >
    > Thanks

  6. #6
    Domenic
    Guest

    Re: Summing across multiple sheets with a twist

    In article <hillmic.1raiyq_1119884758.4295@excelforum-nospam.com>,
    hillmic <hillmic.1raiyq_1119884758.4295@excelforum-nospam.com> wrote:

    > I have no idea why... but it works! Thank you so much.
    >
    > I'm curious why the indirect text argument will work in sumproduct but
    > wouldn't work in sum.


    Good question! I wish I knew!

  7. #7
    Bob Phillips
    Guest

    Re: Summing across multiple sheets with a twist

    Try

    =SUM(INDIRECT("'501:"&C3&"'!X7"))

    although this would suggest that all you need is the last sheet name in the
    summary tab, not on each.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "hillmic" <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote in
    message news:hillmic.1r97qd_1119823506.5583@excelforum-nospam.com...
    >
    > Every week a new worksheet ("tab") is made by copying the prior week's
    > tab and adding pertinent data for the week. Several of the cells in
    > each "tab" are a summation across all prior worksheets/tabs, giving
    > Year-To-Date totals. I figured out how to do this by clicking the
    > leftmost "tab" and then shift-clicking the rightmost tab.
    >
    > My issue: I'd like for this to automatically happen when I create a
    > new tab, but I get #REF's for all these references as soon as I make
    > the copy.
    >
    > I've got an idea for a workaround, but I can't get it to work:
    > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > has "525" in it.
    > 2) In the year-to-date summation cells which normally would have a
    > formula like: =SUM('501:525'!X7)
    > I've tried putting =SUM('501:C3'!X7).
    > Didn't work.
    > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > let Excel know I'm trying to insert a "text string" where the
    > sheetname/tab would normally be.
    > Didn't work.
    >
    > Basically, I'm asking if there's a way to force a sheetname into a
    > formula by making a reference to a cell with that sheetname in it?
    >
    > Or does anyone know a better workaround for what I'm trying to
    > accomplish?
    >
    > Right now, I just manually go in and redo all the #REF's... no big deal
    > but my curiosity has got the better of me.
    >
    > Thanks
    >
    >
    > --
    > hillmic
    > ------------------------------------------------------------------------
    > hillmic's Profile:

    http://www.excelforum.com/member.php...o&userid=24651
    > View this thread: http://www.excelforum.com/showthread...hreadid=382350
    >




  8. #8
    Domenic
    Guest

    Re: Summing across multiple sheets with a twist

    Try...

    =SUMPRODUCT(N(INDIRECT("'"&ROW(INDIRECT("501:"&C3))&"'!X7")))

    Hope this helps!

    In article <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com>,
    hillmic <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote:

    > Every week a new worksheet ("tab") is made by copying the prior week's
    > tab and adding pertinent data for the week. Several of the cells in
    > each "tab" are a summation across all prior worksheets/tabs, giving
    > Year-To-Date totals. I figured out how to do this by clicking the
    > leftmost "tab" and then shift-clicking the rightmost tab.
    >
    > My issue: I'd like for this to automatically happen when I create a
    > new tab, but I get #REF's for all these references as soon as I make
    > the copy.
    >
    > I've got an idea for a workaround, but I can't get it to work:
    > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > has "525" in it.
    > 2) In the year-to-date summation cells which normally would have a
    > formula like: =SUM('501:525'!X7)
    > I've tried putting =SUM('501:C3'!X7).
    > Didn't work.
    > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > let Excel know I'm trying to insert a "text string" where the
    > sheetname/tab would normally be.
    > Didn't work.
    >
    > Basically, I'm asking if there's a way to force a sheetname into a
    > formula by making a reference to a cell with that sheetname in it?
    >
    > Or does anyone know a better workaround for what I'm trying to
    > accomplish?
    >
    > Right now, I just manually go in and redo all the #REF's... no big deal
    > but my curiosity has got the better of me.
    >
    > Thanks


  9. #9
    Bob Phillips
    Guest

    Re: Summing across multiple sheets with a twist

    oops, seeing Domenic's answer reminds me that this method doesn't work
    across sheets, sorry about that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Bob Phillips" <bob.phillips@notheretiscali.co.uk> wrote in message
    news:OV3zy5peFHA.3040@TK2MSFTNGP14.phx.gbl...
    > Try
    >
    > =SUM(INDIRECT("'501:"&C3&"'!X7"))
    >
    > although this would suggest that all you need is the last sheet name in

    the
    > summary tab, not on each.
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "hillmic" <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote in
    > message news:hillmic.1r97qd_1119823506.5583@excelforum-nospam.com...
    > >
    > > Every week a new worksheet ("tab") is made by copying the prior week's
    > > tab and adding pertinent data for the week. Several of the cells in
    > > each "tab" are a summation across all prior worksheets/tabs, giving
    > > Year-To-Date totals. I figured out how to do this by clicking the
    > > leftmost "tab" and then shift-clicking the rightmost tab.
    > >
    > > My issue: I'd like for this to automatically happen when I create a
    > > new tab, but I get #REF's for all these references as soon as I make
    > > the copy.
    > >
    > > I've got an idea for a workaround, but I can't get it to work:
    > > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > > has "525" in it.
    > > 2) In the year-to-date summation cells which normally would have a
    > > formula like: =SUM('501:525'!X7)
    > > I've tried putting =SUM('501:C3'!X7).
    > > Didn't work.
    > > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > > let Excel know I'm trying to insert a "text string" where the
    > > sheetname/tab would normally be.
    > > Didn't work.
    > >
    > > Basically, I'm asking if there's a way to force a sheetname into a
    > > formula by making a reference to a cell with that sheetname in it?
    > >
    > > Or does anyone know a better workaround for what I'm trying to
    > > accomplish?
    > >
    > > Right now, I just manually go in and redo all the #REF's... no big deal
    > > but my curiosity has got the better of me.
    > >
    > > Thanks
    > >
    > >
    > > --
    > > hillmic
    > > ------------------------------------------------------------------------
    > > hillmic's Profile:

    > http://www.excelforum.com/member.php...o&userid=24651
    > > View this thread:

    http://www.excelforum.com/showthread...hreadid=382350
    > >

    >
    >




  10. #10
    Domenic
    Guest

    Re: Summing across multiple sheets with a twist

    In article <hillmic.1raiyq_1119884758.4295@excelforum-nospam.com>,
    hillmic <hillmic.1raiyq_1119884758.4295@excelforum-nospam.com> wrote:

    > I have no idea why... but it works! Thank you so much.
    >
    > I'm curious why the indirect text argument will work in sumproduct but
    > wouldn't work in sum.


    Good question! I wish I knew!

  11. #11
    Domenic
    Guest

    Re: Summing across multiple sheets with a twist

    Try...

    =SUMPRODUCT(N(INDIRECT("'"&ROW(INDIRECT("501:"&C3))&"'!X7")))

    Hope this helps!

    In article <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com>,
    hillmic <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote:

    > Every week a new worksheet ("tab") is made by copying the prior week's
    > tab and adding pertinent data for the week. Several of the cells in
    > each "tab" are a summation across all prior worksheets/tabs, giving
    > Year-To-Date totals. I figured out how to do this by clicking the
    > leftmost "tab" and then shift-clicking the rightmost tab.
    >
    > My issue: I'd like for this to automatically happen when I create a
    > new tab, but I get #REF's for all these references as soon as I make
    > the copy.
    >
    > I've got an idea for a workaround, but I can't get it to work:
    > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > has "525" in it.
    > 2) In the year-to-date summation cells which normally would have a
    > formula like: =SUM('501:525'!X7)
    > I've tried putting =SUM('501:C3'!X7).
    > Didn't work.
    > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > let Excel know I'm trying to insert a "text string" where the
    > sheetname/tab would normally be.
    > Didn't work.
    >
    > Basically, I'm asking if there's a way to force a sheetname into a
    > formula by making a reference to a cell with that sheetname in it?
    >
    > Or does anyone know a better workaround for what I'm trying to
    > accomplish?
    >
    > Right now, I just manually go in and redo all the #REF's... no big deal
    > but my curiosity has got the better of me.
    >
    > Thanks


  12. #12
    Domenic
    Guest

    Re: Summing across multiple sheets with a twist

    In article <hillmic.1raiyq_1119884758.4295@excelforum-nospam.com>,
    hillmic <hillmic.1raiyq_1119884758.4295@excelforum-nospam.com> wrote:

    > I have no idea why... but it works! Thank you so much.
    >
    > I'm curious why the indirect text argument will work in sumproduct but
    > wouldn't work in sum.


    Good question! I wish I knew!

  13. #13
    Bob Phillips
    Guest

    Re: Summing across multiple sheets with a twist

    oops, seeing Domenic's answer reminds me that this method doesn't work
    across sheets, sorry about that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Bob Phillips" <bob.phillips@notheretiscali.co.uk> wrote in message
    news:OV3zy5peFHA.3040@TK2MSFTNGP14.phx.gbl...
    > Try
    >
    > =SUM(INDIRECT("'501:"&C3&"'!X7"))
    >
    > although this would suggest that all you need is the last sheet name in

    the
    > summary tab, not on each.
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "hillmic" <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote in
    > message news:hillmic.1r97qd_1119823506.5583@excelforum-nospam.com...
    > >
    > > Every week a new worksheet ("tab") is made by copying the prior week's
    > > tab and adding pertinent data for the week. Several of the cells in
    > > each "tab" are a summation across all prior worksheets/tabs, giving
    > > Year-To-Date totals. I figured out how to do this by clicking the
    > > leftmost "tab" and then shift-clicking the rightmost tab.
    > >
    > > My issue: I'd like for this to automatically happen when I create a
    > > new tab, but I get #REF's for all these references as soon as I make
    > > the copy.
    > >
    > > I've got an idea for a workaround, but I can't get it to work:
    > > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > > has "525" in it.
    > > 2) In the year-to-date summation cells which normally would have a
    > > formula like: =SUM('501:525'!X7)
    > > I've tried putting =SUM('501:C3'!X7).
    > > Didn't work.
    > > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > > let Excel know I'm trying to insert a "text string" where the
    > > sheetname/tab would normally be.
    > > Didn't work.
    > >
    > > Basically, I'm asking if there's a way to force a sheetname into a
    > > formula by making a reference to a cell with that sheetname in it?
    > >
    > > Or does anyone know a better workaround for what I'm trying to
    > > accomplish?
    > >
    > > Right now, I just manually go in and redo all the #REF's... no big deal
    > > but my curiosity has got the better of me.
    > >
    > > Thanks
    > >
    > >
    > > --
    > > hillmic
    > > ------------------------------------------------------------------------
    > > hillmic's Profile:

    > http://www.excelforum.com/member.php...o&userid=24651
    > > View this thread:

    http://www.excelforum.com/showthread...hreadid=382350
    > >

    >
    >




  14. #14
    Bob Phillips
    Guest

    Re: Summing across multiple sheets with a twist

    Try

    =SUM(INDIRECT("'501:"&C3&"'!X7"))

    although this would suggest that all you need is the last sheet name in the
    summary tab, not on each.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "hillmic" <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote in
    message news:hillmic.1r97qd_1119823506.5583@excelforum-nospam.com...
    >
    > Every week a new worksheet ("tab") is made by copying the prior week's
    > tab and adding pertinent data for the week. Several of the cells in
    > each "tab" are a summation across all prior worksheets/tabs, giving
    > Year-To-Date totals. I figured out how to do this by clicking the
    > leftmost "tab" and then shift-clicking the rightmost tab.
    >
    > My issue: I'd like for this to automatically happen when I create a
    > new tab, but I get #REF's for all these references as soon as I make
    > the copy.
    >
    > I've got an idea for a workaround, but I can't get it to work:
    > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > has "525" in it.
    > 2) In the year-to-date summation cells which normally would have a
    > formula like: =SUM('501:525'!X7)
    > I've tried putting =SUM('501:C3'!X7).
    > Didn't work.
    > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > let Excel know I'm trying to insert a "text string" where the
    > sheetname/tab would normally be.
    > Didn't work.
    >
    > Basically, I'm asking if there's a way to force a sheetname into a
    > formula by making a reference to a cell with that sheetname in it?
    >
    > Or does anyone know a better workaround for what I'm trying to
    > accomplish?
    >
    > Right now, I just manually go in and redo all the #REF's... no big deal
    > but my curiosity has got the better of me.
    >
    > Thanks
    >
    >
    > --
    > hillmic
    > ------------------------------------------------------------------------
    > hillmic's Profile:

    http://www.excelforum.com/member.php...o&userid=24651
    > View this thread: http://www.excelforum.com/showthread...hreadid=382350
    >




  15. #15
    Bob Phillips
    Guest

    Re: Summing across multiple sheets with a twist

    Try

    =SUM(INDIRECT("'501:"&C3&"'!X7"))

    although this would suggest that all you need is the last sheet name in the
    summary tab, not on each.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "hillmic" <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote in
    message news:hillmic.1r97qd_1119823506.5583@excelforum-nospam.com...
    >
    > Every week a new worksheet ("tab") is made by copying the prior week's
    > tab and adding pertinent data for the week. Several of the cells in
    > each "tab" are a summation across all prior worksheets/tabs, giving
    > Year-To-Date totals. I figured out how to do this by clicking the
    > leftmost "tab" and then shift-clicking the rightmost tab.
    >
    > My issue: I'd like for this to automatically happen when I create a
    > new tab, but I get #REF's for all these references as soon as I make
    > the copy.
    >
    > I've got an idea for a workaround, but I can't get it to work:
    > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > has "525" in it.
    > 2) In the year-to-date summation cells which normally would have a
    > formula like: =SUM('501:525'!X7)
    > I've tried putting =SUM('501:C3'!X7).
    > Didn't work.
    > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > let Excel know I'm trying to insert a "text string" where the
    > sheetname/tab would normally be.
    > Didn't work.
    >
    > Basically, I'm asking if there's a way to force a sheetname into a
    > formula by making a reference to a cell with that sheetname in it?
    >
    > Or does anyone know a better workaround for what I'm trying to
    > accomplish?
    >
    > Right now, I just manually go in and redo all the #REF's... no big deal
    > but my curiosity has got the better of me.
    >
    > Thanks
    >
    >
    > --
    > hillmic
    > ------------------------------------------------------------------------
    > hillmic's Profile:

    http://www.excelforum.com/member.php...o&userid=24651
    > View this thread: http://www.excelforum.com/showthread...hreadid=382350
    >




  16. #16
    Domenic
    Guest

    Re: Summing across multiple sheets with a twist

    Try...

    =SUMPRODUCT(N(INDIRECT("'"&ROW(INDIRECT("501:"&C3))&"'!X7")))

    Hope this helps!

    In article <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com>,
    hillmic <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote:

    > Every week a new worksheet ("tab") is made by copying the prior week's
    > tab and adding pertinent data for the week. Several of the cells in
    > each "tab" are a summation across all prior worksheets/tabs, giving
    > Year-To-Date totals. I figured out how to do this by clicking the
    > leftmost "tab" and then shift-clicking the rightmost tab.
    >
    > My issue: I'd like for this to automatically happen when I create a
    > new tab, but I get #REF's for all these references as soon as I make
    > the copy.
    >
    > I've got an idea for a workaround, but I can't get it to work:
    > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > has "525" in it.
    > 2) In the year-to-date summation cells which normally would have a
    > formula like: =SUM('501:525'!X7)
    > I've tried putting =SUM('501:C3'!X7).
    > Didn't work.
    > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > let Excel know I'm trying to insert a "text string" where the
    > sheetname/tab would normally be.
    > Didn't work.
    >
    > Basically, I'm asking if there's a way to force a sheetname into a
    > formula by making a reference to a cell with that sheetname in it?
    >
    > Or does anyone know a better workaround for what I'm trying to
    > accomplish?
    >
    > Right now, I just manually go in and redo all the #REF's... no big deal
    > but my curiosity has got the better of me.
    >
    > Thanks


  17. #17
    Bob Phillips
    Guest

    Re: Summing across multiple sheets with a twist

    oops, seeing Domenic's answer reminds me that this method doesn't work
    across sheets, sorry about that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Bob Phillips" <bob.phillips@notheretiscali.co.uk> wrote in message
    news:OV3zy5peFHA.3040@TK2MSFTNGP14.phx.gbl...
    > Try
    >
    > =SUM(INDIRECT("'501:"&C3&"'!X7"))
    >
    > although this would suggest that all you need is the last sheet name in

    the
    > summary tab, not on each.
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "hillmic" <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote in
    > message news:hillmic.1r97qd_1119823506.5583@excelforum-nospam.com...
    > >
    > > Every week a new worksheet ("tab") is made by copying the prior week's
    > > tab and adding pertinent data for the week. Several of the cells in
    > > each "tab" are a summation across all prior worksheets/tabs, giving
    > > Year-To-Date totals. I figured out how to do this by clicking the
    > > leftmost "tab" and then shift-clicking the rightmost tab.
    > >
    > > My issue: I'd like for this to automatically happen when I create a
    > > new tab, but I get #REF's for all these references as soon as I make
    > > the copy.
    > >
    > > I've got an idea for a workaround, but I can't get it to work:
    > > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > > has "525" in it.
    > > 2) In the year-to-date summation cells which normally would have a
    > > formula like: =SUM('501:525'!X7)
    > > I've tried putting =SUM('501:C3'!X7).
    > > Didn't work.
    > > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > > let Excel know I'm trying to insert a "text string" where the
    > > sheetname/tab would normally be.
    > > Didn't work.
    > >
    > > Basically, I'm asking if there's a way to force a sheetname into a
    > > formula by making a reference to a cell with that sheetname in it?
    > >
    > > Or does anyone know a better workaround for what I'm trying to
    > > accomplish?
    > >
    > > Right now, I just manually go in and redo all the #REF's... no big deal
    > > but my curiosity has got the better of me.
    > >
    > > Thanks
    > >
    > >
    > > --
    > > hillmic
    > > ------------------------------------------------------------------------
    > > hillmic's Profile:

    > http://www.excelforum.com/member.php...o&userid=24651
    > > View this thread:

    http://www.excelforum.com/showthread...hreadid=382350
    > >

    >
    >




  18. #18
    Domenic
    Guest

    Re: Summing across multiple sheets with a twist

    In article <hillmic.1raiyq_1119884758.4295@excelforum-nospam.com>,
    hillmic <hillmic.1raiyq_1119884758.4295@excelforum-nospam.com> wrote:

    > I have no idea why... but it works! Thank you so much.
    >
    > I'm curious why the indirect text argument will work in sumproduct but
    > wouldn't work in sum.


    Good question! I wish I knew!

  19. #19
    Domenic
    Guest

    Re: Summing across multiple sheets with a twist

    In article <hillmic.1raiyq_1119884758.4295@excelforum-nospam.com>,
    hillmic <hillmic.1raiyq_1119884758.4295@excelforum-nospam.com> wrote:

    > I have no idea why... but it works! Thank you so much.
    >
    > I'm curious why the indirect text argument will work in sumproduct but
    > wouldn't work in sum.


    Good question! I wish I knew!

  20. #20
    Bob Phillips
    Guest

    Re: Summing across multiple sheets with a twist

    Try

    =SUM(INDIRECT("'501:"&C3&"'!X7"))

    although this would suggest that all you need is the last sheet name in the
    summary tab, not on each.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "hillmic" <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote in
    message news:hillmic.1r97qd_1119823506.5583@excelforum-nospam.com...
    >
    > Every week a new worksheet ("tab") is made by copying the prior week's
    > tab and adding pertinent data for the week. Several of the cells in
    > each "tab" are a summation across all prior worksheets/tabs, giving
    > Year-To-Date totals. I figured out how to do this by clicking the
    > leftmost "tab" and then shift-clicking the rightmost tab.
    >
    > My issue: I'd like for this to automatically happen when I create a
    > new tab, but I get #REF's for all these references as soon as I make
    > the copy.
    >
    > I've got an idea for a workaround, but I can't get it to work:
    > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > has "525" in it.
    > 2) In the year-to-date summation cells which normally would have a
    > formula like: =SUM('501:525'!X7)
    > I've tried putting =SUM('501:C3'!X7).
    > Didn't work.
    > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > let Excel know I'm trying to insert a "text string" where the
    > sheetname/tab would normally be.
    > Didn't work.
    >
    > Basically, I'm asking if there's a way to force a sheetname into a
    > formula by making a reference to a cell with that sheetname in it?
    >
    > Or does anyone know a better workaround for what I'm trying to
    > accomplish?
    >
    > Right now, I just manually go in and redo all the #REF's... no big deal
    > but my curiosity has got the better of me.
    >
    > Thanks
    >
    >
    > --
    > hillmic
    > ------------------------------------------------------------------------
    > hillmic's Profile:

    http://www.excelforum.com/member.php...o&userid=24651
    > View this thread: http://www.excelforum.com/showthread...hreadid=382350
    >




  21. #21
    Domenic
    Guest

    Re: Summing across multiple sheets with a twist

    Try...

    =SUMPRODUCT(N(INDIRECT("'"&ROW(INDIRECT("501:"&C3))&"'!X7")))

    Hope this helps!

    In article <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com>,
    hillmic <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote:

    > Every week a new worksheet ("tab") is made by copying the prior week's
    > tab and adding pertinent data for the week. Several of the cells in
    > each "tab" are a summation across all prior worksheets/tabs, giving
    > Year-To-Date totals. I figured out how to do this by clicking the
    > leftmost "tab" and then shift-clicking the rightmost tab.
    >
    > My issue: I'd like for this to automatically happen when I create a
    > new tab, but I get #REF's for all these references as soon as I make
    > the copy.
    >
    > I've got an idea for a workaround, but I can't get it to work:
    > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > has "525" in it.
    > 2) In the year-to-date summation cells which normally would have a
    > formula like: =SUM('501:525'!X7)
    > I've tried putting =SUM('501:C3'!X7).
    > Didn't work.
    > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > let Excel know I'm trying to insert a "text string" where the
    > sheetname/tab would normally be.
    > Didn't work.
    >
    > Basically, I'm asking if there's a way to force a sheetname into a
    > formula by making a reference to a cell with that sheetname in it?
    >
    > Or does anyone know a better workaround for what I'm trying to
    > accomplish?
    >
    > Right now, I just manually go in and redo all the #REF's... no big deal
    > but my curiosity has got the better of me.
    >
    > Thanks


  22. #22
    Bob Phillips
    Guest

    Re: Summing across multiple sheets with a twist

    oops, seeing Domenic's answer reminds me that this method doesn't work
    across sheets, sorry about that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Bob Phillips" <bob.phillips@notheretiscali.co.uk> wrote in message
    news:OV3zy5peFHA.3040@TK2MSFTNGP14.phx.gbl...
    > Try
    >
    > =SUM(INDIRECT("'501:"&C3&"'!X7"))
    >
    > although this would suggest that all you need is the last sheet name in

    the
    > summary tab, not on each.
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "hillmic" <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote in
    > message news:hillmic.1r97qd_1119823506.5583@excelforum-nospam.com...
    > >
    > > Every week a new worksheet ("tab") is made by copying the prior week's
    > > tab and adding pertinent data for the week. Several of the cells in
    > > each "tab" are a summation across all prior worksheets/tabs, giving
    > > Year-To-Date totals. I figured out how to do this by clicking the
    > > leftmost "tab" and then shift-clicking the rightmost tab.
    > >
    > > My issue: I'd like for this to automatically happen when I create a
    > > new tab, but I get #REF's for all these references as soon as I make
    > > the copy.
    > >
    > > I've got an idea for a workaround, but I can't get it to work:
    > > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > > has "525" in it.
    > > 2) In the year-to-date summation cells which normally would have a
    > > formula like: =SUM('501:525'!X7)
    > > I've tried putting =SUM('501:C3'!X7).
    > > Didn't work.
    > > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > > let Excel know I'm trying to insert a "text string" where the
    > > sheetname/tab would normally be.
    > > Didn't work.
    > >
    > > Basically, I'm asking if there's a way to force a sheetname into a
    > > formula by making a reference to a cell with that sheetname in it?
    > >
    > > Or does anyone know a better workaround for what I'm trying to
    > > accomplish?
    > >
    > > Right now, I just manually go in and redo all the #REF's... no big deal
    > > but my curiosity has got the better of me.
    > >
    > > Thanks
    > >
    > >
    > > --
    > > hillmic
    > > ------------------------------------------------------------------------
    > > hillmic's Profile:

    > http://www.excelforum.com/member.php...o&userid=24651
    > > View this thread:

    http://www.excelforum.com/showthread...hreadid=382350
    > >

    >
    >




  23. #23
    Domenic
    Guest

    Re: Summing across multiple sheets with a twist

    In article <hillmic.1raiyq_1119884758.4295@excelforum-nospam.com>,
    hillmic <hillmic.1raiyq_1119884758.4295@excelforum-nospam.com> wrote:

    > I have no idea why... but it works! Thank you so much.
    >
    > I'm curious why the indirect text argument will work in sumproduct but
    > wouldn't work in sum.


    Good question! I wish I knew!

  24. #24
    Bob Phillips
    Guest

    Re: Summing across multiple sheets with a twist

    oops, seeing Domenic's answer reminds me that this method doesn't work
    across sheets, sorry about that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Bob Phillips" <bob.phillips@notheretiscali.co.uk> wrote in message
    news:OV3zy5peFHA.3040@TK2MSFTNGP14.phx.gbl...
    > Try
    >
    > =SUM(INDIRECT("'501:"&C3&"'!X7"))
    >
    > although this would suggest that all you need is the last sheet name in

    the
    > summary tab, not on each.
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "hillmic" <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote in
    > message news:hillmic.1r97qd_1119823506.5583@excelforum-nospam.com...
    > >
    > > Every week a new worksheet ("tab") is made by copying the prior week's
    > > tab and adding pertinent data for the week. Several of the cells in
    > > each "tab" are a summation across all prior worksheets/tabs, giving
    > > Year-To-Date totals. I figured out how to do this by clicking the
    > > leftmost "tab" and then shift-clicking the rightmost tab.
    > >
    > > My issue: I'd like for this to automatically happen when I create a
    > > new tab, but I get #REF's for all these references as soon as I make
    > > the copy.
    > >
    > > I've got an idea for a workaround, but I can't get it to work:
    > > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > > has "525" in it.
    > > 2) In the year-to-date summation cells which normally would have a
    > > formula like: =SUM('501:525'!X7)
    > > I've tried putting =SUM('501:C3'!X7).
    > > Didn't work.
    > > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > > let Excel know I'm trying to insert a "text string" where the
    > > sheetname/tab would normally be.
    > > Didn't work.
    > >
    > > Basically, I'm asking if there's a way to force a sheetname into a
    > > formula by making a reference to a cell with that sheetname in it?
    > >
    > > Or does anyone know a better workaround for what I'm trying to
    > > accomplish?
    > >
    > > Right now, I just manually go in and redo all the #REF's... no big deal
    > > but my curiosity has got the better of me.
    > >
    > > Thanks
    > >
    > >
    > > --
    > > hillmic
    > > ------------------------------------------------------------------------
    > > hillmic's Profile:

    > http://www.excelforum.com/member.php...o&userid=24651
    > > View this thread:

    http://www.excelforum.com/showthread...hreadid=382350
    > >

    >
    >




  25. #25
    Domenic
    Guest

    Re: Summing across multiple sheets with a twist

    Try...

    =SUMPRODUCT(N(INDIRECT("'"&ROW(INDIRECT("501:"&C3))&"'!X7")))

    Hope this helps!

    In article <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com>,
    hillmic <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote:

    > Every week a new worksheet ("tab") is made by copying the prior week's
    > tab and adding pertinent data for the week. Several of the cells in
    > each "tab" are a summation across all prior worksheets/tabs, giving
    > Year-To-Date totals. I figured out how to do this by clicking the
    > leftmost "tab" and then shift-clicking the rightmost tab.
    >
    > My issue: I'd like for this to automatically happen when I create a
    > new tab, but I get #REF's for all these references as soon as I make
    > the copy.
    >
    > I've got an idea for a workaround, but I can't get it to work:
    > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > has "525" in it.
    > 2) In the year-to-date summation cells which normally would have a
    > formula like: =SUM('501:525'!X7)
    > I've tried putting =SUM('501:C3'!X7).
    > Didn't work.
    > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > let Excel know I'm trying to insert a "text string" where the
    > sheetname/tab would normally be.
    > Didn't work.
    >
    > Basically, I'm asking if there's a way to force a sheetname into a
    > formula by making a reference to a cell with that sheetname in it?
    >
    > Or does anyone know a better workaround for what I'm trying to
    > accomplish?
    >
    > Right now, I just manually go in and redo all the #REF's... no big deal
    > but my curiosity has got the better of me.
    >
    > Thanks


  26. #26
    Bob Phillips
    Guest

    Re: Summing across multiple sheets with a twist

    Try

    =SUM(INDIRECT("'501:"&C3&"'!X7"))

    although this would suggest that all you need is the last sheet name in the
    summary tab, not on each.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "hillmic" <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote in
    message news:hillmic.1r97qd_1119823506.5583@excelforum-nospam.com...
    >
    > Every week a new worksheet ("tab") is made by copying the prior week's
    > tab and adding pertinent data for the week. Several of the cells in
    > each "tab" are a summation across all prior worksheets/tabs, giving
    > Year-To-Date totals. I figured out how to do this by clicking the
    > leftmost "tab" and then shift-clicking the rightmost tab.
    >
    > My issue: I'd like for this to automatically happen when I create a
    > new tab, but I get #REF's for all these references as soon as I make
    > the copy.
    >
    > I've got an idea for a workaround, but I can't get it to work:
    > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > has "525" in it.
    > 2) In the year-to-date summation cells which normally would have a
    > formula like: =SUM('501:525'!X7)
    > I've tried putting =SUM('501:C3'!X7).
    > Didn't work.
    > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > let Excel know I'm trying to insert a "text string" where the
    > sheetname/tab would normally be.
    > Didn't work.
    >
    > Basically, I'm asking if there's a way to force a sheetname into a
    > formula by making a reference to a cell with that sheetname in it?
    >
    > Or does anyone know a better workaround for what I'm trying to
    > accomplish?
    >
    > Right now, I just manually go in and redo all the #REF's... no big deal
    > but my curiosity has got the better of me.
    >
    > Thanks
    >
    >
    > --
    > hillmic
    > ------------------------------------------------------------------------
    > hillmic's Profile:

    http://www.excelforum.com/member.php...o&userid=24651
    > View this thread: http://www.excelforum.com/showthread...hreadid=382350
    >




  27. #27
    Bob Phillips
    Guest

    Re: Summing across multiple sheets with a twist

    Try

    =SUM(INDIRECT("'501:"&C3&"'!X7"))

    although this would suggest that all you need is the last sheet name in the
    summary tab, not on each.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "hillmic" <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote in
    message news:hillmic.1r97qd_1119823506.5583@excelforum-nospam.com...
    >
    > Every week a new worksheet ("tab") is made by copying the prior week's
    > tab and adding pertinent data for the week. Several of the cells in
    > each "tab" are a summation across all prior worksheets/tabs, giving
    > Year-To-Date totals. I figured out how to do this by clicking the
    > leftmost "tab" and then shift-clicking the rightmost tab.
    >
    > My issue: I'd like for this to automatically happen when I create a
    > new tab, but I get #REF's for all these references as soon as I make
    > the copy.
    >
    > I've got an idea for a workaround, but I can't get it to work:
    > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > has "525" in it.
    > 2) In the year-to-date summation cells which normally would have a
    > formula like: =SUM('501:525'!X7)
    > I've tried putting =SUM('501:C3'!X7).
    > Didn't work.
    > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > let Excel know I'm trying to insert a "text string" where the
    > sheetname/tab would normally be.
    > Didn't work.
    >
    > Basically, I'm asking if there's a way to force a sheetname into a
    > formula by making a reference to a cell with that sheetname in it?
    >
    > Or does anyone know a better workaround for what I'm trying to
    > accomplish?
    >
    > Right now, I just manually go in and redo all the #REF's... no big deal
    > but my curiosity has got the better of me.
    >
    > Thanks
    >
    >
    > --
    > hillmic
    > ------------------------------------------------------------------------
    > hillmic's Profile:

    http://www.excelforum.com/member.php...o&userid=24651
    > View this thread: http://www.excelforum.com/showthread...hreadid=382350
    >




  28. #28
    Domenic
    Guest

    Re: Summing across multiple sheets with a twist

    In article <hillmic.1raiyq_1119884758.4295@excelforum-nospam.com>,
    hillmic <hillmic.1raiyq_1119884758.4295@excelforum-nospam.com> wrote:

    > I have no idea why... but it works! Thank you so much.
    >
    > I'm curious why the indirect text argument will work in sumproduct but
    > wouldn't work in sum.


    Good question! I wish I knew!

  29. #29
    Domenic
    Guest

    Re: Summing across multiple sheets with a twist

    Try...

    =SUMPRODUCT(N(INDIRECT("'"&ROW(INDIRECT("501:"&C3))&"'!X7")))

    Hope this helps!

    In article <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com>,
    hillmic <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote:

    > Every week a new worksheet ("tab") is made by copying the prior week's
    > tab and adding pertinent data for the week. Several of the cells in
    > each "tab" are a summation across all prior worksheets/tabs, giving
    > Year-To-Date totals. I figured out how to do this by clicking the
    > leftmost "tab" and then shift-clicking the rightmost tab.
    >
    > My issue: I'd like for this to automatically happen when I create a
    > new tab, but I get #REF's for all these references as soon as I make
    > the copy.
    >
    > I've got an idea for a workaround, but I can't get it to work:
    > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > has "525" in it.
    > 2) In the year-to-date summation cells which normally would have a
    > formula like: =SUM('501:525'!X7)
    > I've tried putting =SUM('501:C3'!X7).
    > Didn't work.
    > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > let Excel know I'm trying to insert a "text string" where the
    > sheetname/tab would normally be.
    > Didn't work.
    >
    > Basically, I'm asking if there's a way to force a sheetname into a
    > formula by making a reference to a cell with that sheetname in it?
    >
    > Or does anyone know a better workaround for what I'm trying to
    > accomplish?
    >
    > Right now, I just manually go in and redo all the #REF's... no big deal
    > but my curiosity has got the better of me.
    >
    > Thanks


  30. #30
    Bob Phillips
    Guest

    Re: Summing across multiple sheets with a twist

    oops, seeing Domenic's answer reminds me that this method doesn't work
    across sheets, sorry about that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Bob Phillips" <bob.phillips@notheretiscali.co.uk> wrote in message
    news:OV3zy5peFHA.3040@TK2MSFTNGP14.phx.gbl...
    > Try
    >
    > =SUM(INDIRECT("'501:"&C3&"'!X7"))
    >
    > although this would suggest that all you need is the last sheet name in

    the
    > summary tab, not on each.
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "hillmic" <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote in
    > message news:hillmic.1r97qd_1119823506.5583@excelforum-nospam.com...
    > >
    > > Every week a new worksheet ("tab") is made by copying the prior week's
    > > tab and adding pertinent data for the week. Several of the cells in
    > > each "tab" are a summation across all prior worksheets/tabs, giving
    > > Year-To-Date totals. I figured out how to do this by clicking the
    > > leftmost "tab" and then shift-clicking the rightmost tab.
    > >
    > > My issue: I'd like for this to automatically happen when I create a
    > > new tab, but I get #REF's for all these references as soon as I make
    > > the copy.
    > >
    > > I've got an idea for a workaround, but I can't get it to work:
    > > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > > has "525" in it.
    > > 2) In the year-to-date summation cells which normally would have a
    > > formula like: =SUM('501:525'!X7)
    > > I've tried putting =SUM('501:C3'!X7).
    > > Didn't work.
    > > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > > let Excel know I'm trying to insert a "text string" where the
    > > sheetname/tab would normally be.
    > > Didn't work.
    > >
    > > Basically, I'm asking if there's a way to force a sheetname into a
    > > formula by making a reference to a cell with that sheetname in it?
    > >
    > > Or does anyone know a better workaround for what I'm trying to
    > > accomplish?
    > >
    > > Right now, I just manually go in and redo all the #REF's... no big deal
    > > but my curiosity has got the better of me.
    > >
    > > Thanks
    > >
    > >
    > > --
    > > hillmic
    > > ------------------------------------------------------------------------
    > > hillmic's Profile:

    > http://www.excelforum.com/member.php...o&userid=24651
    > > View this thread:

    http://www.excelforum.com/showthread...hreadid=382350
    > >

    >
    >




  31. #31
    Domenic
    Guest

    Re: Summing across multiple sheets with a twist

    In article <hillmic.1raiyq_1119884758.4295@excelforum-nospam.com>,
    hillmic <hillmic.1raiyq_1119884758.4295@excelforum-nospam.com> wrote:

    > I have no idea why... but it works! Thank you so much.
    >
    > I'm curious why the indirect text argument will work in sumproduct but
    > wouldn't work in sum.


    Good question! I wish I knew!

  32. #32
    Bob Phillips
    Guest

    Re: Summing across multiple sheets with a twist

    Try

    =SUM(INDIRECT("'501:"&C3&"'!X7"))

    although this would suggest that all you need is the last sheet name in the
    summary tab, not on each.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "hillmic" <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote in
    message news:hillmic.1r97qd_1119823506.5583@excelforum-nospam.com...
    >
    > Every week a new worksheet ("tab") is made by copying the prior week's
    > tab and adding pertinent data for the week. Several of the cells in
    > each "tab" are a summation across all prior worksheets/tabs, giving
    > Year-To-Date totals. I figured out how to do this by clicking the
    > leftmost "tab" and then shift-clicking the rightmost tab.
    >
    > My issue: I'd like for this to automatically happen when I create a
    > new tab, but I get #REF's for all these references as soon as I make
    > the copy.
    >
    > I've got an idea for a workaround, but I can't get it to work:
    > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > has "525" in it.
    > 2) In the year-to-date summation cells which normally would have a
    > formula like: =SUM('501:525'!X7)
    > I've tried putting =SUM('501:C3'!X7).
    > Didn't work.
    > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > let Excel know I'm trying to insert a "text string" where the
    > sheetname/tab would normally be.
    > Didn't work.
    >
    > Basically, I'm asking if there's a way to force a sheetname into a
    > formula by making a reference to a cell with that sheetname in it?
    >
    > Or does anyone know a better workaround for what I'm trying to
    > accomplish?
    >
    > Right now, I just manually go in and redo all the #REF's... no big deal
    > but my curiosity has got the better of me.
    >
    > Thanks
    >
    >
    > --
    > hillmic
    > ------------------------------------------------------------------------
    > hillmic's Profile:

    http://www.excelforum.com/member.php...o&userid=24651
    > View this thread: http://www.excelforum.com/showthread...hreadid=382350
    >




  33. #33
    Domenic
    Guest

    Re: Summing across multiple sheets with a twist

    Try...

    =SUMPRODUCT(N(INDIRECT("'"&ROW(INDIRECT("501:"&C3))&"'!X7")))

    Hope this helps!

    In article <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com>,
    hillmic <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote:

    > Every week a new worksheet ("tab") is made by copying the prior week's
    > tab and adding pertinent data for the week. Several of the cells in
    > each "tab" are a summation across all prior worksheets/tabs, giving
    > Year-To-Date totals. I figured out how to do this by clicking the
    > leftmost "tab" and then shift-clicking the rightmost tab.
    >
    > My issue: I'd like for this to automatically happen when I create a
    > new tab, but I get #REF's for all these references as soon as I make
    > the copy.
    >
    > I've got an idea for a workaround, but I can't get it to work:
    > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > has "525" in it.
    > 2) In the year-to-date summation cells which normally would have a
    > formula like: =SUM('501:525'!X7)
    > I've tried putting =SUM('501:C3'!X7).
    > Didn't work.
    > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > let Excel know I'm trying to insert a "text string" where the
    > sheetname/tab would normally be.
    > Didn't work.
    >
    > Basically, I'm asking if there's a way to force a sheetname into a
    > formula by making a reference to a cell with that sheetname in it?
    >
    > Or does anyone know a better workaround for what I'm trying to
    > accomplish?
    >
    > Right now, I just manually go in and redo all the #REF's... no big deal
    > but my curiosity has got the better of me.
    >
    > Thanks


  34. #34
    Bob Phillips
    Guest

    Re: Summing across multiple sheets with a twist

    oops, seeing Domenic's answer reminds me that this method doesn't work
    across sheets, sorry about that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Bob Phillips" <bob.phillips@notheretiscali.co.uk> wrote in message
    news:OV3zy5peFHA.3040@TK2MSFTNGP14.phx.gbl...
    > Try
    >
    > =SUM(INDIRECT("'501:"&C3&"'!X7"))
    >
    > although this would suggest that all you need is the last sheet name in

    the
    > summary tab, not on each.
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "hillmic" <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote in
    > message news:hillmic.1r97qd_1119823506.5583@excelforum-nospam.com...
    > >
    > > Every week a new worksheet ("tab") is made by copying the prior week's
    > > tab and adding pertinent data for the week. Several of the cells in
    > > each "tab" are a summation across all prior worksheets/tabs, giving
    > > Year-To-Date totals. I figured out how to do this by clicking the
    > > leftmost "tab" and then shift-clicking the rightmost tab.
    > >
    > > My issue: I'd like for this to automatically happen when I create a
    > > new tab, but I get #REF's for all these references as soon as I make
    > > the copy.
    > >
    > > I've got an idea for a workaround, but I can't get it to work:
    > > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > > has "525" in it.
    > > 2) In the year-to-date summation cells which normally would have a
    > > formula like: =SUM('501:525'!X7)
    > > I've tried putting =SUM('501:C3'!X7).
    > > Didn't work.
    > > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > > let Excel know I'm trying to insert a "text string" where the
    > > sheetname/tab would normally be.
    > > Didn't work.
    > >
    > > Basically, I'm asking if there's a way to force a sheetname into a
    > > formula by making a reference to a cell with that sheetname in it?
    > >
    > > Or does anyone know a better workaround for what I'm trying to
    > > accomplish?
    > >
    > > Right now, I just manually go in and redo all the #REF's... no big deal
    > > but my curiosity has got the better of me.
    > >
    > > Thanks
    > >
    > >
    > > --
    > > hillmic
    > > ------------------------------------------------------------------------
    > > hillmic's Profile:

    > http://www.excelforum.com/member.php...o&userid=24651
    > > View this thread:

    http://www.excelforum.com/showthread...hreadid=382350
    > >

    >
    >




  35. #35
    Domenic
    Guest

    Re: Summing across multiple sheets with a twist

    In article <hillmic.1raiyq_1119884758.4295@excelforum-nospam.com>,
    hillmic <hillmic.1raiyq_1119884758.4295@excelforum-nospam.com> wrote:

    > I have no idea why... but it works! Thank you so much.
    >
    > I'm curious why the indirect text argument will work in sumproduct but
    > wouldn't work in sum.


    Good question! I wish I knew!

  36. #36
    Bob Phillips
    Guest

    Re: Summing across multiple sheets with a twist

    oops, seeing Domenic's answer reminds me that this method doesn't work
    across sheets, sorry about that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Bob Phillips" <bob.phillips@notheretiscali.co.uk> wrote in message
    news:OV3zy5peFHA.3040@TK2MSFTNGP14.phx.gbl...
    > Try
    >
    > =SUM(INDIRECT("'501:"&C3&"'!X7"))
    >
    > although this would suggest that all you need is the last sheet name in

    the
    > summary tab, not on each.
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "hillmic" <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote in
    > message news:hillmic.1r97qd_1119823506.5583@excelforum-nospam.com...
    > >
    > > Every week a new worksheet ("tab") is made by copying the prior week's
    > > tab and adding pertinent data for the week. Several of the cells in
    > > each "tab" are a summation across all prior worksheets/tabs, giving
    > > Year-To-Date totals. I figured out how to do this by clicking the
    > > leftmost "tab" and then shift-clicking the rightmost tab.
    > >
    > > My issue: I'd like for this to automatically happen when I create a
    > > new tab, but I get #REF's for all these references as soon as I make
    > > the copy.
    > >
    > > I've got an idea for a workaround, but I can't get it to work:
    > > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > > has "525" in it.
    > > 2) In the year-to-date summation cells which normally would have a
    > > formula like: =SUM('501:525'!X7)
    > > I've tried putting =SUM('501:C3'!X7).
    > > Didn't work.
    > > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > > let Excel know I'm trying to insert a "text string" where the
    > > sheetname/tab would normally be.
    > > Didn't work.
    > >
    > > Basically, I'm asking if there's a way to force a sheetname into a
    > > formula by making a reference to a cell with that sheetname in it?
    > >
    > > Or does anyone know a better workaround for what I'm trying to
    > > accomplish?
    > >
    > > Right now, I just manually go in and redo all the #REF's... no big deal
    > > but my curiosity has got the better of me.
    > >
    > > Thanks
    > >
    > >
    > > --
    > > hillmic
    > > ------------------------------------------------------------------------
    > > hillmic's Profile:

    > http://www.excelforum.com/member.php...o&userid=24651
    > > View this thread:

    http://www.excelforum.com/showthread...hreadid=382350
    > >

    >
    >




  37. #37
    Domenic
    Guest

    Re: Summing across multiple sheets with a twist

    Try...

    =SUMPRODUCT(N(INDIRECT("'"&ROW(INDIRECT("501:"&C3))&"'!X7")))

    Hope this helps!

    In article <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com>,
    hillmic <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote:

    > Every week a new worksheet ("tab") is made by copying the prior week's
    > tab and adding pertinent data for the week. Several of the cells in
    > each "tab" are a summation across all prior worksheets/tabs, giving
    > Year-To-Date totals. I figured out how to do this by clicking the
    > leftmost "tab" and then shift-clicking the rightmost tab.
    >
    > My issue: I'd like for this to automatically happen when I create a
    > new tab, but I get #REF's for all these references as soon as I make
    > the copy.
    >
    > I've got an idea for a workaround, but I can't get it to work:
    > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > has "525" in it.
    > 2) In the year-to-date summation cells which normally would have a
    > formula like: =SUM('501:525'!X7)
    > I've tried putting =SUM('501:C3'!X7).
    > Didn't work.
    > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > let Excel know I'm trying to insert a "text string" where the
    > sheetname/tab would normally be.
    > Didn't work.
    >
    > Basically, I'm asking if there's a way to force a sheetname into a
    > formula by making a reference to a cell with that sheetname in it?
    >
    > Or does anyone know a better workaround for what I'm trying to
    > accomplish?
    >
    > Right now, I just manually go in and redo all the #REF's... no big deal
    > but my curiosity has got the better of me.
    >
    > Thanks


  38. #38
    Bob Phillips
    Guest

    Re: Summing across multiple sheets with a twist

    Try

    =SUM(INDIRECT("'501:"&C3&"'!X7"))

    although this would suggest that all you need is the last sheet name in the
    summary tab, not on each.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "hillmic" <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote in
    message news:hillmic.1r97qd_1119823506.5583@excelforum-nospam.com...
    >
    > Every week a new worksheet ("tab") is made by copying the prior week's
    > tab and adding pertinent data for the week. Several of the cells in
    > each "tab" are a summation across all prior worksheets/tabs, giving
    > Year-To-Date totals. I figured out how to do this by clicking the
    > leftmost "tab" and then shift-clicking the rightmost tab.
    >
    > My issue: I'd like for this to automatically happen when I create a
    > new tab, but I get #REF's for all these references as soon as I make
    > the copy.
    >
    > I've got an idea for a workaround, but I can't get it to work:
    > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > has "525" in it.
    > 2) In the year-to-date summation cells which normally would have a
    > formula like: =SUM('501:525'!X7)
    > I've tried putting =SUM('501:C3'!X7).
    > Didn't work.
    > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > let Excel know I'm trying to insert a "text string" where the
    > sheetname/tab would normally be.
    > Didn't work.
    >
    > Basically, I'm asking if there's a way to force a sheetname into a
    > formula by making a reference to a cell with that sheetname in it?
    >
    > Or does anyone know a better workaround for what I'm trying to
    > accomplish?
    >
    > Right now, I just manually go in and redo all the #REF's... no big deal
    > but my curiosity has got the better of me.
    >
    > Thanks
    >
    >
    > --
    > hillmic
    > ------------------------------------------------------------------------
    > hillmic's Profile:

    http://www.excelforum.com/member.php...o&userid=24651
    > View this thread: http://www.excelforum.com/showthread...hreadid=382350
    >




  39. #39
    Domenic
    Guest

    Re: Summing across multiple sheets with a twist

    Try...

    =SUMPRODUCT(N(INDIRECT("'"&ROW(INDIRECT("501:"&C3))&"'!X7")))

    Hope this helps!

    In article <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com>,
    hillmic <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote:

    > Every week a new worksheet ("tab") is made by copying the prior week's
    > tab and adding pertinent data for the week. Several of the cells in
    > each "tab" are a summation across all prior worksheets/tabs, giving
    > Year-To-Date totals. I figured out how to do this by clicking the
    > leftmost "tab" and then shift-clicking the rightmost tab.
    >
    > My issue: I'd like for this to automatically happen when I create a
    > new tab, but I get #REF's for all these references as soon as I make
    > the copy.
    >
    > I've got an idea for a workaround, but I can't get it to work:
    > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > has "525" in it.
    > 2) In the year-to-date summation cells which normally would have a
    > formula like: =SUM('501:525'!X7)
    > I've tried putting =SUM('501:C3'!X7).
    > Didn't work.
    > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > let Excel know I'm trying to insert a "text string" where the
    > sheetname/tab would normally be.
    > Didn't work.
    >
    > Basically, I'm asking if there's a way to force a sheetname into a
    > formula by making a reference to a cell with that sheetname in it?
    >
    > Or does anyone know a better workaround for what I'm trying to
    > accomplish?
    >
    > Right now, I just manually go in and redo all the #REF's... no big deal
    > but my curiosity has got the better of me.
    >
    > Thanks


  40. #40
    Domenic
    Guest

    Re: Summing across multiple sheets with a twist

    In article <hillmic.1raiyq_1119884758.4295@excelforum-nospam.com>,
    hillmic <hillmic.1raiyq_1119884758.4295@excelforum-nospam.com> wrote:

    > I have no idea why... but it works! Thank you so much.
    >
    > I'm curious why the indirect text argument will work in sumproduct but
    > wouldn't work in sum.


    Good question! I wish I knew!

  41. #41
    Bob Phillips
    Guest

    Re: Summing across multiple sheets with a twist

    Try

    =SUM(INDIRECT("'501:"&C3&"'!X7"))

    although this would suggest that all you need is the last sheet name in the
    summary tab, not on each.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "hillmic" <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote in
    message news:hillmic.1r97qd_1119823506.5583@excelforum-nospam.com...
    >
    > Every week a new worksheet ("tab") is made by copying the prior week's
    > tab and adding pertinent data for the week. Several of the cells in
    > each "tab" are a summation across all prior worksheets/tabs, giving
    > Year-To-Date totals. I figured out how to do this by clicking the
    > leftmost "tab" and then shift-clicking the rightmost tab.
    >
    > My issue: I'd like for this to automatically happen when I create a
    > new tab, but I get #REF's for all these references as soon as I make
    > the copy.
    >
    > I've got an idea for a workaround, but I can't get it to work:
    > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > has "525" in it.
    > 2) In the year-to-date summation cells which normally would have a
    > formula like: =SUM('501:525'!X7)
    > I've tried putting =SUM('501:C3'!X7).
    > Didn't work.
    > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > let Excel know I'm trying to insert a "text string" where the
    > sheetname/tab would normally be.
    > Didn't work.
    >
    > Basically, I'm asking if there's a way to force a sheetname into a
    > formula by making a reference to a cell with that sheetname in it?
    >
    > Or does anyone know a better workaround for what I'm trying to
    > accomplish?
    >
    > Right now, I just manually go in and redo all the #REF's... no big deal
    > but my curiosity has got the better of me.
    >
    > Thanks
    >
    >
    > --
    > hillmic
    > ------------------------------------------------------------------------
    > hillmic's Profile:

    http://www.excelforum.com/member.php...o&userid=24651
    > View this thread: http://www.excelforum.com/showthread...hreadid=382350
    >




  42. #42
    Bob Phillips
    Guest

    Re: Summing across multiple sheets with a twist

    oops, seeing Domenic's answer reminds me that this method doesn't work
    across sheets, sorry about that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Bob Phillips" <bob.phillips@notheretiscali.co.uk> wrote in message
    news:OV3zy5peFHA.3040@TK2MSFTNGP14.phx.gbl...
    > Try
    >
    > =SUM(INDIRECT("'501:"&C3&"'!X7"))
    >
    > although this would suggest that all you need is the last sheet name in

    the
    > summary tab, not on each.
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "hillmic" <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote in
    > message news:hillmic.1r97qd_1119823506.5583@excelforum-nospam.com...
    > >
    > > Every week a new worksheet ("tab") is made by copying the prior week's
    > > tab and adding pertinent data for the week. Several of the cells in
    > > each "tab" are a summation across all prior worksheets/tabs, giving
    > > Year-To-Date totals. I figured out how to do this by clicking the
    > > leftmost "tab" and then shift-clicking the rightmost tab.
    > >
    > > My issue: I'd like for this to automatically happen when I create a
    > > new tab, but I get #REF's for all these references as soon as I make
    > > the copy.
    > >
    > > I've got an idea for a workaround, but I can't get it to work:
    > > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > > has "525" in it.
    > > 2) In the year-to-date summation cells which normally would have a
    > > formula like: =SUM('501:525'!X7)
    > > I've tried putting =SUM('501:C3'!X7).
    > > Didn't work.
    > > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > > let Excel know I'm trying to insert a "text string" where the
    > > sheetname/tab would normally be.
    > > Didn't work.
    > >
    > > Basically, I'm asking if there's a way to force a sheetname into a
    > > formula by making a reference to a cell with that sheetname in it?
    > >
    > > Or does anyone know a better workaround for what I'm trying to
    > > accomplish?
    > >
    > > Right now, I just manually go in and redo all the #REF's... no big deal
    > > but my curiosity has got the better of me.
    > >
    > > Thanks
    > >
    > >
    > > --
    > > hillmic
    > > ------------------------------------------------------------------------
    > > hillmic's Profile:

    > http://www.excelforum.com/member.php...o&userid=24651
    > > View this thread:

    http://www.excelforum.com/showthread...hreadid=382350
    > >

    >
    >




  43. #43
    Bob Phillips
    Guest

    Re: Summing across multiple sheets with a twist

    Try

    =SUM(INDIRECT("'501:"&C3&"'!X7"))

    although this would suggest that all you need is the last sheet name in the
    summary tab, not on each.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "hillmic" <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote in
    message news:hillmic.1r97qd_1119823506.5583@excelforum-nospam.com...
    >
    > Every week a new worksheet ("tab") is made by copying the prior week's
    > tab and adding pertinent data for the week. Several of the cells in
    > each "tab" are a summation across all prior worksheets/tabs, giving
    > Year-To-Date totals. I figured out how to do this by clicking the
    > leftmost "tab" and then shift-clicking the rightmost tab.
    >
    > My issue: I'd like for this to automatically happen when I create a
    > new tab, but I get #REF's for all these references as soon as I make
    > the copy.
    >
    > I've got an idea for a workaround, but I can't get it to work:
    > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > has "525" in it.
    > 2) In the year-to-date summation cells which normally would have a
    > formula like: =SUM('501:525'!X7)
    > I've tried putting =SUM('501:C3'!X7).
    > Didn't work.
    > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > let Excel know I'm trying to insert a "text string" where the
    > sheetname/tab would normally be.
    > Didn't work.
    >
    > Basically, I'm asking if there's a way to force a sheetname into a
    > formula by making a reference to a cell with that sheetname in it?
    >
    > Or does anyone know a better workaround for what I'm trying to
    > accomplish?
    >
    > Right now, I just manually go in and redo all the #REF's... no big deal
    > but my curiosity has got the better of me.
    >
    > Thanks
    >
    >
    > --
    > hillmic
    > ------------------------------------------------------------------------
    > hillmic's Profile:

    http://www.excelforum.com/member.php...o&userid=24651
    > View this thread: http://www.excelforum.com/showthread...hreadid=382350
    >




  44. #44
    Domenic
    Guest

    Re: Summing across multiple sheets with a twist

    Try...

    =SUMPRODUCT(N(INDIRECT("'"&ROW(INDIRECT("501:"&C3))&"'!X7")))

    Hope this helps!

    In article <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com>,
    hillmic <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote:

    > Every week a new worksheet ("tab") is made by copying the prior week's
    > tab and adding pertinent data for the week. Several of the cells in
    > each "tab" are a summation across all prior worksheets/tabs, giving
    > Year-To-Date totals. I figured out how to do this by clicking the
    > leftmost "tab" and then shift-clicking the rightmost tab.
    >
    > My issue: I'd like for this to automatically happen when I create a
    > new tab, but I get #REF's for all these references as soon as I make
    > the copy.
    >
    > I've got an idea for a workaround, but I can't get it to work:
    > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > has "525" in it.
    > 2) In the year-to-date summation cells which normally would have a
    > formula like: =SUM('501:525'!X7)
    > I've tried putting =SUM('501:C3'!X7).
    > Didn't work.
    > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > let Excel know I'm trying to insert a "text string" where the
    > sheetname/tab would normally be.
    > Didn't work.
    >
    > Basically, I'm asking if there's a way to force a sheetname into a
    > formula by making a reference to a cell with that sheetname in it?
    >
    > Or does anyone know a better workaround for what I'm trying to
    > accomplish?
    >
    > Right now, I just manually go in and redo all the #REF's... no big deal
    > but my curiosity has got the better of me.
    >
    > Thanks


  45. #45
    Bob Phillips
    Guest

    Re: Summing across multiple sheets with a twist

    oops, seeing Domenic's answer reminds me that this method doesn't work
    across sheets, sorry about that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Bob Phillips" <bob.phillips@notheretiscali.co.uk> wrote in message
    news:OV3zy5peFHA.3040@TK2MSFTNGP14.phx.gbl...
    > Try
    >
    > =SUM(INDIRECT("'501:"&C3&"'!X7"))
    >
    > although this would suggest that all you need is the last sheet name in

    the
    > summary tab, not on each.
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "hillmic" <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote in
    > message news:hillmic.1r97qd_1119823506.5583@excelforum-nospam.com...
    > >
    > > Every week a new worksheet ("tab") is made by copying the prior week's
    > > tab and adding pertinent data for the week. Several of the cells in
    > > each "tab" are a summation across all prior worksheets/tabs, giving
    > > Year-To-Date totals. I figured out how to do this by clicking the
    > > leftmost "tab" and then shift-clicking the rightmost tab.
    > >
    > > My issue: I'd like for this to automatically happen when I create a
    > > new tab, but I get #REF's for all these references as soon as I make
    > > the copy.
    > >
    > > I've got an idea for a workaround, but I can't get it to work:
    > > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > > has "525" in it.
    > > 2) In the year-to-date summation cells which normally would have a
    > > formula like: =SUM('501:525'!X7)
    > > I've tried putting =SUM('501:C3'!X7).
    > > Didn't work.
    > > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > > let Excel know I'm trying to insert a "text string" where the
    > > sheetname/tab would normally be.
    > > Didn't work.
    > >
    > > Basically, I'm asking if there's a way to force a sheetname into a
    > > formula by making a reference to a cell with that sheetname in it?
    > >
    > > Or does anyone know a better workaround for what I'm trying to
    > > accomplish?
    > >
    > > Right now, I just manually go in and redo all the #REF's... no big deal
    > > but my curiosity has got the better of me.
    > >
    > > Thanks
    > >
    > >
    > > --
    > > hillmic
    > > ------------------------------------------------------------------------
    > > hillmic's Profile:

    > http://www.excelforum.com/member.php...o&userid=24651
    > > View this thread:

    http://www.excelforum.com/showthread...hreadid=382350
    > >

    >
    >




  46. #46
    Domenic
    Guest

    Re: Summing across multiple sheets with a twist

    In article <hillmic.1raiyq_1119884758.4295@excelforum-nospam.com>,
    hillmic <hillmic.1raiyq_1119884758.4295@excelforum-nospam.com> wrote:

    > I have no idea why... but it works! Thank you so much.
    >
    > I'm curious why the indirect text argument will work in sumproduct but
    > wouldn't work in sum.


    Good question! I wish I knew!

  47. #47
    Bob Phillips
    Guest

    Re: Summing across multiple sheets with a twist

    Try

    =SUM(INDIRECT("'501:"&C3&"'!X7"))

    although this would suggest that all you need is the last sheet name in the
    summary tab, not on each.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "hillmic" <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote in
    message news:hillmic.1r97qd_1119823506.5583@excelforum-nospam.com...
    >
    > Every week a new worksheet ("tab") is made by copying the prior week's
    > tab and adding pertinent data for the week. Several of the cells in
    > each "tab" are a summation across all prior worksheets/tabs, giving
    > Year-To-Date totals. I figured out how to do this by clicking the
    > leftmost "tab" and then shift-clicking the rightmost tab.
    >
    > My issue: I'd like for this to automatically happen when I create a
    > new tab, but I get #REF's for all these references as soon as I make
    > the copy.
    >
    > I've got an idea for a workaround, but I can't get it to work:
    > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > has "525" in it.
    > 2) In the year-to-date summation cells which normally would have a
    > formula like: =SUM('501:525'!X7)
    > I've tried putting =SUM('501:C3'!X7).
    > Didn't work.
    > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > let Excel know I'm trying to insert a "text string" where the
    > sheetname/tab would normally be.
    > Didn't work.
    >
    > Basically, I'm asking if there's a way to force a sheetname into a
    > formula by making a reference to a cell with that sheetname in it?
    >
    > Or does anyone know a better workaround for what I'm trying to
    > accomplish?
    >
    > Right now, I just manually go in and redo all the #REF's... no big deal
    > but my curiosity has got the better of me.
    >
    > Thanks
    >
    >
    > --
    > hillmic
    > ------------------------------------------------------------------------
    > hillmic's Profile:

    http://www.excelforum.com/member.php...o&userid=24651
    > View this thread: http://www.excelforum.com/showthread...hreadid=382350
    >




  48. #48
    Domenic
    Guest

    Re: Summing across multiple sheets with a twist

    Try...

    =SUMPRODUCT(N(INDIRECT("'"&ROW(INDIRECT("501:"&C3))&"'!X7")))

    Hope this helps!

    In article <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com>,
    hillmic <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote:

    > Every week a new worksheet ("tab") is made by copying the prior week's
    > tab and adding pertinent data for the week. Several of the cells in
    > each "tab" are a summation across all prior worksheets/tabs, giving
    > Year-To-Date totals. I figured out how to do this by clicking the
    > leftmost "tab" and then shift-clicking the rightmost tab.
    >
    > My issue: I'd like for this to automatically happen when I create a
    > new tab, but I get #REF's for all these references as soon as I make
    > the copy.
    >
    > I've got an idea for a workaround, but I can't get it to work:
    > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > has "525" in it.
    > 2) In the year-to-date summation cells which normally would have a
    > formula like: =SUM('501:525'!X7)
    > I've tried putting =SUM('501:C3'!X7).
    > Didn't work.
    > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > let Excel know I'm trying to insert a "text string" where the
    > sheetname/tab would normally be.
    > Didn't work.
    >
    > Basically, I'm asking if there's a way to force a sheetname into a
    > formula by making a reference to a cell with that sheetname in it?
    >
    > Or does anyone know a better workaround for what I'm trying to
    > accomplish?
    >
    > Right now, I just manually go in and redo all the #REF's... no big deal
    > but my curiosity has got the better of me.
    >
    > Thanks


  49. #49
    Bob Phillips
    Guest

    Re: Summing across multiple sheets with a twist

    oops, seeing Domenic's answer reminds me that this method doesn't work
    across sheets, sorry about that.

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Bob Phillips" <bob.phillips@notheretiscali.co.uk> wrote in message
    news:OV3zy5peFHA.3040@TK2MSFTNGP14.phx.gbl...
    > Try
    >
    > =SUM(INDIRECT("'501:"&C3&"'!X7"))
    >
    > although this would suggest that all you need is the last sheet name in

    the
    > summary tab, not on each.
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "hillmic" <hillmic.1r97qd_1119823506.5583@excelforum-nospam.com> wrote in
    > message news:hillmic.1r97qd_1119823506.5583@excelforum-nospam.com...
    > >
    > > Every week a new worksheet ("tab") is made by copying the prior week's
    > > tab and adding pertinent data for the week. Several of the cells in
    > > each "tab" are a summation across all prior worksheets/tabs, giving
    > > Year-To-Date totals. I figured out how to do this by clicking the
    > > leftmost "tab" and then shift-clicking the rightmost tab.
    > >
    > > My issue: I'd like for this to automatically happen when I create a
    > > new tab, but I get #REF's for all these references as soon as I make
    > > the copy.
    > >
    > > I've got an idea for a workaround, but I can't get it to work:
    > > 1) Put a cell in each "tab" with the name of the "tab"... e.g. cell C3
    > > has "525" in it.
    > > 2) In the year-to-date summation cells which normally would have a
    > > formula like: =SUM('501:525'!X7)
    > > I've tried putting =SUM('501:C3'!X7).
    > > Didn't work.
    > > I've tried putting =SUM('501:"C3"'!X7) thinking maybe the quotes would
    > > let Excel know I'm trying to insert a "text string" where the
    > > sheetname/tab would normally be.
    > > Didn't work.
    > >
    > > Basically, I'm asking if there's a way to force a sheetname into a
    > > formula by making a reference to a cell with that sheetname in it?
    > >
    > > Or does anyone know a better workaround for what I'm trying to
    > > accomplish?
    > >
    > > Right now, I just manually go in and redo all the #REF's... no big deal
    > > but my curiosity has got the better of me.
    > >
    > > Thanks
    > >
    > >
    > > --
    > > hillmic
    > > ------------------------------------------------------------------------
    > > hillmic's Profile:

    > http://www.excelforum.com/member.php...o&userid=24651
    > > View this thread:

    http://www.excelforum.com/showthread...hreadid=382350
    > >

    >
    >




  50. #50
    Domenic
    Guest

    Re: Summing across multiple sheets with a twist

    In article <hillmic.1raiyq_1119884758.4295@excelforum-nospam.com>,
    hillmic <hillmic.1raiyq_1119884758.4295@excelforum-nospam.com> wrote:

    > I have no idea why... but it works! Thank you so much.
    >
    > I'm curious why the indirect text argument will work in sumproduct but
    > wouldn't work in sum.


    Good question! I wish I knew!

+ 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