How do I stop #DIV/0! when some of my values are zero?
one way
=if(n20=0,0,B20/N20)+if(o20=0,0,C20/O20)+if(p20=0,0,D20/P20)+if(q20=0,0,E20/Q20)+if(r20=0,0,F20/R20)+if(s20=0,0,G20/S20)+if(t20=0,0,H20/T20)+if(u20=0,0,I20/U20)+if(v20=0,0,J20/V20).
"japc90" wrote:
I wrote the following formula
=(B20/N20)+(C20/O20)+(D20/P20)+(E20/Q20)+(F20/R20)+(G20/S20)+(H20/T20)+(I20/U20)+(J20/V20).
The problem I am having is that if any of these cells have zeros or no
values in them then I receive #DIV/0! error message. All of these
fields will not always be filled in so I need it to ignore the
empty/zeroed out fields.
I appreciate any suggentions.
|