Realigning Referenced cells to thier proper row/columns after sort.

Festus Hagen

New Member
Joined
Aug 1, 2011
Messages
40
Hi all,

Not even sure I'm speaking the right terms so please bear with me ...

Typically I include an ID column or row serialized to use to realign referenced cells to their original locations after sorts. I am cleaning up anothers creation.

Is there a faster technique other then a lookup and for loop digging out the elements for getting the column number and row number from an Absolute A1 notation text string ...

ie: Turning "=$A$1" into 1 by 1 or "=$X$50" into 26 by 50

Hopefully I've explained it clearly and correctly ...

Thanks

-Enjoy
fh : )_~
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Hi,

where are you getting the "=$A$1" or "=$X$50" from? They look like cell formulas. Are trying to find where the precedent cell of a cell is? Is this all in VBA? Or do you want cell formulas for this?
 
Upvote 0
Sorry, been off on a trip ...

I want to return the links back to their original locations...

Example: Sheet1 is a data table... I Selected the data and copied to Sheet2 and pasted links, then sheet2 got sorted, I want to put them back in their original places without recopying ...

So currently in cell A1 is the link '=$X$50', I want that '=$X$50 moved back to col=x, row=50.

Like a Defrag ... It'll have to move them from sheet to sheet or to a "Temp" location in the current sheet and then back when done to prevent overwriting.

Yes, I know I could just re-paste the links, that is not what I want to do.

Thanks ...

-Enjoy
fh <font color="#FF0000">:</font> )_~
 
Upvote 0

Forum statistics

Threads
1,224,524
Messages
6,179,304
Members
452,904
Latest member
CodeMasterX

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