Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 80
Default Large Table Matching

Hi All

In xl2003 - I have two worksheets, the first contains a list of 17,000 rows,
whilst the second contains a list of 7,000 rows.

The first list needs to be updated with a value from the second list, the
matching is based on two columns a date field and string text field. There
are no duplicate combinations of the match key pair in either table.

Scanning the first list (17k rows) and looking up the value in the second
list (7k rows) is obviously very slow. Despite sorting the lists, exiting
loops earlier as each record match is found etc.

Does anyone have a match strategy to achieve the above.

Cheers

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Large Table Matching

The only thing that may spped things up is if the data was on the same
worksheet. Switching between two worksheet is slowing down the program. You
can always copy the data back to two seperate worksheets afrter the
replacement is completed.

"Nigel RS" wrote:

Hi All

In xl2003 - I have two worksheets, the first contains a list of 17,000 rows,
whilst the second contains a list of 7,000 rows.

The first list needs to be updated with a value from the second list, the
matching is based on two columns a date field and string text field. There
are no duplicate combinations of the match key pair in either table.

Scanning the first list (17k rows) and looking up the value in the second
list (7k rows) is obviously very slow. Despite sorting the lists, exiting
loops earlier as each record match is found etc.

Does anyone have a match strategy to achieve the above.

Cheers

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 66
Default Large Table Matching

Perhaps the SUMPRODUCT function is what's required here. Take a look at
www.contextures.com/xlFunctions01.html for a great explanation on how this
function works.

"Nigel RS" wrote:

Hi All

In xl2003 - I have two worksheets, the first contains a list of 17,000 rows,
whilst the second contains a list of 7,000 rows.

The first list needs to be updated with a value from the second list, the
matching is based on two columns a date field and string text field. There
are no duplicate combinations of the match key pair in either table.

Scanning the first list (17k rows) and looking up the value in the second
list (7k rows) is obviously very slow. Despite sorting the lists, exiting
loops earlier as each record match is found etc.

Does anyone have a match strategy to achieve the above.

Cheers

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
Getting a value from large table. Brad E. Excel Worksheet Functions 5 February 18th 10 04:38 PM
Please help matching data from one table to another [email protected] Excel Worksheet Functions 4 June 6th 08 03:26 AM
How do I link information from a large table into new table Sarah - Sydney Excel Worksheet Functions 2 September 22nd 06 03:34 AM
Matching table rows steev_jd Excel Discussion (Misc queries) 2 April 6th 06 03:45 PM
matching data from table Robert Excel Programming 2 March 9th 05 07:25 PM


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