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

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
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,215,537
Messages
6,125,389
Members
449,222
Latest member
taner zz

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