Count with Blanks

d3stijl

New Member
Joined
Nov 25, 2014
Messages
5
I have a list of of numbers shown as percentages in A1:A25 within the list there are some blank cells.

I need to count the amount of numbers that are >= 7.50% but the blank cells seem to be counted as zeros and are causing problems.

Anyone help me out with the countif statement that will ignore any blanks?
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
I've worked it out.... I've copied the %'s into another column and changed the formatting to decimals. I've hidden the decimals to neaten it up and voila.

=COUNTIF(A1:A25,">=0.0500")

My percentages go to 2 decimal points so I've had to make the decimals go to 4 decimal points.

A bit scrappy but it works.
 
Upvote 0
Sorry I didn't see your post but that's the method I've went with....Thanks for getting in touch....I just thought there might of been a formula I could use to avoid doing all the extra leg work

Thanks again.
 
Upvote 0
Formatting makes no difference to a cell value. 0.05 is equal to 5%?
 
Upvote 0

Forum statistics

Threads
1,213,546
Messages
6,114,251
Members
448,556
Latest member
peterhess2002

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