Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 4 of 4

Thread: Conditional Statements with Formatting

  1. #1
    New Member
    Join Date
    Apr 2002
    Location
    London, UK
    Posts
    34
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Using Excel 2000, how can I include formatting in cells that contain conditional statements?
    eg =IF(A1=0,"fa","fb") where the characters 'a' and 'b' are a suffix, bold, or different fonts, etc.

  2. #2
    Board Regular Brian from Maui's Avatar
    Join Date
    Feb 2002
    Posts
    8,450
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Budd,

    You only want a or b to be formatted and not fa or fb by conditional formatting?

  3. #3
    New Member
    Join Date
    Apr 2002
    Location
    London, UK
    Posts
    34
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Its not important how much of the text is formatted, as this is only an example. However, whatever the solution proves to be, it must also work when the sheet is protected.

  4. #4
    MrExcel MVP
    Join Date
    Mar 2002
    Location
    Michigan USA
    Posts
    11,454
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    On 2002-05-01 06:34, lmc_budd wrote:
    Using Excel 2000, how can I include formatting in cells that contain conditional statements?
    eg =IF(A1=0,"fa","fb") where the characters 'a' and 'b' are a suffix, bold, or different fonts, etc.
    try
    =OR(A1=0,A1="fa",A1="fb")
    Hope This Helps!

    Regards!

    Yogi Anand, D.Eng, P.E.
    Energy Efficient Building Network LLC
    www.energyefficientbuild.com

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •