#1   Report Post  
Posted to microsoft.public.excel.misc
Patricia Shannon
 
Posts: n/a
Default Merge Help Needed!!!

This worked beautifully for the first test case I set up. But when I started
looking at it, it can fail if the New table is missing values in such a way
that there is a match, but the matching row in the New table is smaller than
the row of the Current table; this is because the addresses are all
relative. So, eg., when searching for the value for the Current A8, it starts
to search the New table at A8. If the matching value in the New table is in
A7, it won't find it. Even if the New table is not missing values, it could
fail if you happen to have a current table with more than one row with the
same Partnumber.
If the references to the New table (at least the rows) are changed to
absolute (ie, New!$A$2:$A$20 or New!A$2:A$20, and New!A$2:C$20. it will
take care of all cases.
Also, the MATCH(A2:A20 can be changed to MATCH(A2

Of course, Jim, you should save your file before updating it.


"Jim123" wrote:

Carim,

Worked like a charm. Thanks, I owe you a beer!

"Carim" wrote:


Hi,

in Sheet Current in Cell C2 :
=INDEX(New!A2:C20,MATCH(A2:A20,New!A2:A20,0),3)

adjust to your needs ...
HTH
Carim


--
Carim
------------------------------------------------------------------------
Carim's Profile: http://www.excelforum.com/member.php...o&userid=33259
View this thread: http://www.excelforum.com/showthread...hreadid=532774


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
Merge =( formula should retain fraction type numbers after merge. Aubrey Excel Worksheet Functions 0 February 9th 06 07:37 PM
Difficult for me, probably basic to you onlyjohn Excel Worksheet Functions 1 February 3rd 06 05:14 PM
Word found no merge fields in your main document. lburg801 Excel Discussion (Misc queries) 0 November 28th 05 08:01 PM
Different graphic for each record in mail merge document Alex St-Pierre Charts and Charting in Excel 1 May 4th 05 07:26 PM
How do I do an excel merge like a word mailmerge with another exc. jaewon223 Excel Discussion (Misc queries) 0 February 28th 05 05:01 PM


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