+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    12-30-2009
    Location
    St. Louis, MO
    MS-Off Ver
    Excel 2003
    Posts
    4

    Use Conditional Format with Match Statement

    Hey all. I am having an issue with a worksheet I'm working on that I hope somebody can help.

    I have a list of 31 values in separate cells. The values are three digit letter codes. Here is an example of 5 of them:

    ATL
    GMI
    WOB
    COI
    PTS

    What I am wanting to do is have a Conditional Format to change the color of the cell to Pale Blue if the value equals another cell that is within a range.

    Sorry if I didn't make sense, but I've been up for awhile working and I'm sure you understand.

    Thank you very much!
    Last edited by battlek; 01-08-2010 at 09:57 AM. Reason: Solved question.

  2. #2
    Forum Moderator teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    2003 & 2010
    Posts
    10,042

    Re: Use Conditional Format with Match Statement

    Hi battlek,

    welcome to the forum.

    I'm afraid this requires some clarification:

    What I am wanting to do is have a Conditional Format to change the color of the cell to Pale Blue if the value equals another cell that is within a range.
    Which other cell? Which range?

    Maybe you could upload a workbook with some sample data that illustrates the issue? Mock up your expected results manually and explain the logic that leads to the result. You can upload a file by clicking "Go Advanced" below the Quick Reply box and then the paper clip icon.

    cheers
    teylyn
    Microsoft MVP - Excel
    At Excelforum, you can say "Thank you!" by clicking the icon below the post.

    Avoid pie charts with more than two data points. Why? See here (pdf, 559 kb). The only acceptable pie chart is here.

  3. #3
    Registered User
    Join Date
    12-30-2009
    Location
    St. Louis, MO
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Use Conditional Format with Match Statement

    Sorry about that. Again, a bit tired.

    Well, I am attaching a very basic mockup of what I am going to need.

    Essentially, if a value in the list on the right is within the list on the left, the cell will turn Pale Blue.

    I hope this helps.

    Let me know if you need any more info, and thanks again!
    Attached Files Attached Files

  4. #4
    Forum Moderator ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2003 & 2010
    Posts
    1,798

    Re: Use Conditional Format with Match Statement

    Hi battlek,

    Welcome to the forum!

    Use this formula in the Conditional Formatting of the G2 cell:

    Code:
    =MATCH(G2,$C$3:$C$10,0)
    Then use the format paintbrush to copy it down to the other cells.

    Cheers,
    Docendo discimus.

    Please consider:
    • Thanking those who helped you. Click the reputation icon in the contributor's post and add Reputation.
    • Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

  5. #5
    Registered User
    Join Date
    12-30-2009
    Location
    St. Louis, MO
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Use Conditional Format with Match Statement

    Wow, that was easy enough. Sorry, but apparently I was just not getting it exactly right. I did try that method, but I didn't have exactly what you had written. Shows you how good staying up to work on projects is for you!

    Thank you very much again guys. I'm sure there will be more questions along the way!

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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.2.0