Thread: SUMIF or SUMIFS
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default SUMIF or SUMIFS

If you're using Excel 2007:

Inclusive of 1310 and 1369

=SUMIFS(C2:C12,A2:A12,"=1310",A2:A12,"<=1369")

Excluding 1310 and 1369:

=SUMIFS(C2:C12,A2:A12,"1310",A2:A12,"<1369")

--
Biff
Microsoft Excel MVP


"Jeff" wrote in message
...
Here is what I have


Col A Col B Col C
1310 3 3,463.00
1315 3 740
1330 3
1369 3 -178
1375 3 -105
1640 3 110
135 4
1310 4 1,460.00
1315 4 1,521.00
1375 4 -65
1310 6 3,284.96


I am trying to figure out a way to add column C to a new cell if
Column A is between 1310 and 1369.

Any suggestions??