Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Barry
 
Posts: n/a
Default sort worksheet without affecting workbook

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   Report Post  
Gary L Brown
 
Posts: n/a
Default sort worksheet without affecting workbook

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   Report Post  
Barry
 
Posts: n/a
Default sort worksheet without affecting workbook

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?

  #4   Report Post  
Gary L Brown
 
Posts: n/a
Default sort worksheet without affecting workbook

Barry,
You're right. I misunderstood. You want the formulas in sheet2 to follow
the sorted values in sheet1 whereever they end up on sheet1.
Unfortunately, without making sheet 2 values and destroying the formulas,
you can't do that.

Sincerely,
--
Gary Brown

If this post was helpful, please click the ''''Yes'''' button next to
''''Was this Post Helpfull to you?".


"Barry" wrote:

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Find a value in a workbook and return the worksheet name Craig Excel Discussion (Misc queries) 2 August 10th 05 09:47 PM
worksheet ? of ?? in workbook Chris Hofman Excel Discussion (Misc queries) 4 August 4th 05 01:34 PM
MY WORKBOOK WON'T LET INSERT ANOTHER WORKSHEET. jlf Excel Worksheet Functions 1 March 30th 05 07:18 PM
I can't get a worksheet to copy onto the workbook KCoyne Excel Worksheet Functions 3 March 12th 05 04:09 PM
copy worksheet from closed workbook to active workbook using vba mango Excel Worksheet Functions 6 December 9th 04 07:55 AM


All times are GMT +1. The time now is 09:55 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"