+ Reply to Thread
Results 1 to 4 of 4

Adding sales values that correspond to the same year & month

  1. #1
    Registered User
    Join Date
    01-07-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    13

    Adding sales values that correspond to the same year & month

    Hi,

    I was wondering if anybody know how to add a formula that can add sales values that correspond to the same year (for example 2010) and the same month (for example "5" representing May). I have column A for sales, B for year and C for month number.

    Thanks.

  2. #2
    Forum Contributor bentleybob's Avatar
    Join Date
    02-27-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    644

    Re: Adding sales values that correspond to the same year & month

    I would add a column (that you can hide later) that translates your month and year into a date (using the DATE function).Then you can use SUMIF to add anything in that month/year. Alternatively, your "helper" column could concatenate the month and year into mm-yy and then you can use SUMIF on that. Please let me know if you need help with either approach or, if this doesn't meet your needs, please explain what's missing.

  3. #3
    Registered User
    Join Date
    01-07-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: Adding sales values that correspond to the same year & month

    Quote Originally Posted by bentleybob View Post
    I would add a column (that you can hide later) that translates your month and year into a date (using the DATE function).Then you can use SUMIF to add anything in that month/year. Alternatively, your "helper" column could concatenate the month and year into mm-yy and then you can use SUMIF on that. Please let me know if you need help with either approach or, if this doesn't meet your needs, please explain what's missing.
    Hi,

    Sorry, the solution you proposed will increase the steps I need to take to calculate things.
    Is there a formula that can add sales values (column A) that correspond to the same year (column B) and the same month (column C) ?

    Regards.

  4. #4
    Forum Contributor bentleybob's Avatar
    Join Date
    02-27-2009
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2010
    Posts
    644

    Re: Adding sales values that correspond to the same year & month

    Excel 2007 has SUMIFS, which would work, but I can't recall if 2003 does. Besides, onece you set up your helper column, you never have to mess with it again (it can easily be designed to ignore blank lines, so you can add data and the new lines will work automatically).
    Last edited by bentleybob; 03-03-2011 at 09:19 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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