Sorting - Some data in another sheet

asallwey

Board Regular
Joined
Jul 26, 2005
Messages
101
I have a worksheet (call it #1) that lists Tasks. Date, and a couple more columns. I have a 2nd sheet that has a few of #1's tasks, along with more information on each. Sheet #1 works fine with several sort macros. Then I got the bright idea to go to the Date field in #2 and point it back to the Date field in #1 for a given task. Works fine until I sort #1. #2's formula is looking at the specific cell I targeted when I made the formula. The formula does not move with the Task, it continues to point to the cell.

Is there a way to point to the contents of the cell even when it moves around by sorting?

Thanks!

PS Excel 2007
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Sounds like you want to use VLOOKUP
 
Upvote 0
Ok, tunnel vision didn't let me think of using a function, I was just focused on the Task's row. I think I would have to build in a matching code field in the 2 sheets. Have to give it some thought.

Thanks for getting me thinking again!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,216,109
Messages
6,128,876
Members
449,476
Latest member
pranjal9

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