HOW TO COUNT HOW MANY BLANKS and NON BLANKS I HAVE IN MONTH

AYSHANA

Board Regular
Joined
Oct 16, 2021
Messages
90
Office Version
  1. 2019
  2. 2013
Platform
  1. Windows
good day

im trying to count how many blanks and non blanks i have per month

Book1
ABCDEFG
1UNIT ALLOCATED IN SYSTEMUNIT ISSUED IN SYSTEM2023
215-02-23 9:50WITHOUT BLANKWITH BLANK01-01-2301-02-23
315-02-23 14:440031-01-23 23:5928-02-23 23:59
415-02-23 14:4415-02-23 15:41
514-02-23 17:3814-02-23 18:16
616-02-23 10:5616-02-23 11:00
715-02-23 23:5116-02-23 0:02
817-02-23 8:5817-02-23 9:06
919-02-23 9:4019-02-23 13:24
1019-02-23 9:40
1119-02-23 5:56
1218-02-23 19:44
Sheet1
Cell Formulas
RangeFormula
F2F2=DATE($E$1,ROWS($F$2:$F$2),ROWS($F$2:$F$2))
G2G2=DATE($E$1,ROWS($F$2:$F3),ROWS($F$2:$F$2))
F3:G3F3=EOMONTH(F2,0)+"23:59"
C3:D3C3=IF($F$2<=TODAY(),COUNTIFS(B2:B12,">="&$U$2,B2:B12,"<"&$F$3,B2:B12,""),"")
 
And with SUMPRODUCT you may not need to enter the formula by pressing CTRL+SHIFT+ENTER.

and for accuracy, change this *(--(B2:B12>0))) in cell C3 to *(--($B$2:$B$12>0)))
 
Upvote 0

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
And with SUMPRODUCT you may not need to enter the formula by pressing CTRL+SHIFT+ENTER.

and for accuracy, change this *(--(B2:B12>0))) in cell C3 to *(--($B$2:$B$12>0)))
thank you its working now
can i ask you another question?
 
Upvote 0

Forum statistics

Threads
1,214,630
Messages
6,120,634
Members
448,973
Latest member
ChristineC

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