Solved

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

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now