+ Reply to Thread
Results 1 to 5 of 5

How do I run SUMIF formula only if certain criteria is met?

  1. #1
    Registered User
    Join Date
    09-07-2020
    Location
    Macao
    MS-Off Ver
    2019
    Posts
    10

    How do I run SUMIF formula only if certain criteria is met?

    I want to sum a answer in a area, if I enter a name in cell L35, can it match the name from the picture of E21:I35, then sum the number under the name and show it in cell M35? But there are formula in cell E21:I35.

    60.jpg

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: How do I run SUMIF formula only if certain criteria is met?

    Please try
    =sumifs(E23:I35,E22:I34,M36)

  3. #3
    Registered User
    Join Date
    09-07-2020
    Location
    Macao
    MS-Off Ver
    2019
    Posts
    10

    Re: How do I run SUMIF formula only if certain criteria is met?

    Thank you so much, it works, but I do not understand why did you put "E23:I35,E22:I34"?

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: How do I run SUMIF formula only if certain criteria is met?

    =sumifs(E23:I35,E22:I34,M36)
    can split into

    =sumifs(E23:I23,E22:I22,M36)
    +sumifs(E24:I24,E23:I23,M36)
    +…
    +sumifs(E34:I34,E33:I33,M36)
    +sumifs(E35:I35,E34:I34,M36)

  5. #5
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: How do I run SUMIF formula only if certain criteria is met?

    I think the answer to your question is that you are summing the cells below where the match is, hence the range is offset by a row

+ 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. Criteria of sumif formula
    By j_Southern in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-27-2019, 10:19 AM
  2. [SOLVED] Shorten SUMIF + SUMIF + SUMIF each with same reference range but different criteria???
    By HeyInKy in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-13-2014, 09:25 PM
  3. SUMIF or SUMIF's formula with multiple criteria
    By jackiemariee in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-30-2013, 06:19 PM
  4. [SOLVED] SUMIF :: I don't know how to add another criteria to the formula
    By nenadmail in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-10-2012, 11:55 AM
  5. [SOLVED] Formula in SUMIF Criteria
    By Zvity in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 04-06-2012, 05:22 AM
  6. Sumif formula with 2 criteria
    By integra in forum Excel General
    Replies: 3
    Last Post: 07-27-2009, 04:47 PM
  7. [SOLVED] SUMIF Formula w/ OR Criteria
    By SJT in forum Excel General
    Replies: 5
    Last Post: 08-04-2006, 12:05 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