Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Excel 2010:  Calculating the Days in-between two Dates

Posted on 2016-09-22
2
Medium Priority
?
48 Views
Last Modified: 2016-09-22
Hi Experts!

    Hopefully a simple question. I have a report that generates the time/date in two separate columns (See example below).  I need to calculate the days in between these two dates, excluding the time.  Possible?

Example:

Column A                         Column B
7/20/2016 5:49 AM         7/21/2016 2:00 PM

Thanks a million in advance!
0
Comment
Question by:itsmevic
2 Comments
 
LVL 48

Accepted Solution

by:
Wayne Taylor (webtubbs) earned 2000 total points
ID: 41811633
Convert each date to integers and subtract B from A....

    =INT(B2)-INT(A2)

Wayne
0
 

Author Comment

by:itsmevic
ID: 41811692
Perfect! Thank you.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question