Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Number of Months Between Two Dates Entered

Hello. I have a spreadsheet that has two cells -- Cell One is always today's
date using formula =Today(). The second cell is a date in the past. How can
I calculate the number of months that have passed (rounded up) from the past
date until today's date? I am hoping to see a number like "7" or "9" and not
days.

Thanks for your help!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Number of Months Between Two Dates Entered

Use DATEDIF function..
A1 = Start Date
B1 = End Date

=DATEDIF(A1,B1,"m")

If this post helps click Yes
---------------
Jacob Skaria


"Rob" wrote:

Hello. I have a spreadsheet that has two cells -- Cell One is always today's
date using formula =Today(). The second cell is a date in the past. How can
I calculate the number of months that have passed (rounded up) from the past
date until today's date? I am hoping to see a number like "7" or "9" and not
days.

Thanks for your help!

  #3   Report Post  
Posted to microsoft.public.excel.misc
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Number of Months Between Two Dates Entered

Hello,

Thank you for the reply. I can't seem to get the formula to work correctly.

Today's Date is 4/20/09
Start Date is 11/01/08

I was hoping to get the answer of 6 (for 6 months with April being rounded
up).

Any ideas?

Thanks again for your help!

Best Regards,

Rob

"Rob" wrote:

Hello. I have a spreadsheet that has two cells -- Cell One is always today's
date using formula =Today(). The second cell is a date in the past. How can
I calculate the number of months that have passed (rounded up) from the past
date until today's date? I am hoping to see a number like "7" or "9" and not
days.

Thanks for your help!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Number of Months Between Two Dates Entered

A1 = 11/1/2008
B1 = 4/20/2009

=DATEDIF(A1,B1,"M") will return 5

If this post helps click Yes
---------------
Jacob Skaria


"Rob" wrote:

Hello,

Thank you for the reply. I can't seem to get the formula to work correctly.

Today's Date is 4/20/09
Start Date is 11/01/08

I was hoping to get the answer of 6 (for 6 months with April being rounded
up).

Any ideas?

Thanks again for your help!

Best Regards,

Rob

"Rob" wrote:

Hello. I have a spreadsheet that has two cells -- Cell One is always today's
date using formula =Today(). The second cell is a date in the past. How can
I calculate the number of months that have passed (rounded up) from the past
date until today's date? I am hoping to see a number like "7" or "9" and not
days.

Thanks for your help!

  #5   Report Post  
Posted to microsoft.public.excel.misc
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Number of Months Between Two Dates Entered

Jacob,

Thank you so much for the reply. For some reason I am getting a number of
1311. Oddly, this is the number of months between 11/1/1900 and today.

My date range clearly reads 11/1/2008, my computer is XP and my excel is
excel 2008.

Do you have any ideas why my dates would be defaulting to 1900?

Thanks again for your reply.

"Jacob Skaria" wrote:

A1 = 11/1/2008
B1 = 4/20/2009

=DATEDIF(A1,B1,"M") will return 5

If this post helps click Yes
---------------
Jacob Skaria


"Rob" wrote:

Hello,

Thank you for the reply. I can't seem to get the formula to work correctly.

Today's Date is 4/20/09
Start Date is 11/01/08

I was hoping to get the answer of 6 (for 6 months with April being rounded
up).

Any ideas?

Thanks again for your help!

Best Regards,

Rob

"Rob" wrote:

Hello. I have a spreadsheet that has two cells -- Cell One is always today's
date using formula =Today(). The second cell is a date in the past. How can
I calculate the number of months that have passed (rounded up) from the past
date until today's date? I am hoping to see a number like "7" or "9" and not
days.

Thanks for your help!



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Number of Months Between Two Dates Entered

Did you try formatting the cell to the date format..
--
If this post helps click Yes
---------------
Jacob Skaria


"Rob" wrote:

Jacob,

Thank you so much for the reply. For some reason I am getting a number of
1311. Oddly, this is the number of months between 11/1/1900 and today.

My date range clearly reads 11/1/2008, my computer is XP and my excel is
excel 2008.

