Mirror both ways

Ben Clegg

New Member
Joined
Oct 10, 2017
Messages
4
Hi
Can someone help?

I have an excel workbook with 2 sheets (SH1 & SH2). The sheets are password protected so SH2 cannot see the information in SH1


In SH1 I have data in several rows
SH2 I have mirrored only certain rows (to hide certain information)
What I need to do is add a column in SH2 where information can be input and reflect into Sh1

I have tried mirroring in both directions and this seems to sort of work, the problem I am getting is if I sort a column in SH2 (which is mirrored to SH1)when I go back to look at SH1 the column mirrored from SH2 is now out of sync ?

In other words if I filter a column is messes up the information.

Very grateful of any help here
Cheers
Ben
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Does each data row have a unique value or anything you could use to identify that specific data row? I'm assuming you're directly referencing cells to create the mirroring, and that probably works fine in one direction. But if you have a unique identifier it might be better to use a VLOOKUP or combination of INDEX and MATCH mirroring back again. Does that make sense?
 
Upvote 0
It does have unique numbers as it's actually a stock sheet. Vlookup. Unfortunately I've not used that before? although I'm willing to learn.
What would I need yoi do?
 
Upvote 0
Ah no worries. I've built a pretty simple scenario here, hopefully you can change it to suit your database. Basically a VLOOKUP searches through a range to find the value you're looking for, and then returns the corresponding value from a specified number of columns to the right.

Alternatively, if the data you want is actually to the left, you can you INDEX and MATCH to return the position of a value in one column, and tell you what the value is at that position in another column.

[TABLE="class: grid, width: 1093"]
<colgroup><col span="3"><col><col><col><col span="2"></colgroup><tbody>[TR]
[TD]Sheet 1[/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][/TD]
[TD]Unique ID[/TD]
[TD]Data Value[/TD]
[TD]Mirrored Added Data[/TD]
[TD]Or Another Option[/TD]
[TD][/TD]
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/TD]
[TD]12[/TD]
[TD]Jerry[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD][/TD]
[TD]13[/TD]
[TD]Jeff[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]16[/TD]
[TD][/TD]
[TD]14[/TD]
[TD]Joe[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]17[/TD]
[TD][/TD]
[TD]15[/TD]
[TD]Jeff[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


[TABLE="class: grid, width: 533"]
<colgroup><col span="2"><col><col><col><col></colgroup><tbody>[TR]
[TD]Sheet 2[/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][/TD]
[TD]Mirrored Unique ID[/TD]
[TD]Mirrored Data Value[/TD]
[TD]Added Data[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]Joe[/TD]
[TD]red[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][/TD]
[TD]2[/TD]
[TD]Jane[/TD]
[TD]blue[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD][/TD]
[TD]3[/TD]
[TD]Jack[/TD]
[TD]green[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD][/TD]
[TD]4[/TD]
[TD]Jane[/TD]
[TD]blue[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD][/TD]
[TD]5[/TD]
[TD]Jerry[/TD]
[TD]blue[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[TD]6[/TD]
[TD]Jack[/TD]
[TD]green[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD][/TD]
[TD]7[/TD]
[TD]Jack[/TD]
[TD]blue[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD][/TD]
[TD]8[/TD]
[TD]Jeff[/TD]
[TD]red[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD][/TD]
[TD]9[/TD]
[TD]Jerry[/TD]
[TD]red[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD][/TD]
[TD]10[/TD]
[TD]Joe[/TD]
[TD]green[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD][/TD]
[TD]11[/TD]
[TD]Jack[/TD]
[TD]red[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]14[/TD]
[TD][/TD]
[TD]12[/TD]
[TD]Jerry[/TD]
[TD]blue[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD][/TD]
[TD]13[/TD]
[TD]Jeff[/TD]
[TD]green[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]16[/TD]
[TD][/TD]
[TD]14[/TD]
[TD]Joe[/TD]
[TD]green[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]17[/TD]
[TD][/TD]
[TD]15[/TD]
[TD]Jeff[/TD]
[TD]red[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
NiMip
Thanks for the reply , I think I understand this and will give it a try .
Thanks again for your help here , much appreciated

Ben
 
Upvote 0
They take a little bit of getting your head around, but once you're familiar with them they're great formulas to have in your arsenal! You're welcome and I hope you can translate it to your spreadsheet easily enough.
 
Last edited:
Upvote 0
Do you mean you'd like to add extra rows to the data set and they're not popping up on the other sheet? You'll have to fill the formulas down another row every time you add new data.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,184
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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