Help removing DIV/0 errors when data isn't populated yet!

Silvermax2k2

New Member
Joined
Sep 15, 2009
Messages
18
Hey all!

So I have a very large excel book that pulls data from several different places. Since this book encompasses data for the entire year, a lot of my formulas are producing DIV/0 errors. These errors, while valid, are rather unsightly. I was reading that there is a way to have the cell be blank, but I am not entirely understanding how to do it. The two main formulas that are throwing DIV errors are:

=AVERAGE(C8:F8)

And

=l58
(I pull a lot of data from other pages - I have literally hundreds of DIV errors due to the =cell formula!)

Thanks so much for the help in advance!
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Try

if(iserror(AVERAGE(C8:F8)),0,AVERAGE(C8:F8)) in 2003 or the iferror in 2007-2010

George


Hey all!

So I have a very large excel book that pulls data from several different places. Since this book encompasses data for the entire year, a lot of my formulas are producing DIV/0 errors. These errors, while valid, are rather unsightly. I was reading that there is a way to have the cell be blank, but I am not entirely understanding how to do it. The two main formulas that are throwing DIV errors are:

=AVERAGE(C8:F8)

And

=l58
(I pull a lot of data from other pages - I have literally hundreds of DIV errors due to the =cell formula!)

Thanks so much for the help in advance!
 
Upvote 0
That worked, but it is giving me a zero, which will throw off my averages. Do you know of a way to just make the cell blank, or for it to show "NA"? thanks again!!


Try

if(iserror(AVERAGE(C8:F8)),0,AVERAGE(C8:F8)) in 2003 or the iferror in 2007-2010

George
 
Upvote 0
Replace 0 with double quotes ""

That worked, but it is giving me a zero, which will throw off my averages. Do you know of a way to just make the cell blank, or for it to show "NA"? thanks again!!
 
Upvote 0
Hey all!

So I have a very large excel book that pulls data from several different places. Since this book encompasses data for the entire year, a lot of my formulas are producing DIV/0 errors. These errors, while valid, are rather unsightly. I was reading that there is a way to have the cell be blank, but I am not entirely understanding how to do it. The two main formulas that are throwing DIV errors are:

=AVERAGE(C8:F8)

And

=l58
(I pull a lot of data from other pages - I have literally hundreds of DIV errors due to the =cell formula!)

Thanks so much for the help in advance!

Something like:

=IF(COUNT(C8:F8),AVERAGE(C8:F8),"")

=IF(ISNUMBER(I58),I58,"")
 
Upvote 0
Excel Workbook
G
2125
320
432
50
60
715
820
914
1037.66667
Sheet1
Excel 2010
Cell Formulas
RangeFormula
G10=SUM(G2:G9)/COUNTIF(G2:G9,">0")
 
Upvote 0
Ok, so one more question!

Is there a way I can get a "running average" for the year, even if all the data is not populated yet, and the cells are showing div/0? (They are no longer showing the div/o due to the help you gave, but I'm assuming they are just "hidden")

thanks again, you guys rock!
 
Upvote 0

Forum statistics

Threads
1,224,503
Messages
6,179,135
Members
452,890
Latest member
Nikhil Ramesh

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