Thread: SUMIF or SUMIFS
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default SUMIF or SUMIFS

Hi,

Maybe

This one excludes 1310 & 1369
=SUMIF(A2:A12,"1310",C2:C12)-(SUMIF(A2:A12,"=1369",C2:C12))

This one includes those numbers
=SUMIF(A2:A12,"=1310",C2:C12)-(SUMIF(A2:A12,"1369",C2:C12))


Mike

"Jeff" wrote:

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??