Share via

DATEDIF Function 2010 Excel

Anonymous
2017-05-01T23:52:35+00:00

Hi All,

I'm creating this post after reading through a few similar, older questions that provided some good info but didn't solve my question, as I do not think they were getting the same results/issue.

Trying to find the number of days between two different dates that are in the same row but different columns in a large set of data.

AKA:

12/3/2015 3/10/2016 4/7/1900
8/5/2016 1/30/2017 6/26/1900

The first two columns are the original dates, and the third columns are what the following function gave me:

"=DATEDIF(G7,H7,"d")"

Which was what a number of similar posts showed as the best and most reliable way of finding this information. For some reason it always comes up with year 1900, and the month and day items it spits out are also off. I know that this is an old function that wasn't always supported so was looking for some clarity as to whether this is still the best way to make this calculation, and if not what an alternative method would be?

I could do it by hand but I have hundreds of rows of this and would rather not. I am getting my feet wet with Excel so any help would be greatly appreciated.

Thanks,

Austin

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Ashish Mathur 102K Reputation points Volunteer Moderator
2017-05-02T00:01:24+00:00

Hi,

Just format the third column as Numbers.  Furthermore, you can also, use this simple formula

=H7-G7

Hope this helps.

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2017-05-03T13:23:34+00:00

    Hi Austin,

    Please try Ashish's suggestion to see if this can help to solve the problem. Any updates please let us know when you have time.

    Thanks,

    Rena

    Was this answer helpful?

    0 comments No comments