Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Moving chart Excel 2007 | Excel Discussion (Misc queries) | |||
Moving Columns Excel 2007 | Excel Discussion (Misc queries) | |||
why is moving a row slow in excel 2007 where it is fast in 2000 | Excel Worksheet Functions | |||
How do I use moving averages in Excel 2007? | Excel Worksheet Functions | |||
Arrow Keys Moving Window Frame instead of Moving Between Cells | Excel Discussion (Misc queries) |