Need to cells with no data but with a formula

JTL9161

Well-known Member
Joined
Aug 29, 2012
Messages
593
Office Version
  1. 365
Platform
  1. Windows
I know I've crossed this bridge before but cannot find anything on it.

I have a table 3 columns 50+ rows. Every cell has a formula has an IF statement in them which either returns data or blank ('")

Problem is if I use a COUNTIF to find the number of blank cells it comes up with "0" because a cell could be "blank" but it has a formula so its not blank.

How do I count how many blank cells that have no data but have a formula?


Thank You,
James
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Is this what you wanted?
Book1
ABCD
195.68#8895.6888
2  
399.84#14499.84144
463.71#99963.71999
599.84#14499.84144
644
Sheet1
Cell Formulas
RangeFormula
C1:C5C1=IFERROR(MID(A1,1,SEARCH("#",A1)-1),"")
D1:D5D1=IFERROR(MID(A1,SEARCH("#",A1)+1,100),"")
C6:D6C6=SUMPRODUCT(--(C1:C5<>""))
 
Upvote 0
Every cell has a formula has an IF statement in them which either returns data or blank ('")

How do I count how many blank cells that have no data but have a formula?
Like this in C11?

24 11 21.xlsm
C
1 
2a
3 
43.3
5 
644
7 
8xyz
9 
10 
116
Count
Cell Formulas
RangeFormula
C1:C10C1=IF(B1="","",B1)
C11C11=COUNTIF(C1:C10,"")
 
Upvote 0
You're welcome.
This formula would also return the same value
Excel Formula:
=COUNTBLANK(C1:C10)
 
Upvote 0

Forum statistics

Threads
1,224,813
Messages
6,181,118
Members
453,021
Latest member
Justyna P

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