View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
AG
 
Posts: n/a
Default How do i make a sum formula ignore #div/0! errors in the range

Thx boss

"Aladin Akyurek" wrote:

=SUMIF(Y4:Y204,"<#DIV/0!")

shat wrote:
i have a colomn where each line has uses the formula
=IF(V4=0,SUM(E4/D4*X4),SUM(W4/V4*X4))
at the bottom i am trying to sum the answers
=sum(y4:y204) but some of the lines return #div/0! because there is no
data on that line.

?How do you tell the sum to exclude the #div/0! errors and sum the others to
get a total????

thanks in advance