Saving data based on time(not with vba)

isaacren

New Member
Joined
Feb 9, 2018
Messages
2
Hello first time poster here, I have a bit of a head scratcher here. I am trying to save data based on a time stamp that it was entered. I know if I where to use VBA it would be a simple matter of creating an array and updating it at certain time stamps. However I would like to avoid using macros since the way I use this spreadsheet is highly custom and my co-workers most likely would mess with it.

Here is an example of what I have currently.

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Saved Value[/TD]
[TD]Time Stamp[/TD]
[TD][/TD]
[TD]User imputed value [/TD]
[/TR]
[TR]
[TD][/TD]
[TD]2/9/2108[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]2/10/2018[/TD]
[TD][/TD]
[TD]
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]2/11/2018[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]2/12/2018[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]2/13/2018[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]2/14/2018[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]2/15/2018[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
In the cell with the saved values I have this if statement running so far,

IF(TODAY()<=B3,IF(TODAY()>B2,D2,""),"")

However with this statement the cell will go blank after the day has past.

I guess my question is, is there any way to remember a value that was in a cell at a certain point?


I am using excel 2010 with no add ins at the moment.

Thanks.
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Actually figured this one out myself.

The error in my formula was that i was making it go blank if false. What I needed to do was to reference itself.

Here is the formula that works

IF(TODAY()<=B3,IF(TODAY()>B2,D2,""),A2)

This only works if you have iterations on and maximum of 1.
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top