Forum Discussion
Excel 2029 rule - How to stop it from calculating numbers above 29 to the 20th century
SergeiBaklan I have changed that setting and it doesn't effect anything as I stated in my post. I have tried multiple numbers including 2150, 2099, 3000, 9999.
Regards,
You are right, sorry. When perhaps macro or formula like
=DATE(20&RIGHT(A1,2),MID(A1,LEN(A1)-3,2),LEFT(A1,LEN(A1)-4))
drag it down (or select the range and Ctrl+D)
- SeanR87Jul 03, 2020Copper Contributor
SergeiBaklan I am still missing something. Numbers start on AB2.
=DATE(20&RIGHT(AB2,2),MID(AB2,LEN(AB2)-3,2),LEFT(AB2,LEN(AB2)-4))
Obviously, you made that not knowing how many columns etc I had which is my fault and my fault for not understanding.
- SeanR87Jul 03, 2020Copper Contributor
SergeiBaklan Thank you for that! I am bad at formulas etc. In the document he is working in. The column is labeled AB. So I can just change your values from A to AB? There are thousands of rows so.
- SeanR87Jul 03, 2020Copper Contributor
SeanR87 No, that didn't work. I think the first part needs to be modified. (20&right) ?
=DATE(20&RIGHT(AB1,2),MID(AB1,LEN(AB1)-3,2),LEFT(AB1,LEN(AB1)-4))
I just get a #VALUE! when entered.
- SergeiBaklanJul 03, 2020Diamond Contributor
It shall work, but you may try more formal formula
=DATE(VALUE("20"&RIGHT(AB1,2)),VALUE(MID(AB1,LEN(AB1)-3,2)),VALUE(LEFT(AB1,LEN(AB1)-4)))
After that stay on first cell with the formula, type in named box entire range reference
Enter (range will be selected) and Ctrl+D (formula will be populated on entire range)
Please open attached file to check how the formula works.