Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
Solved

# Calculate days between dates

Posted on 2011-09-12
Medium Priority
1,011 Views
Experts,
This is too easy for some but not me:

Subtract 3/17/2008 from 2/15/2008. How many days?
0
Question by:Frank Freese
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
1 Comment

LVL 50

Accepted Solution

barry houdini earned 2000 total points
ID: 36526427
If you have the dates in cells you can just subtract one from another, e.g. with laer date in B2

=B2-A2

or with the dates in the formula

=DATE(2008,3,17)-DATE(2008,2,15)

either way format the result cell as general

regards, barry
0

## Featured Post

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.
###### Suggested Courses
Course of the Month8 days, 3 hours left to enroll