Do you have any ideas why my dates would be defaulting to 1900?

Thanks again for your reply.

"Jacob Skaria" wrote:

A1 = 11/1/2008
B1 = 4/20/2009

=DATEDIF(A1,B1,"M") will return 5

If this post helps click Yes
---------------
Jacob Skaria


"Rob" wrote:

Hello,

Thank you for the reply. I can't seem to get the formula to work correctly.

Today's Date is 4/20/09
Start Date is 11/01/08

I was hoping to get the answer of 6 (for 6 months with April being rounded
up).

Any ideas?

Thanks again for your help!

Best Regards,

Rob

"Rob" wrote:

Hello. I have a spreadsheet that has two cells -- Cell One is always today's
date using formula =Today(). The second cell is a date in the past. How can
I calculate the number of months that have passed (rounded up) from the past
date until today's date? I am hoping to see a number like "7" or "9" and not
days.

Thanks for your help!

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Number of Months Between Two Dates Entered

I don't think we know much about Excel 2008. That is presumably a Mac
version?

If you format A1 temporarily as General, what number do you see? Should be
39753 if using 1900 date system. Macs normally default to the 1904 system,
but your results imply the 1900 system.

I assume that if you are struggling with Jacob's formula, you haven't tried
my version which rounds *up* as you requested?
--
David Biddulph

"Rob" wrote in message
...
Jacob,

Thank you so much for the reply. For some reason I am getting a number of
1311. Oddly, this is the number of months between 11/1/1900 and today.

My date range clearly reads 11/1/2008, my computer is XP and my excel is
excel 2008.

Do you have any ideas why my dates would be defaulting to 1900?

Thanks again for your reply.

"Jacob Skaria" wrote:

A1 = 11/1/2008
B1 = 4/20/2009

=DATEDIF(A1,B1,"M") will return 5

If this post helps click Yes
---------------
Jacob Skaria


"Rob" wrote:

Hello,

Thank you for the reply. I can't seem to get the formula to work
correctly.

Today's Date is 4/20/09
Start Date is 11/01/08

I was hoping to get the answer of 6 (for 6 months with April being
rounded
up).

Any ideas?

Thanks again for your help!

Best Regards,

Rob

"Rob" wrote:

Hello. I have a spreadsheet that has two cells -- Cell One is always
today's
date using formula =Today(). The second cell is a date in the past.
How can
I calculate the number of months that have passed (rounded up) from
the past
date until today's date? I am hoping to see a number like "7" or "9"
and not
days.

Thanks for your help!



  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Number of Months Between Two Dates Entered

The OP asked for rounded UP.
--
David Biddulph

"Jacob Skaria" wrote in message
...
A1 = 11/1/2008
B1 = 4/20/2009

=DATEDIF(A1,B1,"M") will return 5

If this post helps click Yes
---------------
Jacob Skaria


"Rob" wrote:

Hello,

Thank you for the reply. I can't seem to get the formula to work
correctly.

Today's Date is 4/20/09
Start Date is 11/01/08

I was hoping to get the answer of 6 (for 6 months with April being
rounded
up).

Any ideas?

Thanks again for your help!

Best Regards,

Rob

"Rob" wrote:

Hello. I have a spreadsheet that has two cells -- Cell One is always
today's
date using formula =Today(). The second cell is a date in the past.
How can
I calculate the number of months that have passed (rounded up) from the
past
date until today's date? I am hoping to see a number like "7" or "9"
and not
days.

Thanks for your help!



  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Number of Months Between Two Dates Entered

=DATEDIF(A1,TODAY(),"M")

If this post helps click Yes
---------------
Jacob Skaria


"Rob" wrote:

Hello,

Thank you for the reply. I can't seem to get the formula to work correctly.

Today's Date is 4/20/09
Start Date is 11/01/08

I was hoping to get the answer of 6 (for 6 months with April being rounded
up).

Any ideas?

Thanks again for your help!

Best Regards,

Rob

"Rob" wrote:

Hello. I have a spreadsheet that has two cells -- Cell One is always today's
date using formula =Today(). The second cell is a date in the past. How can
I calculate the number of months that have passed (rounded up) from the past
date until today's date? I am hoping to see a number like "7" or "9" and not
days.

