Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to countdown the number of days or months between 2 dates

Posted on 2013-01-24
1
Medium Priority
?
496 Views
Last Modified: 2013-01-24
Hello Experts.  

What I am trying to do is to count down the number of days between 2 dates.  I first date is manually entered.  The second date is to be calculated out either  a number of months or number of days.  Then the actual number to be shown in the cell is the number of remaining days or months and that number is to countdown based on today().

Here is what I have so far.  I know there is a better way and it does not countdown.

=IF($B$23="","",EDATE($B$23,6))-DATEDIF($B$70,TODAY(),"d")

Thanks in advance!
0
Comment
Question by:Vendettta
[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 12

Accepted Solution

by:
telyni19 earned 2000 total points
ID: 38816707
You can get the remaining days by just subtracting today from the calculated date:
=IF($B$23="","",EDATE($B$23,6)-TODAY())
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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

718 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