Counting dates before the latest date in a range

STEVENS3010

Board Regular
Joined
Feb 4, 2020
Messages
87
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi all,

I have a spreadsheet where one of the columns contains a list of dates and I'm looking for a formula to count any dates more than one day prior.

For example... I have =today in cell a1 and it displays 28/03/2021 (today's date). In Column B I have a list of dates (example below) and I need a formula to count any dates more than one day prior i.e. anything before 27/03/2021. Is this possible?

Example List:
28/03/2021
01/03/2021
25/02/2021
16/02/2021
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Hi Stevens3010,

This should work:
Excel Formula:
=COUNTIF(B1:$B$9999,"<"&TODAY()-1)
 
Upvote 0
Hi Stevens3010,

This should work:
Excel Formula:
=COUNTIF(B1:$B$9999,"<"&TODAY()-1)
This is great, thank you. Do you know if it is possible to amend the forumla for working days? For example, I have a list of dates, but I wish to ignore anything from today and the previous working day, and then count everything else. Is this possible?
 
Upvote 0
How about
Excel Formula:
=COUNTIFS(B:B,"<"&WORKDAY(TODAY(),-1))
 
Upvote 0

Forum statistics

Threads
1,214,954
Messages
6,122,461
Members
449,085
Latest member
ExcelError

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