Counting number of cells with formula returning a value OR a #DIV/0 error?

povictory

New Member
Joined
May 28, 2015
Messages
45
I have a range of cells with IF formulas that will either return a value based on other cell inputs or will remain blank. I'm trying to figure out how to count the number of cells in the range that either are returning a value *OR* are returning a #DIV/0 error. The blank cells should be ignored and not included in the count.

I've done some testing and searching around for a solution but I'm not having luck. I can easily count cells that return a value or cells that return a #DIV/0 error, but I'm having trouble figuring out a formula that will count both and return the total number of values and #DIV/0 errors at the same time.

Any advice or suggestions to try would be greatly appreciated!
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Forum statistics

Threads
1,224,875
Messages
6,181,516
Members
453,050
Latest member
Obil

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