=TEXT(TODAY(),"YY") - How can I make the return a value?

manc

Active Member
Joined
Feb 26, 2010
Messages
340
Good evening,

I'm using =TEXT(TODAY(),"YY") to return the current year in cell A1.
If I originally edited this workbook on December 31st 2017, saved the workbook, and only re-opened the workbook today, how can i stop cell A1 returning "18" and leave it as the original return value of "17"?

Best regards
manc
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Can you tell when the cell was changed by looking at another on the sheet? If not you would need VBA or a manual edit to prevent date-dependent formulas from recalculating.
 
Last edited:
Upvote 0
Your other option is to go into excel and turn on manual formulas. When you want to update the spreadsheet you can press F9 and it will run all your formulas including your date field.
 
Upvote 0
sheetspread, HardBeatZ,

Thanks for your replies.

I need it to record the first entry, as this is essentially our record of when the 'job' was raised.
VBA is definitely the answer - currently crawling the web for info...

Best regards
manc
 
Upvote 0
After entering the formula (back in 2017)
You could then copy that cell, and paste special - Values.

Or just type 17 instead of using a formula to begin with.
 
Last edited:
Upvote 0
Jonmo1,

You're right. Thinking about it logically, I can reference cell A1 from another cell where the user has typed the date and use =TEXT('sheet2'!A1,"YY")
I believe you might have been suggesting this also sheetspread?!

Thanks all for your prompt suggestions and ideas.

Greatly appreciated

Best regards
manc
 
Upvote 0
No, that's not what I was suggesting, but it works.

What I'm saying is wouldn't it be easier (physically fewer keystrokes) to just look at that cell on sheet 2, then just type 17 and press enter- three key strokes.
 
Upvote 0

Forum statistics

Threads
1,224,829
Messages
6,181,222
Members
453,024
Latest member
Wingit77

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