Help with formula... #DIV/o!

Mykro

Active Member
Joined
Oct 17, 2002
Messages
337
I could use some help with following formula... My attempts to hide the divide by zero error #DIV/o! have failed...

=IF($B$4<=0,"",AVERAGE(L6:L90))


Thanks...
 

Some videos you may like

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

shg

MrExcel MVP
Joined
May 7, 2008
Messages
21,779
Office Version
  1. 2010
Platform
  1. Windows
=iferror(AVERAGE(L6:L90), "")
 

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
What is the relationship between B4 and L6:L90? If there isn't a relationship, your test that B4 is less than or equal to zero is irrelevant.
 

Mykro

Active Member
Joined
Oct 17, 2002
Messages
337

ADVERTISEMENT

=iferror(AVERAGE(L6:L90), "")

I'm using office 2003 for this spread sheet.. IFERROR needs to be ISERROR...

Thanks...
 

shg

MrExcel MVP
Joined
May 7, 2008
Messages
21,779
Office Version
  1. 2010
Platform
  1. Windows
=if(iserror(AVERAGE(L6:L90)), "", AVERAGE(L6:L90))
 

Watch MrExcel Video

Forum statistics

Threads
1,122,606
Messages
5,597,134
Members
414,128
Latest member
Jorglo

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