+ Reply to Thread
Results 1 to 9 of 9

conditional formating between sheets

  1. #1
    Registered User
    Join Date
    08-30-2010
    Location
    chennai, india
    MS-Off Ver
    Excel 2003
    Posts
    11

    Question conditional formating between sheets

    Hi,

    I want to do compare a cell value in SheetA with another cell value in SheetB and do the conditional format for the cell value in SheetA.

    I tried but not able to succeed. Can anyone please help in this.

    Advance thanks

    - kalaiarasan

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: conditional formating between sheets

    Hi,

    Assign the cell on Sheet B as a named range, and then use the named range in the conditional formatting formula.
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: conditional formating between sheets

    ... or upgrade to Excel 2010. I love it! No more named ranges just for data validation or CF.

  4. #4
    Registered User
    Join Date
    08-30-2010
    Location
    chennai, india
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: conditional formating between sheets

    Hi,

    Actually i dont have a range of values in sheetB. Only a single cell. I tried using the formula,
    Isnumber(match(lookup_value in SheetA, lookup_value in sheetB,0)

    But it didn't work. PLease help me to sort this condition

    Thanks
    -Kalaiarasan

  5. #5
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: conditional formating between sheets

    Your formula is missing a closing parens

    =ISNUMBER(MATCH(sheet1value, sheet2value,0))

    where sheet1value is a named range in sheet1 and sheet2value is a named range in sheet2

    cheers

  6. #6
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: conditional formating between sheets

    You could also use

    =sheet1value=sheet2value

    that saves you the whole Isnumber and Match broohaha.

  7. #7
    Registered User
    Join Date
    08-30-2010
    Location
    chennai, india
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: conditional formating between sheets

    Hi,

    I am a novice in excel. I attached the sample of my problem. Please help me and thx for your effort

    - kalaiarasan
    Attached Files Attached Files

  8. #8
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: conditional formating between sheets

    Assuming you don't just want to compare one cell, but each cell of the table with the respective cell of the table in the other sheet, you will need a helper table.

    The formula in the helper table is

    =B5=B!C7

    copied across and down.

    Now, select your whole table in sheet A and enter this formula for conditional formatting:

    =H5=FALSE

    Assign the format of your choice and hit OK

    Now each cell in the table will turn red if its respective counterpart in sheet B is not the same value. You can hide the columns with the helper table, if it mucks up your spreadsheet design.

    Note that there are no $ signs in the cell reference.

    see attached.

    cheers
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    08-30-2010
    Location
    chennai, india
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: conditional formating between sheets

    Great help. Thank you very much.

+ 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