Still getting a #DIV/0! error?

Allen_Mead

New Member
Joined
May 31, 2019
Messages
8
ok, so I have the following formula which should leave a blank cell
Excel Formula:
=IF(SUM(T11/$T$48)=0,"",(SUM(T11/$T$48)))

Problem is, cell on row T (not T48) is empty so I get the divide by 0 error. Frustrating!

Any help would be much appreciated. Thank you.

Correction, I get a #Value! error not a div/0 error. Still the same cell, in this instance cell T11 is blank
 
Last edited:

Some videos you may like

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

joeu2004

Well-known Member
Joined
Mar 2, 2014
Messages
2,842
Office Version
  1. 2010
Platform
  1. Windows
First, the use of SUM in this context is redundant and not useful.

Either of the following should avoid the #DIV/0 error:

=IF($T$48=0, "", T11/$T$48)
or
=IF(N($T$48)=0, "", T11/$T$48)
or
=IFERROR(T11,$T$48, "")

The latter two work when T48 appears blank, but it is actually the null string.

(But if T48 were the null string, the error would be #VALUE, not #DIV/0. Just covering all bases.)
 
Last edited:

Watch MrExcel Video

Forum statistics

Threads
1,114,188
Messages
5,546,463
Members
410,741
Latest member
Count25
Top