+ Reply to Thread
Results 1 to 3 of 3

Conditional Formatting Query

  1. #1
    Forum Contributor
    Join Date
    06-17-2010
    Location
    Leicester
    MS-Off Ver
    Excel 2010
    Posts
    119

    Conditional Formatting Query

    Hi,

    How can I have one conditional format that changes the colour of Column M to red, if any of the following:

    880
    886
    918
    937
    500
    527
    571
    587
    590
    595
    966
    975

    Appear in Column L.

    Many Thanks
    Last edited by dshilan; 05-04-2011 at 09:12 AM.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Conditional Formatting Query

    Try listing those values somewhere on your sheet and naming that list, e.g. numberlist...then select column M and use this formula in conditional formatting

    =MATCH(L1,numberlist,0)

    format as required

    That will format M5 if L5 contains one of those numbers, etc...... If you don't want a list you can use a formula like this

    =OR(L1=880,L1=886,......L1=975)

    fill in the gaps .....
    Audere est facere

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Conditional Formatting Query

    Put you list somwhere (i.e. U1:U11) and then use in CF:

    =COUNTIF($U$1:$U$12, M1)>0

+ 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