+ Reply to Thread
Results 1 to 7 of 7

maintain cell references from Sheet1 in Sheets2-6, sort by different columns in Sheets2-6

  1. #1
    Registered User
    Join Date
    12-27-2012
    Location
    Greece, NY
    MS-Off Ver
    365
    Posts
    59

    Question maintain cell references from Sheet1 in Sheets2-6, sort by different columns in Sheets2-6

    Here's my situation:

    Sheet1 contains my source data, sorted alphabetically by Name.

    I want Sheet2 to use cell references from Sheet1, not the values.
    Then I want to be able to sort Sheet2 by a different column.

    None of these have worked:
    * inserting a new sheet, then copying the data.
    * inserting a new sheet, then look in Paste Special, but I don't see an option for cell references.
    * Copying Sheet1.

    Questions:
    + What commands do I need to use to make this happen?
    + Am I right that I need absolute references, not relative?

    Thanks,

    Nancy

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,526

    Re: maintain cell references from Sheet1 in Sheets2-6, sort by different columns in Sheets

    As you are using the 365 version of Excel I have a feeling that you could use Get & Transform to do what you want, which I assume is have Sheet2 be dynamic with respect to Sheet1.
    It might help if we could see a sample of the source data (instructions for uploading an .xlsx file are given in the banner at the top of the page).
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Forum Contributor
    Join Date
    05-03-2021
    Location
    Nashville
    MS-Off Ver
    MS Office 365
    Posts
    184

    Re: maintain cell references from Sheet1 in Sheets2-6, sort by different columns in Sheets

    As JeteMc pointed out, an example sheet might help. but if you are referencing a cell but then you want to be able to sort that data on a different sheet, have you tried INDIRECT?

  4. #4
    Registered User
    Join Date
    12-27-2012
    Location
    Greece, NY
    MS-Off Ver
    365
    Posts
    59

    Re: maintain cell references from Sheet1 in Sheets2-6, sort by different columns in Sheets

    Sorry for the delayed response.

    I'm attaching part of the spreadsheet.

    Name Sort is the data sheet. I want to automate the following:

    1. Populate worksheets for different sorts (i.e. Division, Blooms) using the Name Sort cell references

    2. Add or delete rows in Name Sort and have them appear or disappear from the other worksheets.
    For example: Abba (row 3 on Name Sort) is Division 4 and Blooms 2 - early. If I delete the Abba row, I want it deleted on the Division & Blooms worksheets too.
    Conversely, when I insert a new row to add a new bulb's information in Name Sort, I want it to show up sorted correctly in the Division & Blooms worksheets.

    One other note:

    I'm not familiar with many of Excel's commands, so please be patient with me ... My daughter created the drop downs at the top of each column, but I'm not sure if/how they can be used in this situation. She also suggested a Pivot Table, but I'm not very familiar with those either.
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,526

    Re: maintain cell references from Sheet1 in Sheets2-6, sort by different columns in Sheets

    There isn't an indication of the desired results on the Division or Bloom Sort sheets so this is an example of what might be done using Power Query (Get & Transform).
    1. Convert the range on the Name Sort sheet into a table
    2. On the Data tab select From Table/Range
    3. If there are no changes that need to be made then select Close and Load To:
    4. Select cell A3 on the Division Sort sheet and select OK
    5. Repeat steps 2:4 for the table on the Blooms Sort sheet
    When you delete/add a row from/to the Name Sort Table you will need to go to the Data tab and select Refresh All.
    Note that in the file Abba was deleted and New Bloom was added.
    Let us know if you have any questions.

  6. #6
    Registered User
    Join Date
    12-27-2012
    Location
    Greece, NY
    MS-Off Ver
    365
    Posts
    59

    Re: maintain cell references from Sheet1 in Sheets2-6, sort by different columns in Sheets

    Thank you so much. This was what I was looking for, and there's no way I would have been able to make this happen without your help.

    Guess I need to learn more about tables and when to use those vs. a regular worksheet.

    Nancy

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,526

    Re: maintain cell references from Sheet1 in Sheets2-6, sort by different columns in Sheets

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ 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. Is it possible to maintain absolute references in a table after the data is sorted
    By pharmacologist in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-23-2019, 03:02 AM
  2. Macro failing when Sheet1 was previously created and new sheets are Sheets2+
    By taylorsm in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-07-2017, 08:42 AM
  3. [SOLVED] Sort Contents Within A Cell and Maintain Spaces
    By excel0030 in forum Excel General
    Replies: 1
    Last Post: 01-02-2017, 08:40 AM
  4. Maintain Formula References when replacing tabs
    By maddogp in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-19-2015, 03:17 PM
  5. Replies: 1
    Last Post: 12-30-2012, 07:52 PM
  6. Drag Formula but Maintain References
    By kaiouji in forum Excel General
    Replies: 2
    Last Post: 01-02-2011, 06:19 AM
  7. maintain references when target cell moves?
    By William DeLeo in forum Excel General
    Replies: 6
    Last Post: 03-02-2006, 03:55 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