missing day?

User avatar
stuck
Panoramic Lounger
Posts: 8166
Joined: 25 Jan 2010, 09:09
Location: retirement

missing day?

Post by stuck »

I can't see what I'm doing wrong here...

In Excel 2010, the date subtraction 31/07/2015-01/08/2014 = 364 days
yet if I divide the range in two thus:
30/11/2014-01/08/2014 = 121 days
31/07/2015-01/12/2014 242 days
but 121+242 does not add up to 364

:confused:

Ken

User avatar
Leif
Administrator
Posts: 7209
Joined: 15 Jan 2010, 22:52
Location: Middle of England

Re: missing day?

Post by Leif »

I think the first line needs to be:

30/11/2014-31/07/2014 = 122 days

It's equivalent to:

20-1 = 19
20-10 = 10
9-1 = 8
So why doesn't 10+8 = 19?
Leif

User avatar
stuck
Panoramic Lounger
Posts: 8166
Joined: 25 Jan 2010, 09:09
Location: retirement

Re: missing day?

Post by stuck »

Yes, that's makes sense now.

Put it down to Friday afternoon syndrome :grin:

Ta!

Ken