IF then COUNTBLANK formula not working for me

manzier

Board Regular
Joined
Jul 21, 2014
Messages
96
Hi all

I'm trying to count the blank cells where the status is not closed using this formula

=IF(B2:B6,"<>Closed",COUNTBLANK(A2:A6))

However, I'm getting a #VALUE error. Any suggestions on why it wouldn't work? Thanks!

DataStatus
2Closed
2In Process
Closed
3Closed
Open
Open

<tbody>
</tbody>
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Momentman

Well-known Member
Joined
Jan 11, 2012
Messages
4,142
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Like this:


Excel 2010
ABCD
1DataStatus
22Closed2
32In Process
4Closed
53Closed
6Open
7Open
Sheet2
Cell Formulas
RangeFormula
D2=COUNTIFS(A2:A7,"",B2:B7,"<>"& "Closed")
 
Upvote 0

Forum statistics

Threads
1,191,579
Messages
5,987,428
Members
440,096
Latest member
yanaungmyint

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
Top