+ Reply to Thread
Results 1 to 2 of 2

Which function to sum based on criteria

  1. #1
    Registered User
    Join Date
    10-14-2015
    Location
    Romania
    MS-Off Ver
    MS Office 2010
    Posts
    1

    Which function to sum based on criteria

    Hello,

    I have a table with 2 Sheets.

    In Sheet1 I have following:
    WEEK DATA ID-NO. PCS. (NO.)
    2 05.01.15 AA 20
    2 05.01.15 AB 23
    TOTAL PCS WK2 = 43
    3 12.01.15 AA 30
    3 12.01.15 AC 31
    TOTAL PCS WK3 = 30
    4 17.01.15 AA 20
    TOTAL PCS WK4 = 20

    In Sheet2 I want to SUM for example all PCS NO. for ID-NO. A.
    ID NO. SUM PCS. (NO)
    AA =...
    AB =...

    All data from Sheet1.

    How can I do this? I tried with VLOOKUP but nothing, also with MATCH, INDEX, SUMPRODUCT...

    Please help me! Thank you!
    Last edited by JBeaucaire; 10-16-2015 at 03:38 AM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    12,511

    Re: Sumproduct and vlookup

    I would use a pivot table. That is the simplest solution.
    See attached.
    Attached Files Attached Files
    ChemistB
    My 2

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ 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