countblank giving a #DIV/0!

reddirt

New Member
Joined
Apr 10, 2015
Messages
5
I'm fairly new to Excel so any help would be greatly appreciated. I'm trying to add a quantity for each day and then have it divide by the remaing blanks. Having it give me a daily quanity needed to stay on track with my monthly goal.

I have this placed in B86
=B85/countblank(B51:B81)

Once I enter the last quantity into B81 I get a #DIV/0! in B86
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Welcome to the board, that happen's cause when you enter a value in B81 you maybe don't have any more blanks from B51:B81 and you are dividing B85 by 0 resulting on a #DIV/0 error...
 
Upvote 0
Welcome to the board, that happen's cause when you enter a value in B81 you maybe don't have any more blanks from B51:B81 and you are dividing B85 by 0 resulting on a #DIV/0 error...

Is there a way to make it show 0 instead of #DIV/O
 
Upvote 0

Forum statistics

Threads
1,215,353
Messages
6,124,458
Members
449,161
Latest member
NHOJ

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