Date issue

txoxmxaxsx

New Member
Joined
Jul 27, 2010
Messages
14
Hi

Im trying to set a few KPIs and need help with dates.

I have a cell with a value that represents the days left in a contract. I need this value to get updated everyday.

For example if a contract has 30 days left I want the cell to show 30 today, 29 tomorrow and so on and so forth.

Thanks in advance for the help guys.
 

Some videos you may like

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

bobsan42

Well-known Member
Joined
Jul 14, 2010
Messages
1,343
if the date the project ends is in cell A1 then the cell with days left should be:

=A1 - TODAY()

and formatted as a number
 

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650
With an end date in A1 try

=A1-TODAY()

and format as Number.
 

txoxmxaxsx

New Member
Joined
Jul 27, 2010
Messages
14
A1 is not a day but a number, as I explained on the example. I need that number to decrease 1 by day.

Thanks
 

bobsan42

Well-known Member
Joined
Jul 14, 2010
Messages
1,343

ADVERTISEMENT

read the 2 posts above carefully :)
if the date the project ends is in cell A1 then the cell with days left should be:
=A1 - TODAY()
and formatted as a number
With an end date in A1 try
=A1-TODAY()
and format as Number.
i will try again:
where is the end date of the project?
if it is in cell C1:
then put in A1 this formula:
=C1 - TODAY()
and format cell A1 as a number.

if the end date is not in C1 but in other cell replace C1 in the formula above with the address of the cell where the end date is.
did i manage to explain and be understood?
 

txoxmxaxsx

New Member
Joined
Jul 27, 2010
Messages
14
Days left on a given contract has little to do with time. It actually depends on a money pool that gets depleted month after month. So my days left cell is formula based. I need that number to get refreshed every day so I know when a contract is about to end and take action.

Thanks
 

bobsan42

Well-known Member
Joined
Jul 14, 2010
Messages
1,343

ADVERTISEMENT

i don't think you will find the answer if don't succeed to explain clearly what you're after.
 

txoxmxaxsx

New Member
Joined
Jul 27, 2010
Messages
14
Column C2 has a number which represents days till a contract is over.
This number is calculated by dividing the contract amount left by the monthly fee(may vary each month). This way I get days left till contract amount is 0.
I need that number to get refreshed every day.

For example.
Contract x has $1000. Each month we bill $200. Assuming that number soesnt change the contract will last 5 months(150 days). I need that number(150) to get updated every day so I know much time I have before the contract runs out.

Hope this clears things up
 

bobsan42

Well-known Member
Joined
Jul 14, 2010
Messages
1,343
yes, this makes it clear.
you only need to define one more parameter: the date of the last payment
when this is done the formula must be something like:
DaysLeft= contract amount left/monthly fee - (Today()-date of the last payment)

now you should replace the italic text with the necessary cell references and you're good to go.
hope this is it what you're looking for.
 

Subscribe on YouTube

Watch MrExcel Video

Forum statistics

Threads
1,106,987
Messages
5,514,631
Members
409,011
Latest member
mccmark

This Week's Hot Topics

  • Sort code advice please
    Hi, I have the code below which im trying to edit but getting a little stuck. This was the original code which worked fine,columns A-F would sort...
  • SUMPRODUCT with nested If statement
    Hi everyone, Hope you're all well. I'm hoping someone will be able to point me in the right direction with a problem I'm having with a SUMPRODUCT...
  • VBA - simple sort is killing me!
    Hello all! This should be so easy, but not for me, apparently! I have a table of data that can be of varying lengths and widths. My current macro...
  • Compare Two Lists
    I have two Lists and I need to be able to Identify differences between them. List 100 comes from a workbook - the other is downloaded form the...
  • Formula that deducts points for each code I input.
    I am trying to create a formula that will have each student in my class start at 100 points and then for each code that I enter (PP for Poor...
  • Conditional formatting formula required for day of week and a value
    Hi, I have a really simple spreadsheet where column A is the date, column B is the activity total shown as a number and column C states the day of...
Top