Excel In dire need of Excel help!

Joined
Dec 18, 2013
Messages
2
Reaction score
0
Hello!
I am completely caught on some data I'm working on and am hoping someone can help me. I am trying to figure out a way to use IF and TODAY together in order to get the difference (in "m" format) between today's date and a whole column of other dates. Is this even possible? For instance, if A1 is 1/2/13, A2 is 2/2/13, A3 is 3/2/13. Is there a way to subtract them all at the same time using IF and TODAY() and get the answers in a single month format (i.e. 11, 10, 9?
Thank you for your help.
 
Joined
Mar 20, 2012
Messages
764
Reaction score
4
You want to use the DateDif formula as follows (you can put this in column D or wherever, next to the dates you want to compare to the current date):
Code:
=datedif(a1,today(),"m")

I am just doing this off the top of my head, let me know if it works for you!
 
Joined
Dec 18, 2013
Messages
2
Reaction score
0
Thanks, but I think I've got to use this: =IF(DAY(TODAY())>=DAY(A1),0,-1)+(YEAR(TODAY())-YEAR(A2)).
Thanks for your response!
 
Joined
Mar 20, 2012
Messages
764
Reaction score
4
So is that working for you then? I obviously didn't understand what you were going for.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top