Cross linking of cells in differents sheets with reciprocal syncing

newbie22922792

New Member
Joined
Jan 20, 2021
Messages
8
Office Version
  1. 2016
Platform
  1. Windows
Hello everyone,

I want the cells from different sheets in the attached worksheet to be synced reciprocally. E.g. Table 1 cell K4 is "category", there is a similar cell in table2 K4 "category", and another one in table3 A2 "category". I want them all to be updated in all 3 ways. So that when I enter something in K4, it also appears in cells K4 (Table2) and A3 (Table3). Likewise, if i enter something in cell A2 (Table3) I want the content to appear in the other linked cells and so on.

The next step would be to extend this code to work with other cells, too. E.g. "Subcategroy" across all three sheets and so on.

Thanks a lot in advance to anyone who tries to help me!

The file is located here:

 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
If you cant download the file:

I have three sheets (Idea_Outline,Demand,Export) that have some cells that should be filled with identically information. To make it easier I would like to sync some cells with one another. If I enter something in K4(Idea_Outline), it should be visible in K4(Demand) and A2(Export), too. If I enter something in A2(Export) it should be visible in K4 & K4, and vice versa.
So far so good I have this working code (plus codes in sheets Demand & Export but slightly changed)

VBA Code:
Private Sub Worksheet_Change(ByVal Target As Range)
    If Intersect(Target, Range("K4") Is Nothing Then Exit Sub
    Application.EnableEvents = False
    Sheets("Demand").Range("K4") = Target
    Sheets("Export").Range("A2") = Target
    Application.EnableEvents = True
End Sub

But: I want to add other pairs of cells. How can I do this ? In the same sheet (Idea_Outline) I have also K5, which should be linked to K5 in Demand and B2 in Export.
I also have other pairs of cells in the same sheets. I only know how to write code for one pair of cells (as posted above). Your help is highly appreciated!
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,834
Messages
6,121,871
Members
449,055
Latest member
excelhelp12345

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top