Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2013-01-24
1
Medium Priority
?
501 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
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

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.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

926 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