Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

EXCEL Question - Total negitive values ONLY

Status
Not open for further replies.

tekjock

Technical User
Nov 15, 2002
23
0
0
US
I have a sheet that has 7 cells I want to total. But only total them when they are negitive values. for example, If the 7 cells are "1,0,-1,2,-2,3,-1" I want it to come back and give a positive result of 4 (only totaling the -1,-2,-1). is this possible.
thanks
Tekjock
 
Have a SUMIF and negate the answer:
Code:
=-SUMIF(myrange,"<0")

replacing myrange with whatever range is required to be summed.

Cheers, Glenn.

Did you hear about the literalist show-jumper? He broke his nose jumping against the clock.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top