Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I have two worksheets in a workbook. One of the columns in worksheet 2 is
referenced to a column in Worksheet 1 (i.e. cells containing peoples names). When I sort Worksheet 1 on the cells containing names it also sorts worksheet 2. Is there a method to NOT sort the worksheet 2 when I sort Worksheet 1? |
#2
![]() |
|||
|
|||
![]()
Only things I can think of is to...
1) use vlookups or 2) use the Indirect function For example, put 'Sheet1!A3 (with the single-quotation mark in front) in cell B11 and in cell C11 put =INDIRECT(B11) Since 'Sheet1!A3 is text and not a reference, it won't change when you sort. HTH, -- Gary Brown If this post was helpful, please click the ''''Yes'''' button next to ''''Was this Post Helpfull to you?". "Barry" wrote: I have two worksheets in a workbook. One of the columns in worksheet 2 is referenced to a column in Worksheet 1 (i.e. cells containing peoples names). When I sort Worksheet 1 on the cells containing names it also sorts worksheet 2. Is there a method to NOT sort the worksheet 2 when I sort Worksheet 1? |
#3
![]() |
|||
|
|||
![]()
Gary
I don't think you understood my question. Column A in sheet1 contains persons names. In sheet2 Column A references sheet 2 with =sheet1!a1 etc in each cell in Column A so all the persons names shows in sheet2. I now want to sort sheet1 on perhaps column A other other columns for example, but sheet2 also sorts on column A this is understandable since sheet2 is referencing the cells in sheet1. I am asking if there is a method to NOT sort sheet2 on column A. "Gary L Brown" wrote: Only things I can think of is to... 1) use vlookups or 2) use the Indirect function For example, put 'Sheet1!A3 (with the single-quotation mark in front) in cell B11 and in cell C11 put =INDIRECT(B11) Since 'Sheet1!A3 is text and not a reference, it won't change when you sort. HTH, -- Gary Brown If this post was helpful, please click the ''''Yes'''' button next to ''''Was this Post Helpfull to you?". "Barry" wrote: I have two worksheets in a workbook. One of the columns in worksheet 2 is referenced to a column in Worksheet 1 (i.e. cells containing peoples names). When I sort Worksheet 1 on the cells containing names it also sorts worksheet 2. Is there a method to NOT sort the worksheet 2 when I sort Worksheet 1? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find a value in a workbook and return the worksheet name | Excel Discussion (Misc queries) | |||
worksheet ? of ?? in workbook | Excel Discussion (Misc queries) | |||
MY WORKBOOK WON'T LET INSERT ANOTHER WORKSHEET. | Excel Worksheet Functions | |||
I can't get a worksheet to copy onto the workbook | Excel Worksheet Functions | |||
copy worksheet from closed workbook to active workbook using vba | Excel Worksheet Functions |