mac_junior
New Member
- Joined
- Oct 2, 2018
- Messages
- 4
Hello
I have a string : ABC02102018 at cell A1. I need to make it looks like ABC 02/10/2018. I wrote =CONCATENATE(MID(A1,1,3), " ",MID(A1,4,2), "/",MID(A1,6,2), "/",MID(A1,8,4)).
Now I would like to make my last 4 digits of string (ie.2018) into YEAR format. I tried by using year() function, but it came out to 1905 instead of 2018. Does it have a way to solve it?
Thanks and regards,
John
I have a string : ABC02102018 at cell A1. I need to make it looks like ABC 02/10/2018. I wrote =CONCATENATE(MID(A1,1,3), " ",MID(A1,4,2), "/",MID(A1,6,2), "/",MID(A1,8,4)).
Now I would like to make my last 4 digits of string (ie.2018) into YEAR format. I tried by using year() function, but it came out to 1905 instead of 2018. Does it have a way to solve it?
Thanks and regards,
John