Thanks for your help!

  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Number of Months Between Two Dates Entered

The OP asked for rounded UP.
--
David Biddulph

"Jacob Skaria" wrote in message
...
=DATEDIF(A1,TODAY(),"M")

If this post helps click Yes
---------------
Jacob Skaria


"Rob" wrote:

Hello,

Thank you for the reply. I can't seem to get the formula to work
correctly.

Today's Date is 4/20/09
Start Date is 11/01/08

I was hoping to get the answer of 6 (for 6 months with April being
rounded
up).

Any ideas?

Thanks again for your help!

Best Regards,

Rob

"Rob" wrote:

Hello. I have a spreadsheet that has two cells -- Cell One is always
today's
date using formula =Today(). The second cell is a date in the past.
How can
I calculate the number of months that have passed (rounded up) from the
past
date until today's date? I am hoping to see a number like "7" or "9"
and not
days.

Thanks for your help!





  #11   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Number of Months Between Two Dates Entered

=DATEDIF(A1,TODAY(),"m")+(DATEDIF(A1,TODAY(),"md") 0)
--
David Biddulph

"Rob" wrote in message
...
Hello. I have a spreadsheet that has two cells -- Cell One is always
today's
date using formula =Today(). The second cell is a date in the past. How
can
I calculate the number of months that have passed (rounded up) from the
past
date until today's date? I am hoping to see a number like "7" or "9" and
not
days.

Thanks for your help!



  #12   Report Post  
Posted to microsoft.public.excel.misc
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Number of Months Between Two Dates Entered

Thank you. For some reason I am getting an anser of 1312. It seems like
excel is treating 11/1/2008 as if it is 11/1/1900...so it is telling me we
have 1312 months in between the two. Any idea?

"Rob" wrote:

Hello. I have a spreadsheet that has two cells -- Cell One is always today's
date using formula =Today(). The second cell is a date in the past. How can
I calculate the number of months that have passed (rounded up) from the past
date until today's date? I am hoping to see a number like "7" or "9" and not
days.

Thanks for your help!

  #13   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 64
Default Number of Months Between Two Dates Entered

HOw are you entering the date?

"Rob" wrote:

Thank you. For some reason I am getting an anser of 1312. It seems like
excel is treating 11/1/2008 as if it is 11/1/1900...so it is telling me we
have 1312 months in between the two. Any idea?

"Rob" wrote:

Hello. I have a spreadsheet that has two cells -- Cell One is always today's
date using formula =Today(). The second cell is a date in the past. How can
I calculate the number of months that have passed (rounded up) from the past
date until today's date? I am hoping to see a number like "7" or "9" and not
days.

Thanks for your help!

  #14   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Number of Months Between Two Dates Entered

=ROUNDUP((b1-a1)/30,0)



"Pimamedic" wrote:

HOw are you entering the date?

"Rob" wrote:

Thank you. For some reason I am getting an anser of 1312. It seems like
excel is treating 11/1/2008 as if it is 11/1/1900...so it is telling me we
have 1312 months in between the two. Any idea?

"Rob" wrote:

Hello. I have a spreadsheet that has two cells -- Cell One is always today's
date using formula =Today(). The second cell is a date in the past. How can
I calculate the number of months that have passed (rounded up) from the past
date until today's date? I am hoping to see a number like "7" or "9" and not
days.

Thanks for your help!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
counting the number or months between two dates. Lisa[_3_] Excel Discussion (Misc queries) 5 November 6th 08 09:58 PM
Number of Months and Days between 2 dates? Jean Excel Worksheet Functions 3 March 30th 07 04:49 PM
Calculate number of months between dates steph44haf Excel Worksheet Functions 1 August 15th 06 04:05 PM
Calculate number of months between 2 dates john liem New Users to Excel 0 June 1st 05 10:06 AM
Number of months between 2 dates john liem New Users to Excel 0 May 31st 05 06:08 PM


All times are GMT +1. The time now is 02:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"