+ Reply to Thread
Results 1 to 5 of 5

Conditional formatting - multiple values

  1. #1
    Registered User
    Join Date
    05-16-2015
    Location
    Oslo, Norway
    MS-Off Ver
    2007
    Posts
    2

    Conditional formatting - multiple values

    Hi!

    Lets say I want to enter a specific value to A1 and have it highlighted green or blue if it equals data from either column B1:B5 or C1:C5.

    For example if column B have cells with the following values; 1,3,5,7,9 and column C have 2,4,6,8,10. I want to use cell value equal to, but then I can only use 1 specific cell, not multiple cells.

    I've been playing around with different formulas such as =MATCH but I can't get it to work.

    Can anyone help me out? :-)

  2. #2
    Registered User
    Join Date
    12-16-2014
    Location
    Amsterdam, Nederland
    MS-Off Ver
    Excel 2013
    Posts
    71

    Re: Conditional formatting - multiple values

    HI,

    Apply Green format with
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and Apply Blue format with
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Bas

  3. #3
    Registered User
    Join Date
    12-16-2014
    Location
    Amsterdam, Nederland
    MS-Off Ver
    Excel 2013
    Posts
    71

    Re: Conditional formatting - multiple values

    The second formula needs to be
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,324

    Re: Conditional formatting - multiple values

    =ISNUMBER(MATCH(A1;B1:B5;0))
    =ISNUMBER(MATCH(A1;C1:C5;0))
    or use these formulas
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  5. #5
    Registered User
    Join Date
    05-16-2015
    Location
    Oslo, Norway
    MS-Off Ver
    2007
    Posts
    2

    Re: Conditional formatting - multiple values

    Cheers!

    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)

Similar Threads

  1. Replies: 5
    Last Post: 06-30-2016, 03:19 AM
  2. Conditional formatting, multiple values
    By amthyst826 in forum Excel General
    Replies: 4
    Last Post: 04-17-2012, 02:31 AM
  3. Conditional Formatting multiple values
    By spinkung in forum Excel General
    Replies: 2
    Last Post: 04-14-2010, 11:41 AM
  4. Conditional Formatting for multiple values
    By Daniinboston in forum Excel General
    Replies: 1
    Last Post: 08-03-2006, 12:40 PM
  5. Conditional Formatting, Multiple Values
    By Lara in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-28-2006, 06:45 PM

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