Help with date (today) formula

dkballs

New Member
Joined
May 3, 2011
Messages
20
Hi, Please help. I have a spreadsheet and I need a cell that displays how many dates in a given column are greater than (younger) todays date.

I have tried =COUNTIF(A2:A7,">today()")

but the value is always 0.

If i replace today() with a date e.g 03/05/2011 the formula shows the correct quantity of cells in excess of the 03/05/2011. I need the formula to autoupdate with todays date though as it will be a working spreadsheet.

Help please!! :(
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Welcome to the forums!

Try:

=COUNTIF(A2:A7,">"&today())
 
Upvote 0
Welcome to the board. Note the position of the quote marks.
=COUNTIF(A2:A7,">"&TODAY())
 
Upvote 0
Unbelieveable. That's taken up 2 hours of messing about on google and you have resolved it in under 3 minutes.

Thankyou so much:)
 
Upvote 0

Forum statistics

Threads
1,224,514
Messages
6,179,223
Members
452,896
Latest member
IGT

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