+ Reply to Thread
Results 1 to 2 of 2

Summing rows where the data is offset

  1. #1
    Registered User
    Join Date
    02-17-2011
    Location
    Waco, Tx
    MS-Off Ver
    Excel 2010
    Posts
    19

    Summing rows where the data is offset

    Hi,

    I'm not sure exactly how to make this work. I have several rows of data in the same sheet by Date, but the dates are offset. Here's an example plus I'm attaching this data in an XLSX file.

    AccountID,March 2010,April 2010,May 2010,June 2010,July 2010,August 2010
    ABC123 32 12 55 66 87 44

    AccountID,May 2010,June 2010,July 2010,August 2010
    ABC456 43 112 32 66

    AccountID,January 2010,February 2010,March 2010,April 2010,May 2010
    DEF543 44 23 87 99 32

    Total January 2010,February 2010,March 2010,April 2010,May 2010,June 2010,July 2010,August 2010
    44 23 119 111 130 178 119 110


    I'm sure the Offset function is what I need, but I can't find the right combination to make it work. Any suggestions? I'm also using Macros in the report (code not included in sample) so if there's a way to do this via a Macro I can do it there too.
    Thanks --

    Sam
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Summing rows where the data is offset

    Try:

    =SUMIF($B$1:$G$7,B12,$B$2:$G$8)

    copied across. (notice the offset in ranges.. but they remain same size)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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