Using COUNTIF formula

ngelbke

New Member
Joined
Jul 22, 2012
Messages
10
I have an excel spreadsheet where I need to count the number of occurances where the date is over 3 days from current date. Is this possible? Or, do I have to put a < "current date" , and have to continually change it when I remove/add data?

Hope this makes sense! My first time posting on a forum.

Thanks,

Natalie
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
3 days greater that the current date or 3 days less than the current date?
 
Upvote 0
Sorry, my bad. 3 days less. Here's a formula I came up with in which pulls data with a date 3 days less than 07/21/2012. As I use this sheet as a template and add/remove data - I don't want to have to go in to each individual formula daily and change the 3+ date. Please see below. Let me know your thoughts:

=COUNTIFS('All Lates - Data'!$F$2:$F$491, "FL", 'All Lates - Data'!$J$2:$J$491, "<7/18/2012")
 
Upvote 0
Try

=COUNTIFS('All Lates - Data'!$F$2:$F$491, "FL", 'All Lates - Data'!$J$2:$J$491, "<" & TODAY()
 
Upvote 0
Sorry, that didn't seem to work.
Peter's formula is missing a closing parenthesis.

=COUNTIFS('All Lates - Data'!$F$2:$F$491,"FL",'All Lates - Data'!$J$2:$J$491,"<"&TODAY())

If that still doesn't work then how about posting some sample data and tell us what result you expect.
 
Upvote 0

Forum statistics

Threads
1,215,831
Messages
6,127,148
Members
449,364
Latest member
AlienSx

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