+ Reply to Thread
Results 1 to 7 of 7

"Linking" Cells to always have the same value

  1. #1
    Forum Contributor dagindi's Avatar
    Join Date
    06-02-2008
    Location
    New York, NY
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    295

    "Linking" Cells to always have the same value

    I dont think this is possible because of circular references but I figured I would ask.

    Is it possible for Cell A1 on Sheet1 to always match Cell A1 on Sheet2 no matter which cell I change?

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,820

    Re: "Linking" Cells to always have the same value

    Place this formula in A1 of Sheet1: =Sheet2!A1
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Forum Contributor dagindi's Avatar
    Join Date
    06-02-2008
    Location
    New York, NY
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    295

    Re: "Linking" Cells to always have the same value

    Thanks for that, however, it won't work because I need to be able to change either cell any give time. If I change A1 Sheet1 then that change needs to show up in A1 Sheet2. If I change A1 Sheet2 then that change needs to show up in A1 Sheet1.

  4. #4
    Forum Expert
    Join Date
    10-02-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    1,222

    Re: "Linking" Cells to always have the same value

    With a macro yes. You would likely have to do 2 routines, 1 for each sheets change event in which you would:
    • Check that the change was for the desired cell(s) only
    • Set the other cell on the other sheet to the same value

  5. #5
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,820

    Re: "Linking" Cells to always have the same value

    Place this macro in the worksheet code module for Sheet1:
    Please Login or Register  to view this content.
    Place this macro in the worksheet code module for Sheet2:
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor dagindi's Avatar
    Join Date
    06-02-2008
    Location
    New York, NY
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    295

    Re: "Linking" Cells to always have the same value

    Thanks! I got a error:

    Run-time error '28':

    Out of stack space

  7. #7
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,820

    Re: "Linking" Cells to always have the same value

    I tried it on a sample file and it worked properly. It would be easier to help if I could test it on your file. Can you attach a copy?

+ 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. Replies: 5
    Last Post: 02-05-2019, 12:03 AM
  2. [SOLVED] Column X-Ref list - Sheet1 Col A "pages", Col B:FL "Req" to Sheet2 ColA "req", ColB "page"
    By excel-card-pulled in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-07-2017, 09:30 AM
  3. Replies: 5
    Last Post: 01-23-2014, 11:02 AM
  4. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  5. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  6. [SOLVED] Data validation: allow entry into a cell if other three cells have "X", "Y" and "Z"?
    By RogerRangeRover in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-05-2013, 04:49 AM
  7. "linking" objects to cells
    By killa_ky in forum Excel General
    Replies: 6
    Last Post: 07-31-2008, 06:21 PM

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