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

Thread: compare numbers

  1. #1
    Board Regular
    Join Date
    Mar 2002
    Location
    Jackson, MI
    Posts
    90
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    The winning numbers are: 01 04 07 10

    My numbers are: 02 09 10 08
    10 05 08 01 etc.

    I want Excel to highlight the cell that each winning number is in.

    thanks...

  2. #2
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    83,645
    Post Thanks / Like
    Mentioned
    33 Post(s)
    Tagged
    6 Thread(s)

    Default

    On 2002-05-13 05:53, gronkette1 wrote:
    The winning numbers are: 01 04 07 10

    My numbers are: 02 09 10 08
    10 05 08 01 etc.

    I want Excel to highlight the cell that each winning number is in.

    thanks...
    Lets say that the winning numbers are in A1:D1 and your numbers are in row 3 fron A3 on.

    Select all of your own numbers.
    Activate Format|Conditional Formatting.
    Select Formula Is for Condition 1.
    Enter as formula:

    =COUNTIF($A$1:$D$1,A3)>0

    Activate Format.
    Select color from the Patterns tab.
    Activate OK, OK.


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
  •