+ Reply to Thread
Results 1 to 13 of 13

2 columns of 2 different sheets if Not matched it will highlight

  1. #1
    Forum Contributor
    Join Date
    01-23-2016
    Location
    karachi
    MS-Off Ver
    2007
    Posts
    316

    2 columns of 2 different sheets if Not matched it will highlight

    HI Experts,
    I have 2 tabs in 1 excel file, both tab have same column, I need in 2nd tab which data is not entered in 1st tab that will highlight in 2nd tab,

    Thanks in advance.
    Far
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: 2 columns of 2 different sheets if Not matched it will highlight

    This can be done with conditional formatting and the MATCH command. =ISNA(MATCH(A1,'1st'!$A$1:$A$18,0)) Match looks for the value in A1 in the range A1:B18 on the first sheet. If it finds it, it returns the row number on which it was found. If it does not find it, it returns #N/A.
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: 2 columns of 2 different sheets if Not matched it will highlight

    In your 2nd tab, A1, go to Conditional Formatting. New Rule. Use a formula.
    Enter:
    Please Login or Register  to view this content.
    Format as desired. Copy your format down with the format painter.

    Pete
    Last edited by PeteABC123; 01-02-2019 at 05:20 PM.

  4. #4
    Forum Contributor
    Join Date
    01-23-2016
    Location
    karachi
    MS-Off Ver
    2007
    Posts
    316

    Re: 2 columns of 2 different sheets if Not matched it will highlight

    Hi pete, I have put formula it is showing error "you cannot use reference to other worksheets or workbooks for conditional formatting criteria"

  5. #5
    Forum Contributor
    Join Date
    01-23-2016
    Location
    karachi
    MS-Off Ver
    2007
    Posts
    316

    Re: 2 columns of 2 different sheets if Not matched it will highlight

    dfla, I have tried but it is not working

  6. #6
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: 2 columns of 2 different sheets if Not matched it will highlight

    You must use named ranges:
    FirstSheet ='1st'!$A$1:$A$18
    SecondSheet ='2nd '!$A$1:$A$21
    then conditional format formula (on the first sheet) looks like:
    =ISNA(MATCH(A1,SecondSheet,0))
    Ben Van Johnson

  7. #7
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: 2 columns of 2 different sheets if Not matched it will highlight

    Minor correction. Try this in CF:
    Please Login or Register  to view this content.
    Pete
    Last edited by PeteABC123; 01-02-2019 at 06:09 PM.

  8. #8
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: 2 columns of 2 different sheets if Not matched it will highlight

    Must be a 2007 thing. It works in 2013 and 2016. Named ranges are the way to go.

  9. #9
    Forum Contributor
    Join Date
    01-23-2016
    Location
    karachi
    MS-Off Ver
    2007
    Posts
    316

    Re: 2 columns of 2 different sheets if Not matched it will highlight

    tried but not working, can you please send me in Excel file?

  10. #10
    Forum Contributor
    Join Date
    01-23-2016
    Location
    karachi
    MS-Off Ver
    2007
    Posts
    316

    Re: 2 columns of 2 different sheets if Not matched it will highlight

    I'm using 2007 version

  11. #11
    Valued Forum Contributor PeteABC123's Avatar
    Join Date
    09-21-2012
    Location
    Chicago, IL
    MS-Off Ver
    MS Office 365 ver 2202
    Posts
    1,104

    Re: 2 columns of 2 different sheets if Not matched it will highlight


  12. #12
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,610

    Re: 2 columns of 2 different sheets if Not matched it will highlight

    Please Login or Register  to view this content.
    Attached Files Attached Files

  13. #13
    Forum Contributor
    Join Date
    01-23-2016
    Location
    karachi
    MS-Off Ver
    2007
    Posts
    316

    Re: 2 columns of 2 different sheets if Not matched it will highlight

    Thank You protonLeah

+ 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. How to highlight cell which is not matched from another sheet
    By Liju144 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-17-2017, 01:10 PM
  2. Match 2 Columns in two sheets; copy an offset Column of matched Row to Sheet 1
    By sureng20 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-01-2017, 03:08 AM
  3. [SOLVED] How to highlight matched name in two column?
    By Indra Rai in forum Excel General
    Replies: 3
    Last Post: 10-20-2016, 03:50 AM
  4. [SOLVED] Highlight matched values
    By fatalcore in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-11-2013, 01:41 PM
  5. Replies: 9
    Last Post: 04-18-2013, 03:54 PM
  6. Match two Columns of two Sheets and Copy Matched Rows to a Third Sheet
    By Par in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-08-2012, 10:16 AM
  7. Highlight matched data in different worksheets
    By ndikondayesu in forum Excel General
    Replies: 3
    Last Post: 12-13-2006, 12:49 PM

Tags for this Thread

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