Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default data sort while maintining reference with cell in different worksh

I welcome any suggestions. I have two worksheets in the same workbook.
Called:
1. "Parts Price"
2. "Catalogue"

One column in "Catalogue" directly reflects the value in a column in the
"Parts Price" worksheet. Currently I have simply used the formula eg
"='Parts Price'!G239" and so on for several hundred entries.

However I need to sort the rows in "Parts Price". The above works ok if I
cut and paste rows. However I do really need to utilise data sort of rows in
"Parts Price". However when I do that, the cell reference in "Catalogue"
remains with G239 rather than go to the new location in "Parts Price".

How can I do a data sort so that the link in "Catalogue" moves with the
information in "Parts Price"? I hope that this is kind of clear. Many
thanks for any assistance.
Jackie
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default data sort while maintining reference with cell in different worksh

Try the formula VLOOKUP(); which will lookup the value in the other sheet
based on a index value. VLOOKUP stands for vertical lookup and search for a
value in the first column of a table array and returns a value in the same
row from another column in the table array. Try the below formulas with a
similar data and try changing the name in Cell C1. Once you are able to try
this you can easily convert your formulas to VLOOKUP...

ColA ColB ColC ColD ColE ColF
Name Age Sex Adam =formula1 =formula2
Adam 32 M
Marie 24 F
Francis 33 M
Joel 34 M
Susan 26 F
- - -
- - -
- - -
- - -

in place of formula1
=VLOOKUP($D$2,$A$2:$C$10,2,FALSE)

in place of formula2
=VLOOKUP($D$2,$A$2:$C$10,3,FALSE)

Since you are referring to different sheet you can use
=VLOOKUP($D$2,Sheet1!$A$2:$C$10,3,FALSE)


If this post helps click Yes
---------------
Jacob Skaria


"Jackie" wrote:

I welcome any suggestions. I have two worksheets in the same workbook.
Called:
1. "Parts Price"
2. "Catalogue"

One column in "Catalogue" directly reflects the value in a column in the
"Parts Price" worksheet. Currently I have simply used the formula eg
"='Parts Price'!G239" and so on for several hundred entries.

However I need to sort the rows in "Parts Price". The above works ok if I
cut and paste rows. However I do really need to utilise data sort of rows in
"Parts Price". However when I do that, the cell reference in "Catalogue"
remains with G239 rather than go to the new location in "Parts Price".

How can I do a data sort so that the link in "Catalogue" moves with the
information in "Parts Price"? I hope that this is kind of clear. Many
thanks for any assistance.
Jackie

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
Cell reference value to remain constant in a sort using Paste Link LawTrainer Excel Discussion (Misc queries) 2 February 24th 09 10:37 PM
Can I sort and not lose reference to the cell? RedHead 1 Excel Discussion (Misc queries) 3 February 3rd 09 03:37 AM
How to sort cells with cell reference to get the same numbers? Tina Excel Discussion (Misc queries) 0 May 14th 07 07:03 AM
How can I get data from one worksheet into another exsiting worksh Sabrina Excel Discussion (Misc queries) 2 August 30th 05 09:01 PM
Preserving cell reference after a sort Scott Emery New Users to Excel 1 March 20th 05 02:41 PM


All times are GMT +1. The time now is 02:43 PM.

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

About Us

"It's about Microsoft Excel"