Sorting linked worksheets when there are unlinked cells in a row

texacali

New Member
Joined
Jan 24, 2013
Messages
1
2 columns from Sheet B are linked from Sheet1. When I sort Sheet1, by Linker#, it changes the display on Sheet 2. The Unlinked column isn’t tied to anything, so gets out of order with the other items on Sheet 2. Do you know how I can keep the rows in Sheet2 intact? Maybe using another function (other than =).

I’m doing this because I’ll add items to Sheet1 and want it to populate Sheet2, but when I sort by linker# (for my case, it will be date), the rows remain intact.

Thoughts? Thanks for your help. Sample is attached.

Sheet1:
LINKERALINKER#
A5
B23
C3
D5
E3
F7
G5
H8
I90
J4
K7
L5
M1
N2
O54
P
3

<colgroup><col><col></colgroup><tbody>
</tbody>


Sheet2:
LINKEDAUNLINKEDLINKED#
AAlpha5
BBravo23
CCharlie3
DDelta5
EEcho3
FFoxtrot7
GGolf5
HHotel8
I90
JJuliet4
KKilo7
LLima5
MMama1
NNovember2
OOthello54
PPapa3

<colgroup><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Hi when you link a cell to any other cell, it links the cell address (for example cell A3) and not the value in cell A3. If you need to do any modification in the source data later on which will change the values in the source cells, you should use some formula. In your case the simplest formula is VLOOKUP. You can understand it using office help.

If I copy the above data including headings in to 2 different sheets starting cell A1, the formula in cell C2 of Sheet2 would be: =VLOOKUP(A2,Sheet1!$A$1:$B$17,2,FALSE). This will give you the desired value (5) in cell C2. After applying this formula to all desired cells in Sheet2, you can sort the source data. The reults would remain unchanged.

Moazzam
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,720
Members
448,986
Latest member
andreguerra

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