Still getting a #DIV/0! error?

Allen_Mead

New Member
Joined
May 31, 2019
Messages
36
Office Version
  1. 365
Platform
  1. Windows
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:

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
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:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top