+ Reply to Thread
Results 1 to 4 of 4

Excel 2003 Help with sumproduct formula to sort by month and size

  1. #1
    Registered User
    Join Date
    06-22-2012
    Location
    New Brunswick, NJ
    MS-Off Ver
    Excel 2003
    Posts
    53

    Excel 2003 Help with sumproduct formula to sort by month and size

    I have some two initial data columns Column A has the date in 1-1-12 format. Column B has a drop down option in each column the user can select large or small. I then have more columns across the top with the months listed and below them I use this sumproduct formula (SUMPRODUCT(--(A2:A16538<>""),--(MONTH(A2:A16538)=1))) to have excel look at the date and sum the total amount of products shipped in that month. But I want to add to that formula so it will further breakdown the data by large or small size.

    I attached a sample excel sheet below so it is easier to see. I know I need to add or have another sum product formula that will look like =SUMPRODUCT(($A$2:$A$13=$E2)*($B$2:$B$13=G$9)). I just cannot seem to get it to cooperate. Yes, I know a pivot table may be easier but for the amount of data and updating I have a formula will work a lot easier. Thank you for any help you can provide!Excel_Forum_PP.xls

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Excel 2003 Help with sumproduct formula to sort by month and size

    Hi

    =SUMPRODUCT(($A$2:$A$20<>"")*(MONTH($A$2:$A$20)=G7)*($B$2:$B$20="Large"))

    And copy cross for LARGE. Same way for Small..
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    06-22-2012
    Location
    New Brunswick, NJ
    MS-Off Ver
    Excel 2003
    Posts
    53

    Re: Excel 2003 Help with sumproduct formula to sort by month and size

    Worked like a charm thank you!

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Excel 2003 Help with sumproduct formula to sort by month and size

    You are welcome!

    Pls, mark your thread, as Solved.

+ 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