Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Matching values to those in a reference list

Dear all,

I have around 30 files, and each of these contain millions of rows (I'm
using Excel 2007), and three columns. Column A = longitude, column B =
latitude, column C = value.

I have a reference file of the same format as described above, which has all
the 'master' longitude and latitude values. The other files have less rows,
since they do not contain all the longitude and latitude values that are
present in the reference file. What I want to be able to do is for the files
with less rows, compare each row to the reference file, and if a latitude and
longitude coordinate for a particular row is not present, then insert this in
place, and give the value (column C) as zero. Where present, values in
columns 1 and 2 should be in sequence (i.e. follow the same pattern as in the
reference file), so where the sequence is 'broken', a latitude and longitude
can be assumed missing, and a new row inserted with the 'missing' longitudes
and latitudes, with zero in column 3.

Below is a link to a couple of sample files. The master/reference file is
'o_less2_year3', with an example of a data file needing to be padded out with
zeros and the associated 'missing' coordinate row (in relation to the master
file) being 'out_lpj_year1990'. These fit onto 2 worksheets in Excel 2007,
yet if you're not using Excel 2007, then I'm sure working on a single sheet's
worth of data would still be more than enough to gain a solution!

http://www.megaupload.com/?d=INNY8IP3

I hope I've made myself clear enough - if not, please do not hesitate to get
in touch with me.

Many thanks for your help,
Steve

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
Matching items in 2 list to consolidate to one list hot dogs Excel Discussion (Misc queries) 2 April 25th 07 04:01 PM
Matching Picture to Reference egattocs Excel Worksheet Functions 2 June 14th 06 04:34 PM
matching one value in a list of values David Kinsley Excel Worksheet Functions 3 January 27th 06 12:39 AM
Finding the cell reference of a matching search value ndrewitt Excel Worksheet Functions 0 April 13th 05 01:43 AM
Matching a List Containing Redundant Values Rick Hess Excel Discussion (Misc queries) 1 November 26th 04 02:39 PM


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