Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 4 of 4

Thread: Simple Conditional Formatting question...

  1. #1
    New Member
    Join Date
    Apr 2002
    Posts
    17
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Not simple for me, but maybe for you...

    In column A, I have a list of names
    In column B, numbers for each name
    Column C, more names
    Column D, numbers for these names

    Question, I want to compare the 2 numbers in each row and highlight the name corresponding to the higher number.

    Thanks, in advance

  2. #2
    New Member
    Join Date
    Apr 2002
    Posts
    17
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    ...By highlight, I mean shade (fill) and by name, I mean the cell containing the name

  3. #3
    MrExcel MVP Jay Petrulis's Avatar
    Join Date
    Mar 2002
    Location
    Chicago, IL USA
    Posts
    2,040
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    On 2002-04-16 17:02, Danny Boy wrote:
    Not simple for me, but maybe for you...

    In column A, I have a list of names
    In column B, numbers for each name
    Column C, more names
    Column D, numbers for these names

    Question, I want to compare the 2 numbers in each row and highlight the name corresponding to the higher number.

    Thanks, in advance
    How is the comparison to work?

    If as in the following:
    A1: Jay
    B1: 10
    C1: Danny
    D1: 20

    (you must've cheated to score higher than me)

    In Cell A1
    Format>Conditional Formatting
    FormulaIs =B1>D1

    In Cell C1
    Format>Conditional Formatting
    FormulaIs =D1>B1

    format to suit and copy down the range.

    If you want to match the names in each column, say

    A1: Jay
    A2: Danny
    C1: Danny
    C2: Jay

    and you want to compare Jay's scores in A and C (B1 vs D2) separately from Danny's scores in A and C (B2 vs. D1), then I'll leave that one to Aladin. My brain is too fried right now to work on that and he'll do it much better.

    Bye,
    Jay



    [ This Message was edited by: Jay Petrulis on 2002-04-16 17:54 ]

  4. #4
    New Member
    Join Date
    Apr 2002
    Posts
    17
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Thanks Jay, you got it with the first one...

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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