Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Date subtraction

Posted on 2013-11-06
4
Medium Priority
?
349 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 1600 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
Microsoft has changed the look and feel of Azure AD and Microsoft account sign-in pages so that you will have a more unified look and feel when moving between the two interfaces.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

715 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