#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default Copy in order

In Sheet1 - I have a crew list in joining order, for example
Bunk Name
101 name-a
108 name-b
103 name-d
105 name-f

In sheet2 €“ I have a bunk list in bunk order

101
102
103
104
105
106
107

Is there any formula to look up sheet1 and copy the corresponding names and
place in sheet2 corresponding columns, for example like this?

101 name-a
102 blank
103 name-d
104 blank
105 name-f


Please help me.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default Copy in order

Hi,

You could just sort sheet1 by Col A.
Or if you don't want to do that,
In the cell B2 (next to 101) on sheet2, enter
=IF(ISNA(VLOOKUP(A2,Sheet1!$A$2:$B$10,2,0)),"",VLO OKUP(A2,Sheet1!$A$2:$B$10,2,0))
Then copy down.

I have assumed that your data starts on Row 2, and is in Cols A and B
Change the Range to suit your data.

Regards - Dave.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 17
Default Copy in order

Thanks Dave, Thank you very much

"Dave" wrote:

Hi,

You could just sort sheet1 by Col A.
Or if you don't want to do that,
In the cell B2 (next to 101) on sheet2, enter
=IF(ISNA(VLOOKUP(A2,Sheet1!$A$2:$B$10,2,0)),"",VLO OKUP(A2,Sheet1!$A$2:$B$10,2,0))
Then copy down.

I have assumed that your data starts on Row 2, and is in Cols A and B
Change the Range to suit your data.

Regards - Dave.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default Copy in order

You're welcome.
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
copy cells down a column (in order) to across a row (same order?? Tampa9 Excel Discussion (Misc queries) 1 December 4th 08 04:23 PM
How to copy excel to text in a certain order. capxc Excel Discussion (Misc queries) 9 July 19th 08 05:05 PM
copy columns with order reversed Karra Excel Discussion (Misc queries) 1 December 11th 07 06:18 PM
copy the order number to corresponding cells [email protected] Excel Discussion (Misc queries) 0 October 20th 06 01:50 PM
Copy cells in a determined order pmarques Excel Discussion (Misc queries) 3 February 6th 06 04:15 PM


All times are GMT +1. The time now is 04:15 AM.

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"