+ Reply to Thread
Results 1 to 3 of 3

Sorting Linked data

  1. #1
    Registered User
    Join Date
    12-31-2007
    Posts
    33

    Sorting Linked data

    Can anybody please help me.

    I have got two worksheets in a workbook. Data from one worksheet is linked to the other. I need to be able to sort the data on the source sheet, but the linked data on the destination sheet must stay where it is.

    Unfortunatly when I sort the data on the source sheet the linked data on the destination sheet also moves.

    I have attached the two sheets.

    Thanks.
    Attached Files Attached Files

  2. #2
    Forum Contributor Portuga's Avatar
    Join Date
    02-20-2004
    Location
    Portugal
    MS-Off Ver
    365
    Posts
    852
    Insert the following formula in cell O9 of your destination sheet:

    =if(iserror(vlookup(C9;'Source Sheet'!$C$8:$N$20;12;FALSE));0;Vlookup(C9;'Source Sheet'!$C$8:$N$20;12;FALSE))

    You can drag down to all cells bellow.

    The only possible issue with this one is if you misspel the name of species in the source will show up as blank in the main one. (due to the Iserror statement in this formula)

    One possible solution is to have in the formula "True" instead of "False"


    False at the end will only return exact matches of the data, True will give you the closest match (according to excel rules)

    --------------------------------------------------------------------------------
    Last edited by Portuga; 03-12-2008 at 08:55 PM.
    If you found the solution to your question. Mark the thread as "Solved"
    Thank everyone that helped you with a valid solution by clicking on their

    There is no such thing as a problem, only a temporary lack of a solution

  3. #3
    Registered User
    Join Date
    12-31-2007
    Posts
    33

    Problem sorted out

    Well done Portuga,

    The formula works a treat. There can't be any problems with mis-spelling species names as I copied from one list to the other.

    Thanks again I've been struggling with this one for days.

    Peter.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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