Solved

# MS Excel date calculation

Posted on 1999-12-14
Medium Priority
702 Views
Last Modified: 2009-07-29
in MS Excel (Office 2000), what formula will produce the number of days (including weekends) between two dates.  Example: the number of days from 2/14/99 - 2/26/99.  The column cells for "Date" are formatted as a date and is column A.  I am guessing that it is the DATEIF function, but don't know how this works.  Thanks.
0
Question by:dfeller
3 Comments

LVL 6

Expert Comment

ID: 2280442
you can just subtract the 2 cells and format the cell returning the difference as Number instead of date, this will return the number of days
0

LVL 22

Accepted Solution

ture earned 150 total points
ID: 2280454
dfeller,

This is really easy! Just subtract and add one...

A1: 2/14/99
A2: 2/26/99
A3: =(A2-A1)+1

Format A3 as a number.

Done!

Ture Magnusson
Karlstad, Sweden
0

Author Comment

ID: 2280547
thanks!
0

## Featured Post

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

## Join & Write a Comment Already a member? Login.

What to do if a split doesn't fit? Or a bunch of invoice lines must be rounded while the sum must match a total? It takes a little, but - when done - it is extremely easy to implement.
Read this tutorial to learn how to fix repeating password error prompts when setting up Gmail IMAP with Microsoft Outlook. The entire process is described with step by step, illustrated instructions. Enjoy...
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
###### Suggested Courses
Course of the Month7 days, 21 hours left to enroll

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

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