You can use VLOOKUP commands to perform the match in Excel if you can
put up with the matched data on the same spreadsheet.  The limitation is
that it only pulls one column at at time over.  You can then pull off
the matches into a third sheet if you like.

If you have Access available, I would consider importing the
spreadsheets into that and doing a simple query.  The import is pretty

Hope that helps,


-----Original Message-----
[] On Behalf
Of Leif Guldbrand
Sent: Tuesday, July 26, 2005 4:52 PM
To: PC Technical Discussion for iSeries Users
Subject: Re: [PCTECH] MS Excel and MATCH function.

> Hi list!
> Not an expert in MS Excel but.... I have a list of customer numbers in

> a spreadsheet, a customer master list on the second and I want to add 
> all the matched records  on a third spreadsheet.
> How I do that?
> Peter Vidal

Well... I'm on the air with POI HSSF :-)

Read the first sheet to a workfile (a) on iSeries Read the next sheet to
a workfile (b) on iSeries Old fashion way: RPG prog. with MR (matching
record) New fashion way: RPG prog. with chain from (a) to (b) If
match/hit write down the matching record to the third sheet.

Down on earth:
I have contacted an expert in Excel-friend with your question. Hope to
come up with something tomorrow.

I'll let you know.


This is the PC Technical Discussion for iSeries Users (PcTech) mailing
list To post a message email: PcTech@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
or email: PcTech-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.