Linked sheets and sorting

justme

Well-known Member
Joined
Aug 26, 2002
Messages
722
I have a workbook which has linking between two sheets. I just determined this morning that when I sort the first sheet the link does not follow on the second sheet. The calculations are set to automatic. The link style is just ='First sheet name!K7.

I was thinking it would follow the line when it sorted. The first sheet has the ability to sort by multiple columns, so I really need the link on the second sheet to be dynamic.
 

Some videos you may like

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

justme

Well-known Member
Joined
Aug 26, 2002
Messages
722
ok, linking may not be the way to go. Vlookup should work right? Tried this and I get a #N/A error.

=VLOOKUP(A7,'Sheet1'!A7:K150,11,2)

Where I want the value in A7 on sheet 2 to match the lookup on Sheet1, and then return the value in column 11 on Sheet1. What is my error?
 

justme

Well-known Member
Joined
Aug 26, 2002
Messages
722
If you are following this post, I found my error, formula should be:

=VLOOKUP(A7,'Sheet1'!A7:K150,11,0)
 

Watch MrExcel Video

Forum statistics

Threads
1,122,955
Messages
5,599,040
Members
414,280
Latest member
morralletti

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
Top