Countifs with isblank

davin1130

New Member
Joined
Mar 15, 2019
Messages
39
I'm trying to count all of the blank cells in column Q provided they fall within the date range of C1 to C2

Sheet 'Raw Data' column A are dates
Sheet 'Raw Data' column Q are times
C1=start date range
C2=end date range

I've tried the following, but i get an error of #Spill!

=IF(ISBLANK('Raw Data'!Q4:Q8000),COUNTIFS('Raw Data'!A4:A8000,">="&C1,'Raw Data'!A4:A8000,"<="&C2))
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
I think this is what you asking for Try this

Excel Formula:
=COUNTIFS('Raw Data'!!$A$4:$A$8000,">="&C1,'Raw Data'!$A$4:$A$8000,"<="&C2,'Raw Data'!$Q$4:$Q$8000,"")

Let me know
 
Upvote 0
I think this is what you asking for Try this

Excel Formula:
=COUNTIFS('Raw Data'!!$A$4:$A$8000,">="&C1,'Raw Data'!$A$4:$A$8000,"<="&C2,'Raw Data'!$Q$4:$Q$8000,"")

Let me know
Thank you for the help, however, i'm getting a count of zero and i know that it is incorrect.
 
Upvote 0
sorry I had an extra "!" in the formula try this:
Excel Formula:
COUNTIFS('Raw Data'!$A$4:$A$8000,">="&C1,'Raw Data'!$A$4:$A$8000,"<="&C2,'Raw Data'!$Q$4:$Q$8000,"")
 
Upvote 0
sorry I had an extra "!" in the formula try this:
Excel Formula:
COUNTIFS('Raw Data'!$A$4:$A$8000,">="&C1,'Raw Data'!$A$4:$A$8000,"<="&C2,'Raw Data'!$Q$4:$Q$8000,"")
I noticed the extra ! earlier ... Still getting zero results ... i looked through the data and there are 86 items that should be getting picked up with this search.
 
Upvote 0
WorkbookY.xlsm
ABC
1101/1/2022
21/15/2022
Sheet6
Cell Formulas
RangeFormula
A1A1=COUNTIFS('Raw Data'!$A$4:$A$8000,">="&C1,'Raw Data'!$A$4:$A$8000,"<="&C2,'Raw Data'!$Q$4:$Q$8000,"")


This is what I have. if you want please xl2bb what you have.
 
Upvote 0
Solution

Forum statistics

Threads
1,203,756
Messages
6,057,162
Members
444,909
Latest member
Shambles111

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