I am trying to add two cells together.
If one of the cell has an error (#value) how would i get the formula to attribute a 0 value to this cell.
Thanks
I am trying to add two cells together.
If one of the cell has an error (#value) how would i get the formula to attribute a 0 value to this cell.
Thanks
Hello
One way is the Sumif function, for example:
Hope this helps.![]()
=SUMIF(A2:A3,"<>#VALUE!",A2:A3)
DBY
One way...
=IF(COUNT(A1),A1)+IF(COUNT(A10),A10)
If the cells are adjacent to each other:
=SUMIF(A1:A2,"<1E100")
Biff
Microsoft MVP Excel
Keep It Simple Stupid
Let's Go Pens. We Want The Cup.
Just to add a note to my first post. As Tony shows the final range in Sumif is optional, so:
DBY![]()
=SUMIF(A2:A3,"<>#VALUE!")
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks