#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Sorting

The file has two worksheets.

Sheet one will be sorted and Sheet two will remain static.

Column F in Sheet two is reading the values from Sheet one in column F (you
can see the forumula in column F sheet 2) (For Ex: =SUM(Sheet1!F2)

For example, if I sort sheet one (any column) then Sheet 2 does not remain
static and the integrity of the data is lost. What happens is Sheet 2 column
F will change but the other columns in sheet 2 don't change and the integrity
of the data is lost.

If you like I can email you the file.

Hope that makes sense.

Please let me know how to resolve this.

Thanks
cmckeag

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 213
Default Sorting

The file has two worksheets.

Sheet one will be sorted and Sheet two will remain static.

Column F in Sheet two is reading the values from Sheet one in column F
(you can see the forumula in column F sheet 2) (For Ex:
=SUM(Sheet1!F2)


As an aside, "SUM" is doing nothing here since there's only one number in
the sum. I'd suggest simply =Sheet1!F2 for clarity.


For example, if I sort sheet one (any column) then Sheet 2 does not
remain static and the integrity of the data is lost. What happens is
Sheet 2 column F will change but the other columns in sheet 2 don't
change and the integrity of the data is lost.


It's often the case that there's a "key" column that identifies the row
uniquely; for example, an account number or a part ID or a date or
something like that.

If your spreadsheet has a column like that and it appears in both sheets,
then read about the VLOOKUP function in Excel's built-in Help. Used in
Sheet2!F2, it'll find the value in Sheet1 column-F that has the same key
value as the current row.

For example, if the key column is A in Sheet1 and B in Sheet2, try the
following in F2 and copy down:
=VLOOKUP(B2,Sheet1!A:F,6,FALSE)

Modify to suit.
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Sorting

*******************************

"MyVeryOwnSelf" wrote:

The file has two worksheets.

Sheet one will be sorted and Sheet two will remain static.

Column F in Sheet two is reading the values from Sheet one in column F
(you can see the forumula in column F sheet 2) (For Ex:
=SUM(Sheet1!F2)


As an aside, "SUM" is doing nothing here since there's only one number in
the sum. I'd suggest simply =Sheet1!F2 for clarity.


For example, if I sort sheet one (any column) then Sheet 2 does not
remain static and the integrity of the data is lost. What happens is
Sheet 2 column F will change but the other columns in sheet 2 don't
change and the integrity of the data is lost.


It's often the case that there's a "key" column that identifies the row
uniquely; for example, an account number or a part ID or a date or
something like that.

If your spreadsheet has a column like that and it appears in both sheets,
then read about the VLOOKUP function in Excel's built-in Help. Used in
Sheet2!F2, it'll find the value in Sheet1 column-F that has the same key
value as the current row.

For example, if the key column is A in Sheet1 and B in Sheet2, try the
following in F2 and copy down:
=VLOOKUP(B2,Sheet1!A:F,6,FALSE)

Modify to suit.

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
Sorting PJ Excel Worksheet Functions 2 September 11th 06 04:35 PM
Sorting Help Shannon Excel Discussion (Misc queries) 2 September 9th 06 01:24 PM
Sorting: Sorting by the First Character dzuy Excel Discussion (Misc queries) 2 June 22nd 06 08:27 PM
Sorting Soz Excel Worksheet Functions 6 July 16th 05 04:07 PM
Help With Sorting Playa Excel Discussion (Misc queries) 3 June 7th 05 09:14 PM


All times are GMT +1. The time now is 08:20 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"