Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old December 2nd 04, 09:19 PM
GRITS
 
Posts: n/a
Default Maintaining cell reference after sorting

Hi Deets LaMoss

I'm having similiar difficulty. Relative cell reference act like an absolute
reference. When the precedent worksheet is sorted the decendant worksheet
reflects the cell reference prior to the sort. My experience has been that by
using relative reference formats =A1 the cell reference would change with a
sort in the precedent worksheet, always giving the same result in the
decendant worksheet. Using absolute reference would force the data to always
reflect what was in the cell referenced. If 10 was in cell A1 and a sort
moved it to A99, the number 10 would still be reported in the linked cell.
Using absolute reference =$A$1, the sort would report whatever data was moved
into the =$A$1 cell. Never had this happen before and have yet to resolve.
i'm wondering if there is a global setting that lock the spreedsheet or if
various format setting cause this problem.

"Frank Kabel" wrote:

Hi
you can't. A link is referring to the cell and not to the content. So
sorting does NOT change the reference. Maybe you could add a unique ID to
each row/record and use VLOOKUP to get the correct record/value

"Deets LaMoss" wrote:

Is there a way to maintain a cell reference after sorting a table? I want to
identify the row number of a specific cell after sorting. I have tried using
"InsertName" with both absolute and relative addresses. Neither one gives
me what I need. I am literate in VB if I need to write a macro.

Thanks in advance.


  #2   Report Post  
Old December 2nd 04, 09:30 PM
Frank Kabel
 
Posts: n/a
Default

Hi
in this case it does not matter whether you use a relative or absolute
reference. Sorting will not change the reference in either case.

--
Regards
Frank Kabel
Frankfurt, Germany

"GRITS" schrieb im Newsbeitrag
...
Hi Deets LaMoss

I'm having similiar difficulty. Relative cell reference act like an

absolute
reference. When the precedent worksheet is sorted the decendant

worksheet
reflects the cell reference prior to the sort. My experience has been

that by
using relative reference formats =A1 the cell reference would change

with a
sort in the precedent worksheet, always giving the same result in the
decendant worksheet. Using absolute reference would force the data to

always
reflect what was in the cell referenced. If 10 was in cell A1 and a

sort
moved it to A99, the number 10 would still be reported in the linked

cell.
Using absolute reference =$A$1, the sort would report whatever data

was moved
into the =$A$1 cell. Never had this happen before and have yet to

resolve.
i'm wondering if there is a global setting that lock the spreedsheet

or if
various format setting cause this problem.

"Frank Kabel" wrote:

Hi
you can't. A link is referring to the cell and not to the content.

So
sorting does NOT change the reference. Maybe you could add a unique

ID to
each row/record and use VLOOKUP to get the correct record/value

"Deets LaMoss" wrote:

Is there a way to maintain a cell reference after sorting a

table? I want to
identify the row number of a specific cell after sorting. I have

tried using
"InsertName" with both absolute and relative addresses. Neither

one gives
me what I need. I am literate in VB if I need to write a macro.

Thanks in advance.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to cell reference a Chart title Rasoul Khoshravan Azar Charts and Charting in Excel 2 January 1st 05 06:00 PM
make a cell empty based on condition mpierre Charts and Charting in Excel 2 December 29th 04 02:01 PM
copy paste cell character limit Fred Excel Discussion (Misc queries) 1 December 2nd 04 09:58 PM
Transferring cell content between workbooks using cell references Kiwi Mike Excel Discussion (Misc queries) 2 November 28th 04 12:31 AM
cell reference in a formula is called ??????????? Excel Discussion (Misc queries) 1 November 26th 04 05:03 PM


All times are GMT +1. The time now is 02:49 PM.

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright 2004-2019 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"

 

Copyright © 2017