+ Reply to Thread
Results 1 to 4 of 4

Count Product codes by date and sum weight

Hybrid View

  1. #1
    Registered User
    Join Date
    05-08-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Count Product codes by date and sum weight

    Hi,

    I am looking at counting how many product codes are in a column by a set date, and then counting the weight of those products.

    I have a working formula here that will count product by date: =SUMPRODUCT((B8:B24=B3)*(D8:D24=B5)) Total= 6 (See attached image for spreadsheet)

    EXCEL.jpg

    I now need to sum the total weight of those selected 6 cartons (by above formula).

    Can anyone help me with this formula?


    Thanks
    Last edited by Matt_IT; 05-08-2012 at 10:19 PM.

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,366

    Re: Count Product codes by date and sum weight

    Welcome to the forum.
    you can include the column to get the sum

    =SUMPRODUCT((C8:C24)*(B8:B24=B3)*(D8:D24=B5))
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: Count Product codes by date and sum weight

    Hi Matt,

    It would help next time if you post a worksheet instead of a picture. I can't copy and paste a picture.

    Since you are using 2007

    Total >> =COUNTIFS($B$8:$B$20,$B$3,$D$8:$D$20,$B$5)
    Weight >> =SUMIFS($C$8:$C$20,$B$8:$B$20,$B$3,$D$8:$D$20,$B$5)
    HTH
    Regards, Jeff

  4. #4
    Registered User
    Join Date
    05-08-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Count Product codes by date and sum weight

    Hi,

    Sorry first time on here, will post excel sheet next time.
    Thanks for all your formulas, they all worked well.

+ 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