LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 137
Default Comparing Large Data Sets in Excel


Try something like this:

Define your ZipCodes as a Named Range - "ZipCodes"
Define your Employee ZipCodes as a Named Range - "EmpZips"

Then run a nested For-Next loop

For Each C in Range("EmpZips")
For Each D in Range("ZipCodes")
If c=d then
'Found a match - Do something"

'Then jump to the next Employee
Exit For
End If
Next D
Next C


 
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
Comparing two data sets PR1 Excel Worksheet Functions 1 November 1st 08 02:52 PM
manipulating large data sets for graphing steveb[_2_] Excel Discussion (Misc queries) 2 October 30th 07 03:03 PM
Comparing two sets data for different month achilles Excel Discussion (Misc queries) 0 February 9th 06 02:44 PM
how to save large data sets in excel sheck Excel Discussion (Misc queries) 1 August 2nd 05 07:02 AM
Comparing two sets of data Eric G[_3_] Excel Programming 12 April 5th 04 11:36 PM


All times are GMT +1. The time now is 12:17 PM.

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

About Us

"It's about Microsoft Excel"