• Currency Format in Mixed Text Fields

    Author
    Topic
    #2449518

    Somehow I’ve forgotten how to do this.

    I have a cell with a number in Currency format.ย  The cell also contains stuff in Text format. The currency format doesn’t appear when the two are combined. (The commas go away.)

    What do I do to preserve the currency format on that part of the cell?

    Lou Sander

    Viewing 1 reply thread
    Author
    Replies
    • #2449617

      Once you add any text it is no longer a number (currency is just a number with 2 decimal places) and the format is not applied.

      Try using the TEXT command and specifying a format, like this:
      =TEXT(A1,"$#,##.#0")&" extra text"
      or
      =TEXT(123.45,"$#,##.#0")&" extra text"

      cheers, Paul

      1 user thanked author for this post.
      • #2449656

        Simple, but I had forgotten it, and couldn’t remember the Help topic. At 82, this is happening more often.

        Lou Sander

    • #2449619

      Of course, you can’t then use the number from the cell unless you use SPLIT to break it up again.
      The best method is to put the amount into a cell on its own and then use the first option to show the value and text in another cell.

      cheers, Paul

      1 user thanked author for this post.
    Viewing 1 reply thread
    Reply To: Reply #2449619 in Currency Format in Mixed Text Fields

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information:




    Cancel