Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 117
Default Moving cells in Excel 2007

The first list has 2,500 part-numbers; the second list has 1 million
part-numbers.

How can I move the part-numbers in the first list so they are next to
the matching part-numbers in the second list?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 638
Default Moving cells in Excel 2007

On Oct 8, 6:49 pm, gary wrote:
The first list has 2,500 part-numbers; the second list has 1 million
part-numbers.

How can I move the part-numbers in the first list so they are next to
the matching part-numbers in the second list?


Don't have 2007 (yet), but couldn't you just use a VLOOKUP formula to
get it's match? Or am I oversimplifying the issue?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 117
Default Moving cells in Excel 2007

On Oct 8, 4:47 pm, JW wrote:
On Oct 8, 6:49 pm, gary wrote:

The first list has 2,500 part-numbers; the second list has 1 million
part-numbers.


How can I move the part-numbers in the first list so they are next to
the matching part-numbers in the second list?


Don't have 2007 (yet), but couldn't you just use a VLOOKUP formula to
get it's match? Or am I oversimplifying the issue?



Using my example (col A has 2500 cells, col B has 1 million cells),
how should the VLOOKUP formula be written to find exact matches?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 417
Default Moving cells in Excel 2007

Quite frankly, I would use Access (database) for this task.
Name the large (1 million part numbers) file Master.
Name the smaller (2,500 part numbers) file PartNumber.
Import each into its own table by the same name.
Then build a query to join the 2 tables together.

SELECT Master.PartNumber, PartNumbers.PartNumber
FROM Master LEFT JOIN PartNumbers ON Master.PartNumber =
PartNumbers.PartNumber;

--
Regards,
Bill Renaud



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 417
Default Moving cells in Excel 2007

(Made a typo. Corrected below.)

Quite frankly, I would use Access (database) for this task.
Name the large (1 million part numbers) file Master.
Name the smaller (2,500 part numbers) file PartNumbers (<=correction here).
Import each into its own table by the same name, with the data in a field
named PartNumber.
Then build a query to join the 2 tables together.

SELECT Master.PartNumber, PartNumbers.PartNumber
FROM Master LEFT JOIN PartNumbers ON Master.PartNumber =
PartNumbers.PartNumber;

--
Regards,
Bill Renaud





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 638
Default Moving cells in Excel 2007

Bill, I agree whole heartedly that, with data of this size, Access is
certainly the best answer.
To the OP, if you absolutely have to keep this in Excel, your VLOOKUP
would look like this:
In C2, place this:
=VLOOKUP(B2,A:A,1,FALSE)

Copy down as needed. Just remember, you are dealing with an enormous
amount of data, so this might take quite a while to calculate
completely. That is why I agree with Bill in saying that Access is
the best solution.
Bill Renaud wrote:
(Made a typo. Corrected below.)

Quite frankly, I would use Access (database) for this task.
Name the large (1 million part numbers) file Master.
Name the smaller (2,500 part numbers) file PartNumbers (<=correction here).
Import each into its own table by the same name, with the data in a field
named PartNumber.
Then build a query to join the 2 tables together.

SELECT Master.PartNumber, PartNumbers.PartNumber
FROM Master LEFT JOIN PartNumbers ON Master.PartNumber =
PartNumbers.PartNumber;

--
Regards,
Bill Renaud


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
Moving chart Excel 2007 aylmd Excel Discussion (Misc queries) 0 September 10th 09 08:48 PM
Moving Columns Excel 2007 BK Excel Discussion (Misc queries) 2 August 15th 08 03:40 PM
why is moving a row slow in excel 2007 where it is fast in 2000 charly Excel Worksheet Functions 0 March 10th 08 04:08 PM
How do I use moving averages in Excel 2007? jaydee Excel Worksheet Functions 1 January 9th 08 07:54 PM
Arrow Keys Moving Window Frame instead of Moving Between Cells nemmex Excel Discussion (Misc queries) 2 April 9th 07 09:08 AM


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