Solved

Calculating number of calender days in Excell

Posted on 1997-10-30
1
389 Views
Last Modified: 2009-08-26
If I have 2 columns in a spreadsheet, depicting a date in each, with the following format yyyy/mm/dd. How can I calculate the number of calender days and not just the difference between the two? e.g. 19970202 and 19970530.
I basically need to know the calender days difference.
0
Comment
Question by:chrisolsen
[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
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
lprice earned 200 total points
ID: 1604546
Create your coloums, making sure the cell is formatted to the above i.e yyyy/mm/dd
In you formula column put he following formula sum(b2-a2)(changing the cell references to fit in with your spreadsheet.)
The format the formula cell to number with no decimal places.
This will result in the answer in calendar days.
If this is not the result you are looking for let me know.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
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.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

690 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