Countif date less than or blank

Wishmaster89

Board Regular
Joined
Jan 10, 2022
Messages
77
Office Version
  1. 2021
  2. 2019
  3. 2016
Platform
  1. Windows
  2. MacOS
Hi All

I know how to do the date less than(10/12/2021) part but how do you add the if blank part please?

Book4
AB
1IDDate
2101/08/2020
3201/09/2020
4301/02/2021
5410/07/2023
6507/05/2024
7611/01/2019
87
98
109
1110
Sheet1
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Book1
ABCD
1IDDatecount if <10/12/2021 or blank
218/1/20208
329/1/20208
432/1/2021
547/10/2023
655/7/2024
761/11/2019
87
98
109
1110
Sheet1
Cell Formulas
RangeFormula
D2D2=COUNTIF(B2:B11,"<10/12/2021")+COUNTIF(B2:B11,"")
D3D3=COUNTIF(B2:B11,"<10/12/2021")+COUNTBLANK(B2:B11)
 
Upvote 0
Book1
ABCD
1IDDatecount if <10/12/2021 or blank
218/1/20208
329/1/20208
432/1/2021
547/10/2023
655/7/2024
761/11/2019
87
98
109
1110
Sheet1
Cell Formulas
RangeFormula
D2D2=COUNTIF(B2:B11,"<10/12/2021")+COUNTIF(B2:B11,"")
D3D3=COUNTIF(B2:B11,"<10/12/2021")+COUNTBLANK(B2:B11)
Thanks but i should have been clearer. The blanks bit needs to be for when the date is less than 10/12/2021, not just total number of blanks in column if that makes sense?
 
Upvote 0
This is a better example of what i mean. I need to count the blank cells in column C as well though and thats where i am stuck.

Not sure why the date format has changed..


Book1
ABCDE
1IDPlanned endPredicted exam dateCount of learners with planned end date before 13/03/2021
213/1/214/15/212
324/1/215/16/21
436/25/218/9/21
547/29/219/12/21
659/10/1910/25/19
763/13/214/27/21
8118/14/209/28/20
978/9/21
1081/10/20
1199/17/21
12102/13/20
Sheet1
Cell Formulas
RangeFormula
E2E2=COUNTIFS(B2:B12,"<13/03/2021",C2:C12,"<13/03/2021")
C2:C8C2=B2+45
 
Upvote 0
similar solution to what i put before, try this:
--------------------------
Book1
ABCDE
1IDPlanned endPredicted exam dateCount of learners with planned end date before 3/13/2021
213/1/20214/15/20214
324/1/20215/16/2021
436/25/20218/9/2021
547/29/20219/12/2021
659/10/201910/25/2019
763/13/20214/27/2021
8118/14/20209/28/2020
978/9/2021
1081/10/2020
1199/17/2021
12102/13/2020
Sheet1
Cell Formulas
RangeFormula
E2E2=COUNTIFS(B2:B12,"<3/13/2021",C2:C12,"<3/13/2021")+COUNTIFS(B2:B12,"<3/13/2021",C2:C12,"")
C2:C8C2=B2+45
 
Upvote 0
Solution

Forum statistics

Threads
1,215,429
Messages
6,124,841
Members
449,193
Latest member
MikeVol

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