Solved

Date subtraction

Posted on 2013-11-06
4
325 Views
Last Modified: 2013-11-06
If I want to subtract "days" from two cells that have dates formatted such as 09/03/13, and 11/03/13, how do I write a successful formula in a empty cell to facilitate this request?
0
Comment
Question by:Pete Edwards
[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
  • 2
  • 2
4 Comments
 
LVL 50

Expert Comment

by:barry houdini
ID: 39628508
Days are simply integers in Excel so if you have a date in A1 you can get 10 days before that date by subtracting 10, i. e in B1

=A1-10

format B1 inthe same date format

regards, barry
0
 

Author Comment

by:Pete Edwards
ID: 39628511
i have a broad range of dates going back 5 years formatted as mentioned above all accross the board I want to subtract by 10/31/13 to see how many days, how do I do this Barry in an empty cell?

Thanks
0
 
LVL 50

Accepted Solution

by:
barry houdini earned 400 total points
ID: 39628521
OK, sorry so you want the number of days from your dates until a specific date?

If you have dates in A2 down then put this formula in B2

=DATE(2013,10,31)-A2

format B2 as general and then you can drag the formula down the column - it will automatically adjust for all your other dates

regards, barry
0
 

Author Closing Comment

by:Pete Edwards
ID: 39628536
Thanks Barry.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
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.
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.
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…

762 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