Function =Line with Dates
Solved
Kirilov
Posted messages
108
Status
Member
-
CocoPL -
CocoPL -
Hello,
For some reason I don't understand, Excel transforms a string when I use the formula =RIGHT(A1,4)!
Let me explain: I have a column of dates in the formats DD/MM/YYYY or DD/YYYY from which I want to extract the year. To keep it simple, I'm using =RIGHT to extract the last 4 characters, but for example, the date 01/04/1972 becomes 6420!?
Is there a way to prevent the program from trying to interpret the characters and simply display the last 4 characters?
Thank you!
Configuration: Windows XP / Chrome 21.0.1180.89
For some reason I don't understand, Excel transforms a string when I use the formula =RIGHT(A1,4)!
Let me explain: I have a column of dates in the formats DD/MM/YYYY or DD/YYYY from which I want to extract the year. To keep it simple, I'm using =RIGHT to extract the last 4 characters, but for example, the date 01/04/1972 becomes 6420!?
Is there a way to prevent the program from trying to interpret the characters and simply display the last 4 characters?
Thank you!
Configuration: Windows XP / Chrome 21.0.1180.89
3 answers
Hello,
This is a format issue.
Select your column and replace / with a .
Instead of having 01/04, you will have 01.04
I hope this will be satisfactory for you.
Best regards
--
https://excelfacile.jimdofree.com/
This is a format issue.
Select your column and replace / with a .
Instead of having 01/04, you will have 01.04
I hope this will be satisfactory for you.
Best regards
--
https://excelfacile.jimdofree.com/
Thank you very much.