#1
|
|||
|
|||
VBA code 3 way lookup replace the old value by new value from masterdata
dear experts
i have set of data need to compare with first 3 way lookup result with child series and description. lookup value is COUNTRY and DSERIAL and GCOA PARENT result should be match with masterdata file if not match replace by new value. for e.g COUNTRY = Luxembourg DSERIAL = 10004 GCOA PARENT = P10000 RESULT SHOULD BE FOR THE MATCHING 100640 find the attachment |
#2
|
||||
|
||||
In C2 of Sheet 2, input:
Code:
=INDEX(masterdata!D:D,MATCH(C2&E2,masterdata!C:C&masterdata!E:E,0))
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
||||
|
||||
Cross-posted at:
http://www.excelforum.com/excel-prog...ml#post4209256 and: http://www.mrexcel.com/forum/excel-q...ml#post4347882 and: http://www.excelguru.ca/forums/showt...rom-masterdata For cross-posting etiquette, please read: http://www.excelguru.ca/content.php?184 Thread closed.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Tags |
excel vba |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to search with column heading then doing the lookup action for below code | cmreddy.vba | Excel Programming | 0 | 01-20-2015 03:44 AM |
Search and replace/insert HTML code into Master File using tags | dave8555 | Excel | 2 | 02-23-2014 03:51 PM |
Lookup | angie.chang | Excel | 1 | 07-27-2012 09:45 PM |
Possible Lookup | Karen222 | Excel | 3 | 01-10-2012 05:41 AM |
LookUp | aztiguen24 | Excel | 5 | 05-24-2011 03:57 AM |