+ Reply to Thread
Results 1 to 4 of 4

SUM values when criteria matches more than one cell

  1. #1
    Forum Contributor ABSTRAKTUS's Avatar
    Join Date
    04-18-2010
    Location
    England
    MS-Off Ver
    Win10 Excel 2016
    Posts
    609

    SUM values when criteria matches more than one cell

    Hi all,

    This one will be really easy. There are 2 columns in a table:

    A B

    9-12-10 25
    9-12-10 36
    9-12-10 42
    9-12-10 14
    10-12-10 28
    10-12-10 44
    10-12-10 13
    11-12-10 22
    11-12-10 28
    11-12-10 36
    11-12-10 52

    How do I sum values for each day?

    Thanks a lot!
    Attached Files Attached Files

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

    Re: SUM values when criteria matches more than one cell

    in I4

    =SUMIF($C$4:$C$31, $H4,D$4:D$31) dragged right and down
    Does that help?
    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

  3. #3
    Forum Contributor ABSTRAKTUS's Avatar
    Join Date
    04-18-2010
    Location
    England
    MS-Off Ver
    Win10 Excel 2016
    Posts
    609

    Re: SUM values when criteria matches more than one cell

    Thanks. It works.
    But, this was part 1. Part 2:
    Now I need to calculate weekly results. Part 1 is daily report, Part 2 - weekly. How do I get round this?

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: SUM values when criteria matches more than one cell

    How are you going to set up your weekly reports; with monday's date? or 2 cells, start and end? Does it involve weekends at all or just Monday-Friday? If it does involve weekends, is it Sun - Sat or Sat - Fri?

+ 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