+ Reply to Thread
Results 1 to 6 of 6

I want to link one cell to another cell but link to remain when I 'Sort'.

  1. #1
    Registered User
    Join Date
    08-13-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    3

    Question I want to link one cell to another cell but link to remain when I 'Sort'.

    Via '=', I want to link one cell (eg B10) to another cell (say D15), but when I 'Sort' the column containing D15 and it moves to say D18, I want the link to stay with the original cell, i.e., D18 not stay on D15.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,723

    Re: I want to link one cell to another cell but link to remain when I 'Sort'.

    Use absolute addressing, i.e.:

    =$D$15

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    08-02-2013
    Location
    Wageningen, The Netherlands
    MS-Off Ver
    365
    Posts
    495

    Re: I want to link one cell to another cell but link to remain when I 'Sort'.

    To keep referring to a cell that changes coordinates, you need to find something else about that cell that stays unique.
    I suppose the content of the cell changes from time to time (else there wouldn't be much sence in referring to it), so see if it has a unique cell next to it (that is sorted along with the other cell). So if this D15 has a cell next to it (E15) with a unique value, just use something like a LOOKUP formula to find D15 via E15 (or D18 via E18 when sorted).
    Last edited by L-Drr; 08-14-2013 at 05:52 AM.
    When I say semicolon, u say comma!

  4. #4
    Registered User
    Join Date
    08-13-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    3

    Re: I want to link one cell to another cell but link to remain when I 'Sort'.

    Thanks for the reply Pete.

    But $D$15 just cements D15 as the cell location. I want to have the link to the original number in D15 and stay linked as it moves to a new location.

    Trumby
    Last edited by trumby; 08-14-2013 at 03:32 PM.

  5. #5
    Registered User
    Join Date
    08-13-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    3

    Re: I want to link one cell to another cell but link to remain when I 'Sort'.

    Thanks L-Drr,

    But I'm looking for something a bit simpler and which will work with many links. The example I gave was for one link but I want this to work with hundreds of links.

    Cheers

    Trumby

  6. #6
    Forum Contributor
    Join Date
    08-02-2013
    Location
    Wageningen, The Netherlands
    MS-Off Ver
    365
    Posts
    495

    Re: I want to link one cell to another cell but link to remain when I 'Sort'.

    I don't know if there is an easy way for this...

    Maybe it is possible to write an array formula (or something like that) to use instead of the sorting option? Anybody with array knowledge who knows if this can be done?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Trying to get a value to remain copy into a cell and remain the same when condition met
    By shadowlost in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-24-2013, 11:47 AM
  2. Auto-Converting Cell Value to link & moving rows of data based on cell value
    By Th3Forgotten in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-15-2013, 08:05 AM
  3. Click cell, link to a page, filter and sort data
    By spreaderman in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-12-2012, 03:47 AM
  4. [SOLVED] if i sort cell that has link to another page how to keep link
    By steve Bahrain in forum Excel General
    Replies: 1
    Last Post: 08-16-2006, 08:25 AM
  5. Hyperlink-link so that when a cell moves the link also moves?
    By peters in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-15-2006, 01:30 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1