+ Reply to Thread
Results 1 to 7 of 7

how to make each identical value be highlighted on separate sheets

  1. #1
    Forum Contributor
    Join Date
    06-28-2013
    Location
    usa
    MS-Off Ver
    Excel 2013
    Posts
    192

    Question how to make each identical value be highlighted on separate sheets

    *sample file attached

    This is an excel question but relating to fantasy football. Say for example I have Tom Bradys name on 2 separate sheets. Instead of me manually crossing off/highlighting tom bradys name on both sheets, is there a way in which I can cross off/highlight his name on sheet 1 and have sheet 2 do the same automatically? Basically, anything I do on sheet 1 for it to do the same on sheet 2 automatically for the corresponding cell value.

    thank you
    Attached Files Attached Files

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,008

    Re: how to make each identical value be highlighted on separate sheets

    .
    Paste this into the Sheet Module for Sheet1.

    Then, when you double click any name in Col A / Sheet 1 ... it searches Col A / Sheet 2 for same name. If found the cell Sheet 1 is highlighted.

    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,823

    Re: how to make each identical value be highlighted on separate sheets

    As long as your sheets are identical (and it looks like they are), if you select both sheets (hold the control key while selecting the other sheet), basically anything you do on one sheet also happens on the other (in the same cell). This works if you want to add info to a cell as well (say you want to add a column for another person on both sheets, select both sheets and type in the name and the numbers down the column and it will update both sheets. Don't forget to just select one sheet if you want to just update one sheet.

  4. #4
    Forum Contributor
    Join Date
    06-28-2013
    Location
    usa
    MS-Off Ver
    Excel 2013
    Posts
    192

    Re: how to make each identical value be highlighted on separate sheets

    Thanks Logit, I am very new to VBA. I copied and pasted your code in to the "module" and saved my file as a xlsm. When I double click nothing happens. Could you please upload the file that way I can download it?

    Thank you

  5. #5
    Forum Contributor
    Join Date
    06-28-2013
    Location
    usa
    MS-Off Ver
    Excel 2013
    Posts
    192

    Re: how to make each identical value be highlighted on separate sheets

    Thanks Greg, I see your tricked worked but actually when I do this for the draft, each sheet will NOT be identical. For my sample I kept it the same, I guess I wasnt thinking. So yes your trick works but it will not work when I have two different lists (even though they are the same players, their rankings will not be the same.

  6. #6
    Registered User
    Join Date
    07-01-2018
    Location
    Houston, TX.
    MS-Off Ver
    Office 365
    Posts
    93

    Re: how to make each identical value be highlighted on separate sheets

    I added the vba code in the proper place for you & needed to edit your sheet name, it had a space in it and this caused an error. more than 1 way to do this. hope it helps
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    07-01-2018
    Location
    Houston, TX.
    MS-Off Ver
    Office 365
    Posts
    93

    Re: how to make each identical value be highlighted on separate sheets

    added ability to toggle your selection on sheet 1, now double click highlights another double click un-highlights, and you can rename your tabs to whatever you want. Thank you Logit for the initial code.
    Attached Files Attached Files

+ 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. parallel identical tables in two separate sheets
    By atayana in forum Excel General
    Replies: 2
    Last Post: 09-29-2018, 01:56 AM
  2. How to make the fill color of 2 column in separate sheets match
    By Siegetrain in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-17-2018, 03:51 PM
  3. can make separate sheets for different companies?
    By danielpak in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 01-05-2017, 08:03 AM
  4. Replies: 11
    Last Post: 10-08-2015, 05:18 AM
  5. How to join two separate sheets, with identical columns, with no unique connector
    By andrew.jh.martin in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 02-13-2015, 08:31 AM
  6. Macro to make charts in separate sheets
    By SVanHall in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-06-2014, 03:40 AM
  7. [SOLVED] Lookup the datas from all sheets and make summary on a separate sheet
    By PRADEEPB270 in forum Excel General
    Replies: 1
    Last Post: 03-30-2012, 03:17 AM

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