Solved

Calculate days between dates

Posted on 2011-09-12
1
958 Views
Last Modified: 2012-05-12
Experts,
This is too easy for some but not me:

Subtract 3/17/2008 from 2/15/2008. How many days?
0
Comment
Question by:Frank Freese
1 Comment
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

A2 = A1 That kind of cell reference is relative.  If you copy it from A2 to B2, then B2 will get this: B2 = B1 That's all fine and good, but if you then insert a new row above row 2, you'll find: A3 = A1 B3 = B1 This is intentional. …
INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

771 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now