+ Reply to Thread
Results 1 to 4 of 4

Highlight values

  1. #1
    Registered User
    Join Date
    05-24-2013
    Location
    Italy
    MS-Off Ver
    Mac
    Posts
    2

    Highlight values

    I have two columns of numeric values
    1 2
    10 1
    5 8
    ...

    I would like to highlight the values in one column that are less than the corresponding value in the other column. Referring to the example above, I would like to obtain something like this:

    *1* 2
    10 *1*
    *5* 8

    where the *_* stands for the highlighting.

    I am able to use conditional formatting on a single cell, but since the two columns are quite tall, I would like to automate the formatting by copying the 'formatting rule' onto each cell in the two column.

    Is that possible?

    Regards

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,740

    Re: Highlight values

    conditional formating should work as a formula

    assuming in column A
    select the column A
    then
    cond format
    formula
    =a1<b1

    then in column B
    new rule
    cond format
    =B1<A1
    Attached Files Attached Files
    Last edited by etaf; 05-24-2013 at 07:49 AM.

  3. #3
    Registered User
    Join Date
    05-24-2013
    Location
    Italy
    MS-Off Ver
    Mac
    Posts
    2

    Re: Highlight values

    I could not understand your answer.

    Values are not in full columns, they are located in a range of cells. I could use full columns but I'd rather not.

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,740

    Re: Highlight values

    sorry about that

    you do not need to apply to the whole - as in my attached spreadsheet is only a small part of the range

    what version of excel ?

    assuming the values are in columns A and B rows 2 to 200
    then highlight range A2:A200
    click on conditional format
    then got to formulas
    and type in formula section
    =a1<b1

    and change the format to the colour fill you want or font colour
    then OK and Apply

    now repeat but this time select B2:B200
    add a new rule
    =B1<A1
    OK and Apply

    otherwise can you attach a sample spreadsheet

+ 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