+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Sum if product name matches and date is between a range

  1. #1
    Forum Contributor
    Join Date
    03-24-2009
    Location
    London, UK
    MS-Off Ver
    Excel 2007
    Posts
    178

    Sum if product name matches and date is between a range

    Hi all,

    I have a problem writing a formula and hope if you could help me please (if it is even possible?!).

    I have a big list of products sold between dates and what I am wanting to create is a summary table on a new sheet. I need it to sum the number of specified products sold between two dates. Unfortunately this has to be done (if possible!) using a formula and not VBA. What I was thinking of is a sumifs formula and have:

    If my product name is in column A1, date from is in B1 and date till is in C1, the formula I currently have is as follows:

    =sumifs(itemssold,product,A1,Date,>=B1,Date,<=C1).

    I assume it won't work because I am trying to do a formula to find between dates?
    Could anyone help please? I am posting it in 2007 as I think the sumifs function is new and there may be some other new function I could use.

    Many thanks, it would be fantastic if we could get this working.
    Last edited by Jessica.Bush; 11-27-2010 at 08:04 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Sum if product name matches and date is between a range

    SUMIFS will be fine you just need to create your criteria strings appropriately

    Please Login or Register  to view this content.
    [assumes all ranges share the same dimensions]

  3. #3
    Forum Contributor
    Join Date
    03-24-2009
    Location
    London, UK
    MS-Off Ver
    Excel 2007
    Posts
    178

    Re: Sum if product name matches and date is between a range

    Works like a dream, thank you!!!

+ 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