theteacher9999
New Member
- Joined
- Jun 8, 2020
- Messages
- 12
- Office Version
- 365
- 2010
- Platform
- Windows
Hello,
I'm struggling with the following issue.
In C2 I have this formula because I want to get the last word from A in C column (it shoould be 'Last' instead of '63636'):
The problem is that A2 cell has a strange custom format, as shown in the picture below:
Is there any way to get a full text of A2? I know I can do it by copying it to Text Box and paste it in the same field but I will have more cells formatted this way. (Note that in this particular example A3 doesn't have any custom format and what I got it in C3 looks good).
Ultimately, I plan to create columns B and C with VBA but the problem is the strange format in column A.
I'm struggling with the following issue.
In C2 I have this formula because I want to get the last word from A in C column (it shoould be 'Last' instead of '63636'):
VBA Code:
=TRIM(RIGHT(SUBSTITUTE(A2," ",REPT(" ",100)),100))
Is there any way to get a full text of A2? I know I can do it by copying it to Text Box and paste it in the same field but I will have more cells formatted this way. (Note that in this particular example A3 doesn't have any custom format and what I got it in C3 looks good).
Ultimately, I plan to create columns B and C with VBA but the problem is the strange format in column A.