Excel Auto Updates Stop Limit

Copper Contributor

I am sure there is already an answer out there on the forum for this but I am not sure what key words I am missing to find it.

 

I am working on a Stock Tracker that uses lives updates for my "home page" and I'm having problems transferring the data across sheets at a specific time each day.  For example =IF(TODAY()=DATEVALUE("12/11/2020"), Home!$I$10,0) is the current formula I have worked out but it is not quite doing what I want it to do, any date after 12/11/2020 it reverts to 0.  At the end of the trading day I want to find a way so that the cell to be updated will reference the day total and lock that value in to feed my line graph.

 

I know there are probably dozens of these already made but I love this program and learning new things about it.

3 Replies

Hi @andrew165 

 

Not sure this will solve the purpose. 

 

Try this one =IF(TODAY()=TODAY(),"True or Insert text whatever you want to do","0")

 

On the same day it will show the value you want to show and from next day it will show 0 

 

Please do let me know if it solved the purpose

@AshishBatra 

 

Firstly, thank you for your reply.

 

The formula you gave did not correct the issue I'm having, I will try to clarify.  I would like the Cell on the home page to feed the cell on sheet 2 which is an easy thing to do, however I am trying to have the cell on sheet 2 retain the value from the cell on the home page at a specific date and time.  For instance 12/11/2020 4 P.M EST (market close) and maintain that value while the cell on the home page is updating again the next day and feeding the next cell in line.

I found the answer, it will be a VBA to calculate only once across the cell based on the variables.  though I'm not too sure how to it to edit it to meet my requirements.  Link is below.

 

https://superuser.com/questions/450019/how-to-have-a-cell-calculate-only-once

 

I have many sheets in my workbook, the first being my dashboard which holds all of my calculations and my live updates and I'm using my second sheet "December 2020" to work out the kinks prior to the new year.

 

In cell 'Dashboard!I10' I have my calculation running for my daily gain % which updates based off the live inputs in other cells.  Cell 'December 2020!B15' is the desired cell to be updated when the date and time parameters are met (i.e. December 14th 2020 at 4:00 PM EST) and retain the value given at the end of the day.  While the next day cell 'Dashboard!I10' continues to update but instead it reflects in cell 'December 2020!B16' and so on.