+ Reply to Thread
Results 1 to 3 of 3

Linked cells no longer link when list is alphabetised

  1. #1
    Registered User
    Join Date
    08-15-2018
    Location
    London, England
    MS-Off Ver
    Excel for Mac 2011
    Posts
    3

    Linked cells no longer link when list is alphabetised

    Hi everyone - hoping someone might be able to help with my dilemma.

    Within my spreadsheet, I have one sheet that is linked with another (i.e. typed values Sheet 2 returns values in Sheet 1). Sheet 2 runs a macro that alphabetises names and the data moves with the names; the problem that I have is that when the list is alphabetised and the names change row, the formulas typed in Sheet 1 to return the data from Sheet 2 no longer reference the correct cell and so the incorrect data is pulled over.

    Is there a way to keep the row number the same and so the numbers are out of order on the left hand side of the spreadsheet but the reference, therefore, is maintained? Or is there another way to combat this?

    Thanks for your help.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Linked cells no longer link when list is alphabetised

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    Registered User
    Join Date
    08-15-2018
    Location
    London, England
    MS-Off Ver
    Excel for Mac 2011
    Posts
    3

    Re: Linked cells no longer link when list is alphabetised

    Thank you for your reply.

    I've attached a simplified version of the spreadsheet to hopefully show what I mean.

    In the spreadsheet are two class sheets and one maths group sheet illustrating before my problem occurs and a copy of each sheet showing the problem after.

    Next to each name, I have a maths set to put them in (for the purposes of the explanation, only group 1 is included). So when 'Maths Set' shows "1", this populates the names into this maths sheet.

    The maths sheet is then linked to each class sheet by formula of =MAX because of the 4 maths sets I want the highest value returned to the class list cell.

    So in the 'BEFORE' sheets you can see that the data inputted into the maths sheet populates in the class list next to the corresponding names. Once the maths list has been alphabetised, the names change row number in this sheet and so no the numbers no longer populate in the correct cell in the class list sheet because the row number has changed and the =MAX formula is incorrect for that cell number.

    Is there a way that when the row changes number, the correct numbers still populate next to the corresponding names?

    Thank you very much for your time.
    Attached Files Attached Files

+ 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] Make D.V. list dynamic even if source list is linked to other cells that are empty
    By kosherboy in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-24-2015, 07:35 PM
  2. [SOLVED] Can no longer paste a table as a linked image
    By opusarlo in forum Excel General
    Replies: 1
    Last Post: 04-26-2015, 02:02 AM
  3. Replies: 2
    Last Post: 02-27-2015, 04:20 PM
  4. trying to link cells that imitate the format of the cells linked to it.
    By yurikoma in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-18-2013, 07:36 PM
  5. Replies: 7
    Last Post: 07-04-2013, 06:27 PM
  6. Query Linked to Excel No Longer Available From Data Link
    By JazzLover in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 06-23-2011, 02:38 PM
  7. Linked Cells - Have part of the link be variable or a formula?
    By CVinje in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-23-2009, 06:37 AM

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