Forum Discussion
PAtesting
Mar 07, 2022Copper Contributor
Freeze =TODAY
Is it possible to freeze the result of =TODAY, so it doesn't update the date everytime I open the sheet? I need the =TODAY function to stay fixed.
paolive
Microsoft
Mar 07, 2022You can use a cell to "activate" the function like in this example: https://techcommunity.microsoft.com/t5/excel/freeze-or-stop-formula/m-p/1719595
Example:
If you add a cell AB4 where you add some text "STOP" if you don't want the formula to be calculated.
=IF(NOT(ISBLANK(AB4)),"",DATEDIF(AA4,TODAY(),"D"))
Hope this helps.
Example:
If you add a cell AB4 where you add some text "STOP" if you don't want the formula to be calculated.
=IF(NOT(ISBLANK(AB4)),"",DATEDIF(AA4,TODAY(),"D"))
Hope this helps.
- PAtestingMar 07, 2022Copper Contributor
How do I apply it to my example? I tried to break the formula (presented in your example) down but I just don't get it.
Column C has the =TODAY formula I am trying to freeze, because it is essential that the days-prior-or-after-the-deadline information in column D does not change..
- bosinanderMar 07, 2022Steel ContributorMaybe Ctrl+; is plausible? it types the date of today.
In your example I, using shortcuts, would
select C3
type Ctrl+Space to select the data column
type Ctrl+; to type the date
type Ctrl+Enter to enter the same value into the selected cells- PAtestingMar 08, 2022Copper ContributorThing is, this Excel sheet is fully automated. It extracts information from incoming mails and it gets put in the table, hence the reason I need the formula to freeze instead of me constantly coming back to type the Ctrl code.
I fear it may be a lot complicated than I thought
- paoliveMar 07, 2022
Microsoft
PAtesting I was thinking and maybe what you need is something simpler. You know that if you press F9 inside a formula, for example double click in cell C2 and press F9, it will convert to the value? This way you just need to press F9 inside that cell to "freeze" the function.