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:

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

joeu2004

Banned user
Joined
Mar 2, 2014
Messages
3,080
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:
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,152,819
Messages
5,772,461
Members
425,760
Latest member
paphon

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
Top