+ Reply to Thread
Results 1 to 3 of 3

Conditional formatting

  1. #1
    Registered User
    Join Date
    09-29-2007
    Posts
    2

    Conditional formatting

    Hi everyone,

    I need help to write an apparently simple excel function:

    Let's say cell A1 has some text in it, and B1 has either the letter m or f. When I enter some text in column A, and enter m or f to cell B, I want excel change the color of the text in column A to red or blue, depending on whether I have m or f in the corresponding row of column B.

    Should it be something like this (suppose I'm writing this to C1):

    +IF(B1=="m", ???=blue, ???=red)

    and ??? is something like "A1.font.color"? Or do I need something totally different?

    I would appreciate any help.

    Thank you in advance.

    Ozgur

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229
    Conditional Formatting will do what you want

  3. #3
    Registered User
    Join Date
    09-29-2007
    Posts
    2
    Thanks a lot.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1