Mar 01 2018
- last edited on
Jul 25 2018
Trying to convert 3 to '0003, but where the result does not show the ' instead we want it to just show 0003 with the green triangle in the corner. Have tried numerous formats and functions.
Mar 01 2018 01:53 PM
Mar 02 2018 07:51 AM
Trying to assist a colleague with this. He said that the person that trained him on his spreadsheet showed him a way to make it come out the way we want, but he did not take notes. The other person retired over a year ago so we don't know what she had done. Essentially we are attempting to get the same result as when you physically type '0003 into the cell (which gives you 0003 with the little warning message that a number is stored as text) from an initial value of 3. Seems odd, but the apostrophe has to be there due to how the data pulls from the sheet to where it gets downloaded. And we are trying to find an easier way than manually updating 500 cells.
Mar 02 2018 09:18 AM
Perhaps you don't need a text but number representing with leading zeroes. If so you may just apply custom format like
to all your few hundred cells. The result will be like
Mar 04 2018 07:35 PM
Sep 29 2020 08:09 AM
This works perfectly! However, for clarification, when creating the Custom Format, the number of 0's input into the format will be the number displayed. However, I found that if you have a six-digit number to display (e.g. 000245), the Custom Format code needs to be "000###" - including one # for each non-zero number you wish to display. Interestingly, if you only enter "000##" as the format code for your six-digit number with three leading zeros, the result will be "00245" - it will truncate the displayed number starting at the left - overwriting the desire to display three leading zeros...
Sep 29 2020 08:23 AM
Sep 29 2020 01:22 PM