+ 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
    13,582

    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)

Similar Threads

  1. VLOOKUP or SUMPRODUCT
    By PERE in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-26-2014, 12:37 PM
  2. Vlookup vs Sumproduct
    By DPD011 in forum Excel General
    Replies: 6
    Last Post: 07-22-2014, 02:52 PM
  3. [SOLVED] VLOOKUP and SUM or SUMPRODUCT
    By Zooka in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-07-2012, 02:51 PM
  4. Replies: 1
    Last Post: 05-19-2012, 02:54 AM
  5. Help with vlookup or sumproduct!
    By gwmartins in forum Excel General
    Replies: 2
    Last Post: 04-22-2009, 10:39 PM
  6. do i use vlookup or sumproduct???
    By Lazclark in forum Excel General
    Replies: 3
    Last Post: 06-28-2006, 05:30 AM
  7. help with sumproduct or vlookup
    By JR in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-25-2006, 08:30 PM

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