Hello,
I have a collum in which i wish to enter dates. I'm looking for sum that will only count the dates that are within the last 12 months from todays date.
Can anyone help?
Hello,
I have a collum in which i wish to enter dates. I'm looking for sum that will only count the dates that are within the last 12 months from todays date.
Can anyone help?
Last edited by butlej6; 06-05-2008 at 05:10 PM.
You could try
VBA Noob=SUMPRODUCT(--(A1:A26>=DATE(YEAR(TODAY())-1,MONTH(TODAY()),DAY(TODAY()))),--(A1:A26<=TODAY()))
_________________________________________
![]()
![]()
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
Thanks that seems to have done the job.
butlej6,
I suggest you read the forum rules about cross posting to.
Please confirm you have read and understand the rules
VBA Noob
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks