Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Calculating number of calender days in Excell

Posted on 1997-10-30
1
Medium Priority
?
394 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
1 Comment
 
LVL 1

Accepted Solution

by:
lprice earned 400 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

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

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

Ever wonder what it's like to get hit by ransomware? "Tom" gives you all the dirty details first-hand – and conveys the hard lessons his company learned in the aftermath.
In a use case, a user needs to close an opened report by simply pressing the Escape (Esc) key. This can be done by adding macro code in Report_KeyPress or Report_KeyDown event.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
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…

810 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