Forum Discussion

Bill Thompson's avatar
Bill Thompson
Copper Contributor
Mar 01, 2018

Converting number to have leading zeros and punctuation mark

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.

7 Replies

  • Damien_Rosario's avatar
    Damien_Rosario
    Silver Contributor
    Hi Bill

    Not sure I follow the logic although it could be just my understanding.

    If 3 is converted to '0003, then I am not sure how it will not show the ' if the answer will always have it? When would the result not have the '?

    Cheers
    Damien
    • Bill Thompson's avatar
      Bill Thompson
      Copper Contributor

      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.

      • Damien_Rosario's avatar
        Damien_Rosario
        Silver Contributor
        Hi Bill

        Without seeing the original file in action, I don't have any ideas on how to get your document working for you.

        It may also be worth reaching out to the now retired individual to see if they are happy to remind your colleague on how that worked (professional courtesy and what not).

        Sorry I don't have a better answer for you.

        Best wishes with the spreadsheet.

        Cheers
        Damien

Resources