lezawang
Well-known Member
- Joined
- Mar 27, 2016
- Messages
- 1,805
- Office Version
- 2016
- Platform
- Windows
Hi
A1=left("123-456-7890",3)
The result A1 = 123 (but as a text, aligned to the left side of the cell). I changed the format to number, general etc it is still text.
I learnt if B1=1 and I copy B1 and Paste Special (multiple) A1 then A1 will be 123 as a number (aligned to the right).
I also tried before doing the paste special to do this C1=A1-1 (the result was 122) correct!!
My question, if the result of left() is a text but excel still can understand it as a number, then why I need to change the format? or what the issue I might have in the future if i kept the result of left() as it is?
Thanks you.
A1=left("123-456-7890",3)
The result A1 = 123 (but as a text, aligned to the left side of the cell). I changed the format to number, general etc it is still text.
I learnt if B1=1 and I copy B1 and Paste Special (multiple) A1 then A1 will be 123 as a number (aligned to the right).
I also tried before doing the paste special to do this C1=A1-1 (the result was 122) correct!!
My question, if the result of left() is a text but excel still can understand it as a number, then why I need to change the format? or what the issue I might have in the future if i kept the result of left() as it is?
Thanks you.