Calculating days between two dates

G

Guest

Hope someone can help.

When trying to come up with the number of days between a date on my
spreadsheet and the current date I am not getting the results in days.

Date format on my spreadsheet for G2 - 11/17/2006 13:19
Formula - =DATEDIF(G2,TODAY(),"D")
Result - 4/21/1900 0:00
 
G

Guest

April 21, 1900 corresponds to the number 112. Your cell is formatted as a
date. Nov 17, 2006 was 112 days ago.

Dave
 
N

Niek Otten

Hi Laura,

Format as General

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

| Hope someone can help.
|
| When trying to come up with the number of days between a date on my
| spreadsheet and the current date I am not getting the results in days.
|
| Date format on my spreadsheet for G2 - 11/17/2006 13:19
| Formula - =DATEDIF(G2,TODAY(),"D")
| Result - 4/21/1900 0:00
|
|
| --
| Thanks,
| Laura
 
G

Guest

The cell where you had put your formula is formatted as a date. Format it as
"General". Format->Cells, in the Number tab, select "General" in the
Category list.
 

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

Top