+ Reply to Thread
Results 1 to 5 of 5

MATCHING multiple values and SUMMING

  1. #1
    Forum Contributor
    Join Date
    11-01-2013
    Location
    Atlanta, GA USA
    MS-Off Ver
    Excel 2010
    Posts
    115

    MATCHING multiple values and SUMMING

    We have a table that records payment dates and amounts ... and it categorizes how the payment was made. See attached file to help understand the process.


    Column A records the payment date. Two or more payments can be recorded for the same date!!!

    Column B records the amount of payment.

    Column C records the method of payment (OL or LB or CC or CK).


    Here's what we need:

    On a given date (cell J4), we need to match any dates in Col A ... and we need to SUM all payments that match that date .... and the SUM needs to be based upon the method of payment (OL or LB ...) and values stored respectively in E4,F4,G4,H4 (or left blank if no date match).


    Any help would be appreciated (formula-based solutions please!!). Thank you very much!!
    Attached Files Attached Files

  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: MATCHING multiple values and SUMMING

    Hi

    Try in E4 and copy across.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    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
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: MATCHING multiple values and SUMMING

    since you have excel 2010 you should probably try to use sumifs
    =SUMIFS($B$4:$B$11,$A$4:$A$11,$J$4,$C$4:$C$11,E$3)
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Forum Contributor
    Join Date
    11-01-2013
    Location
    Atlanta, GA USA
    MS-Off Ver
    Excel 2010
    Posts
    115

    Re: MATCHING multiple values and SUMMING

    Thank you both for your solutions!! Both work equally well, but we may go with your solution Martin since you mentioned it may work better with Excel 2010.

    Really appreciate your help gentlemen!! Thank you very much!!

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: MATCHING multiple values and SUMMING

    sumifs is supposed to calculate more quickly than sumproduct but you probably wouldn't notice some more info here
    http://www.exceluser.com/formulas/tw...-databases.htm

+ 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. [SOLVED] Summing values matching same criteria on separate worksheets
    By Spritz in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 09-11-2013, 12:01 PM
  2. Replies: 0
    Last Post: 02-05-2013, 11:21 AM
  3. Summing Ranges in workbook based on matching values
    By scaffdog845 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-13-2011, 02:02 PM
  4. Summing of Matching Values for condition
    By bdb1974 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-10-2009, 05:48 PM
  5. Matching multiple columns, summing multiple results
    By DamienC in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-09-2008, 09:36 AM

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