LoveByPDF logo

LoveByPDF

EN

Conditions · SUMIF, SUMIFS

SUMIF and SUMIFS in Excel - add up with conditions

SUMIF adds the cells that meet one condition; SUMIFS adds with several conditions.

=SUMIFS(sum_range, criteria_range1, criteria1, ...)
Write it for my sheet

Examples

Type this in the Formula StudioFormula
“sum of D2 to D9 where C is Jaipur”=SUMIFS(D2:D9,C2:C9,"Jaipur")
“sum of C4:AG4 above 50”=SUMIF(C4:AG4,">50")

Tips

  • In the studio you can also name columns: "total sales for Jaipur excluding cancelled".

People also search for

  • sumifs formula in excel with example
  • sumif formula in excel
  • sumifs formula in excel
  • difference between sumif and sumifs
  • sumif with multiple criteria
  • sumifs with date range
  • sumif greater than
  • sumifs not equal to
  • sumif formula in excel in hindi
  • conditional sum in excel

FAQ

What is the difference between SUMIF and SUMIFS?

SUMIF takes one condition: =SUMIF(range,criteria,[sum_range]). SUMIFS takes many, and the sum range comes first: =SUMIFS(sum_range,range1,crit1,...).

How do I use SUMIFS with a date range?

Use two conditions on the date column: =SUMIFS(D2:D99,A2:A99,">="&G1,A2:A99,"<="&G2), with the start date in G1 and end date in G2.

Can LoveByPDF write this formula for me?

Yes. Open your Excel file in the Excel Agent's Formula Studio, click a cell and type what you need - e.g. "sum of D2 to D9 where C is Jaipur" - you get the formula, a preview on your sheet and an explanation, then insert it.

Related formulas