+ Reply to Thread
Results 1 to 6 of 6

summing a volitile number of cells

Hybrid View

Guest summing a volitile number of... 05-24-2006, 04:10 PM
Guest Re: summing a volitile number... 05-24-2006, 04:15 PM
Guest Re: summing a volitile number... 05-24-2006, 04:40 PM
Guest Re: summing a volitile number... 05-24-2006, 05:40 PM
Guest Re: summing a volitile number... 05-24-2006, 04:20 PM
Guest RE: summing a volitile number... 05-24-2006, 04:25 PM
  1. #1
    Shunt
    Guest

    summing a volitile number of cells

    I've got a row of numbers A2:K2. I want a formula that will sum from A2 to
    the number of cells I enter in A1.

    So if I enter "3" in cell A1, the formula will sum from A2 to C2.
    and if I enter "5" in cell A1, it will sum from A2 to E2.

    I've been fiddling around in R1C1 but not getting it to work...

  2. #2
    Chip Pearson
    Guest

    Re: summing a volitile number of cells

    Try

    =SUM(OFFSET(B2,0,1,1,A2))


    --
    Cordially,
    Chip Pearson
    Microsoft MVP - Excel
    Pearson Software Consulting, LLC
    www.cpearson.com


    "Shunt" <Shunt@discussions.microsoft.com> wrote in message
    news:73DCF1CD-F8C3-43F0-BE31-88EE780DE2F7@microsoft.com...
    > I've got a row of numbers A2:K2. I want a formula that will
    > sum from A2 to
    > the number of cells I enter in A1.
    >
    > So if I enter "3" in cell A1, the formula will sum from A2 to
    > C2.
    > and if I enter "5" in cell A1, it will sum from A2 to E2.
    >
    > I've been fiddling around in R1C1 but not getting it to work...




  3. #3
    Shunt
    Guest

    Re: summing a volitile number of cells

    Thanks Chip, I was cruising your web site when you for answers when you
    responded in person.
    THX

    "Chip Pearson" wrote:

    > Try
    >
    > =SUM(OFFSET(B2,0,1,1,A2))
    >
    >
    > --
    > Cordially,
    > Chip Pearson
    > Microsoft MVP - Excel
    > Pearson Software Consulting, LLC
    > www.cpearson.com
    >
    >
    > "Shunt" <Shunt@discussions.microsoft.com> wrote in message
    > news:73DCF1CD-F8C3-43F0-BE31-88EE780DE2F7@microsoft.com...
    > > I've got a row of numbers A2:K2. I want a formula that will
    > > sum from A2 to
    > > the number of cells I enter in A1.
    > >
    > > So if I enter "3" in cell A1, the formula will sum from A2 to
    > > C2.
    > > and if I enter "5" in cell A1, it will sum from A2 to E2.
    > >
    > > I've been fiddling around in R1C1 but not getting it to work...

    >
    >
    >


  4. #4
    Bob Phillips
    Guest

    Re: summing a volitile number of cells

    A non-volatile alternative for you

    =SUM(A2:INDEX(2:2,A1))

    --

    HTH

    Bob Phillips

    (remove nothere from the email address if mailing direct)

    "Shunt" <Shunt@discussions.microsoft.com> wrote in message
    news:4FDE99D8-1670-40D4-9B1F-305E82D4B420@microsoft.com...
    > Thanks Chip, I was cruising your web site when you for answers when you
    > responded in person.
    > THX
    >
    > "Chip Pearson" wrote:
    >
    > > Try
    > >
    > > =SUM(OFFSET(B2,0,1,1,A2))
    > >
    > >
    > > --
    > > Cordially,
    > > Chip Pearson
    > > Microsoft MVP - Excel
    > > Pearson Software Consulting, LLC
    > > www.cpearson.com
    > >
    > >
    > > "Shunt" <Shunt@discussions.microsoft.com> wrote in message
    > > news:73DCF1CD-F8C3-43F0-BE31-88EE780DE2F7@microsoft.com...
    > > > I've got a row of numbers A2:K2. I want a formula that will
    > > > sum from A2 to
    > > > the number of cells I enter in A1.
    > > >
    > > > So if I enter "3" in cell A1, the formula will sum from A2 to
    > > > C2.
    > > > and if I enter "5" in cell A1, it will sum from A2 to E2.
    > > >
    > > > I've been fiddling around in R1C1 but not getting it to work...

    > >
    > >
    > >




  5. #5
    Trevor Shuttleworth
    Guest

    Re: summing a volitile number of cells

    =SUM(OFFSET(A2,,,,A1))

    Regards

    Trevor


    "Shunt" <Shunt@discussions.microsoft.com> wrote in message
    news:73DCF1CD-F8C3-43F0-BE31-88EE780DE2F7@microsoft.com...
    > I've got a row of numbers A2:K2. I want a formula that will sum from A2
    > to
    > the number of cells I enter in A1.
    >
    > So if I enter "3" in cell A1, the formula will sum from A2 to C2.
    > and if I enter "5" in cell A1, it will sum from A2 to E2.
    >
    > I've been fiddling around in R1C1 but not getting it to work...




  6. #6
    Peo Sjoblom
    Guest

    RE: summing a volitile number of cells

    One way

    =SUM(A2:INDEX(A2:K2,A1))

    it's non volatile as opposed to OFFSET and INDIRECT

    Regards,

    Peo Sjoblom


    "Shunt" wrote:

    > I've got a row of numbers A2:K2. I want a formula that will sum from A2 to
    > the number of cells I enter in A1.
    >
    > So if I enter "3" in cell A1, the formula will sum from A2 to C2.
    > and if I enter "5" in cell A1, it will sum from A2 to E2.
    >
    > I've been fiddling around in R1C1 but not getting it to work...


+ 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