Solved

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

Posted on 2013-01-24
1
477 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 500 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

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

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

789 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