2 way cell linking

dsmart88

New Member
Joined
Feb 17, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I am trying to create a spreadsheet that has several sheets and a master sheet. I need to be able to link the data from the master sheet so users can edit specific cells in the corresponding sheet but then also pulls back the data they have entered into the master.

For simplicity, let’s say I have the following sheets;

Master
Apples
Oranges
Bananas

Data from Master A1:D5 is to be copied but only to the sheet I add in A1 i.e. apples in A1 will only link to apples sheet, A2 bananas to bananas sheet.

If I was also to change the sheet name in the cell it would link to the corresponding sheet.

I’ve been trying to find a way of doing this without VBA but I don’t think it’s possible as what I’ve done isn’t working right so I guess VBA would be my only option.

Thanks all for reading and hopefully someone can guide me in the right direction.
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
indirect() may help , using the cell as a sheet name

Data from Master A1:D5 is to be copied but only to the sheet I add in A1 i.e. apples in A1 will only link to apples sheet, A2 bananas to bananas sheet.
not sure how you are copying ?



Note: Images are difficult to see , and also requires that I input all the data myself, which is very time consuming.

A SMALL sample spreadsheet, around 10-20 rows, would help a lot here, with all sensitive data removed, and expected results mocked up and manually entered, with a few notes of explanation.

MrExcel has a tool called “XL2BB” that lets you post samples of your data and will allow us to copy/paste your sample data into our Excel spreadsheets, saving a lot of time.

You can also test to see if it works ok, in the "Test Here" forum.

OR if you cannot get XL2BB to work, or have restrictions on your PC , then put the sample spreadsheet onto a share
I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.
 
Upvote 0
Not sure if I have done the sample correct.

Basically...

Master - I add data in B-D. Q is pulled from the corresponding sheet based on B cell
Other sheets - B-D is pulling from master. Q is what the user can enter

However, using the formula's I have, it partially works where the data will go to the relevant sheet. However column Q doesn't change. You can see this on the Oranges sheet, Q8.

Hope that makes more sense.


dsmart88.xlsx
BCDQ
6SHEETPRODUCTPRICENOTES
7ApplesProduct Jan Res.£9.99Reserved Jan
8BananasProduct Feb Sold£9.990
9BananasProduct Feb Res.£9.990
10OrangesProduct Jan Sold£9.99Sold Feb
11#REF!
12#REF!
13#REF!
14#REF!
Master
Cell Formulas
RangeFormula
Q7Q7=VLOOKUP(H7,INDIRECT("'"&B7&"'!H7:U33"),10,FALSE)
Q8:Q14Q8=VLOOKUP(H8,INDIRECT("'"&B8&"'!H7:U999"),10,FALSE)


dsmart88.xlsx
BCDQ
6SHEETPRODUCTPRICENOTES
7ApplesProduct Jan Res.9.99Reserved Jan
8
9
10
11
12
13
14
Apples
Cell Formulas
RangeFormula
B7:P7B7=FILTER(Master!B:P,Master!B:B="Apples")
Dynamic array formulas.


dsmart88.xlsx
BCDQ
6SHEETPRODUCTPRICENOTES
7OrangesProduct Jan Sold9.99Sold Feb
8Resevered Feb
Oranges
Cell Formulas
RangeFormula
B7:P7B7=FILTER(Master!B:P,Master!B:B="Oranges")
Dynamic array formulas.


dsmart88.xlsx
BCDQ
6SHEETPRODUCTPRICENOTES
7BananasProduct Feb Sold9.99
8BananasProduct Feb Res.9.99
Bananas
Cell Formulas
RangeFormula
B7:P8B7=FILTER(Master!B:P,Master!B:B="Bananas")
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,214,976
Messages
6,122,539
Members
449,088
Latest member
RandomExceller01

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