Count non-formula cells in range???

MarkReddell

Board Regular
Joined
Sep 1, 2011
Messages
210
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
Good evening fellow excelers,

Is there a way to write an XL formula that will count non-formulas in a range?

I know this is gotta be simple to do, but I just can’t seem to wrap my mind around how to do it after about half an hour to an hour of trying.

Thanks for any consideration to this issue that I’m trying to call.

Have a great evening everyone, and Merry Christmas to all!
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Try this,
=COUNTA(range) - COUNT(range)
 
Upvote 0
.. but I just can’t seem to wrap my mind around how to do it after about half an hour to an hour of trying.
What did you try?

The starting point would be ISFORMULA(). But this may need further refinement depending on exactly which cells you want to include?

AB
1
21
32
4#DIV/0!
54
6A
76
87
9#NAME?
10B
11
12 
13#N/A
14C
15D
16
17Non-formulae6
18
Sheet1
Cell Formulas
RangeFormula
B3,B8B3=B2+1
B4B4=1/0
B6B6="A"
B9B9=InvalidName
B10B10="B"
B12B12=""
B14B14="C"
B17B17=SUM(--NOT(ISFORMULA(rng)))
Named Ranges
NameRefers ToCells
rng=Sheet1!$B$2:$B$15B17, B3
 
Upvote 0

Forum statistics

Threads
1,215,077
Messages
6,122,992
Members
449,094
Latest member
masterms

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