• Custom cell format (2007)

    Author
    Topic
    #457182

    Two questions:

    1) When I have text in the cell (as in N9), how can I have a portion of that text in a different color? I would like N9 to have (short) in red.

    2) I am having trouble with a custom cell format. I have a cell with text & number and when that number is negative, I want it to appear as (##). I do get that although I also receive a minus sign at the beginning of the text. The image below shows the results but here is the custom formatting:

    N9 Custom format: “Excess (short) player spots @ tables: “###(###)
    N9 Formula: =N8-N7

    Viewing 1 reply thread
    Author
    Replies
    • #1145446

      (Edited by mbarron on 02-Feb-09 15:26. Forgot to use the [t] tag)

      The correct format would be (supply your own text of course):
      “Pos Value” #.00;[red]”Neg Value ” (#.00);”No Value ” 0

      Unless E2007 differs from E2003, your entire cell will be red. I could not format only a portion of the cell using the custom formatting. No matter where I put the [red], Excel moved it to the front of the “Neg”.

    • #1145453

      Mike is correct: you cannot color part of a cell by using a custom number format. If you want the word (short) in red, you’d have to place it in a separate cell (but that makes it difficult to get contiguous text.)

    Viewing 1 reply thread
    Reply To: Custom cell format (2007)

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

    Your information: