+ Reply to Thread
Results 1 to 4 of 4

Cell Reference and sorting

  1. #1
    Registered User
    Join Date
    10-26-2015
    Location
    Milwaukee
    MS-Off Ver
    2010/2013
    Posts
    22

    Cell Reference and sorting

    Ok so here is the situation.

    I have a variety of cells on Sheet 1 These are specific programs and the cells that hold the reference are not contiguous, that I would like to have a reference to Sheet 2 which lists all of the programs along with other information about those programs. There is a macro that runs automatically that adjusts values on Sheet 2 and sorts the data.

    The issue that i am running into is that if I use =Sheet2!Q9 in the Sheet 1 cell. When Sheet 2 gets sorted the cell reference in sheet 1 remains the same and is now pointing to the wrong value.

    Is there anyway to always associate the Sheet 1 cell with Sheet 2 cell with sorting. Is there a workaround for this, I am willing to use VBA to resolve this.

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Cell Reference and sorting

    This question is too ambiguous for me to help without a sample workbook.

    I would try to not have a hard link to a cell, but instead logic to find the cell, like INDEX or MATCH or something.
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Registered User
    Join Date
    10-26-2015
    Location
    Milwaukee
    MS-Off Ver
    2010/2013
    Posts
    22

    Re: Cell Reference and sorting

    I have attached a screen shot of the sheets in question, redacted the data that is sensitive. The actual workbook or a sample would be too intensive to post. Hopefully you can use this information.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Cell Reference and sorting

    What is the unique identifier for the COMPLETED yes or no?

    You should just use a VLOOKUP, but again a screenshot is not really adequate way for me to help you.
    Create a SAMPLE workbook that is representative of the actual workbook and have fake data in it.

+ 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. Cell Reference don't change on sorting hyperlinks!!
    By sid_melb in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-06-2015, 08:27 PM
  2. Replies: 3
    Last Post: 07-20-2015, 11:16 AM
  3. Cell Reference After Sorting
    By mattlandry in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-27-2011, 08:13 PM
  4. Sorting Rows, Cell Reference not Following
    By Ada01 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-26-2008, 11:41 AM
  5. Keeping Cell Reference Through Sorting
    By RayH in forum Excel General
    Replies: 3
    Last Post: 08-28-2006, 10:01 AM
  6. [SOLVED] Moving Cell Reference after Sorting
    By [email protected] in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 03-11-2006, 07:15 PM
  7. keep cell data in reference after sorting
    By Buster in forum Excel General
    Replies: 1
    Last Post: 09-25-2005, 06:05 PM

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