Count entries in one month range using UK date format

keithobro

New Member
Joined
Aug 1, 2020
Messages
7
Office Version
  1. 2010
Platform
  1. Windows
I have a spreadsheet with a list of dates in columns. I need to count how many entries in a specific column fall within a specified month. The dates are in UK format (DD/MM/YY). What formula do I need to achieve this count and what if some of the fields do not contain numbers?
 

Attachments

  • Excel Forum Query image.JPG
    Excel Forum Query image.JPG
    119.2 KB · Views: 11

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
66,064
Office Version
  1. 365
Platform
  1. Windows
How about
Excel Formula:
=COUNTIFS(D4:D18,">="&DATE(2021,3,1),D4:D18,"<"&DATE(2021,4,1))
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
66,064
Office Version
  1. 365
Platform
  1. Windows
In that case make sure your dates are real dates & not text. Select col D and change the format to numbers, what do you see?
 

keithobro

New Member
Joined
Aug 1, 2020
Messages
7
Office Version
  1. 2010
Platform
  1. Windows

ADVERTISEMENT

In that case make sure your dates are real dates & not text. Select col D and change the format to numbers, what do you see?
I formatted those cells that were dates to dates and still zero.
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
66,064
Office Version
  1. 365
Platform
  1. Windows
Format the date cells to numbers & what do they look like?
 

keithobro

New Member
Joined
Aug 1, 2020
Messages
7
Office Version
  1. 2010
Platform
  1. Windows

ADVERTISEMENT

Format the date cells to numbers & what do they look like?
15/3/21
15/3/21
FTA
16/3/21
16/3/21
FTA
17/3/21
17/3/21
19/3/21
19/3/21
44290
44290
44321
44321
20/5/21
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
66,064
Office Version
  1. 365
Platform
  1. Windows
In that case most of them are text & not dates, you will need to convert them into real dates
 

Marcelo Branco

MrExcel MVP
Joined
Aug 23, 2010
Messages
16,913
Office Version
  1. 2019
  2. 2010
Platform
  1. Windows
To convert to real dates
Select the values
Data > Text to columns
Next
Next
In the 3rd step pick Date and select DMY
Finish

M.
 

Forum statistics

Threads
1,148,371
Messages
5,746,305
Members
424,006
Latest member
Metal_warrior

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