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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel 2010 SUMIFS / #DIV/0! formula issue 1

Status
Not open for further replies.

ITALIAORIANA

Technical User
Apr 22, 2005
103
US
Hi,

I am having a problem with a SUMIFS formula and #DIV/0!.

This works fine but it returns #DIV/0! in some cells which I don't want to display.
=SUMIFS('CO Detail'!$D:$D,'CO Detail'!$C:$C, "=20: Assigned - For Estimate",'CO Detail'!$A:$A, B33)/D15

I tried to get the #DIV/0! cells to display a "-"
=IF(ISERROR(SUMIFS('CO Detail'!$D:$D,'CO Detail'!$C:$C,"=20: Assigned - For Estimate",'CO Detail'!$A:$A,H33)/J15),"-",SUMIFS('CO Detail'!$D:$D,'CO Detail'!$C:$C,"=20: Assigned - For Estimate",'CO Detail'!$A:$A,H33)/J15)

With adding the "ISERROR" it now displays a "-" in all cells instead of just the #DIV/0! ones. Any help would be greatly apprciated.

Thanks
Deana

 
=IF(D15<>0,SUMIFS('CO Detail'!$D:$D,'CO Detail'!$C:$C, "=20: Assigned - For Estimate",'CO Detail'!$A:$A, B33)/D15,"")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top