#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default match

Hi All,

I have workbook with 2 sheets, sheet1 & sheet2.
sheet1 data as follows:
Group Id Code Status
125 ABC_DE completed
127 ACD_EF completed
130 ERD478 completed
131 EREDS completed


sheet2
Codes Status
ABC_D
ACD
ERD478
EREDS


By observation u can say only ERD478 & EREDS is exactly matching so i
want the status of that particular code.


Result 1 : Assume sheet1 has ABC as code, in sheet2 I have ABCDEF -
here in this case only part matching
here also i want the status.


Result 2 : If i want to match both Group Id and Code ( assumed sheet2
has Group Id).


Result 3 : If i want to match Codes ( sheet2 ) with Group Id & Codes
of sheet1. ( assumed some codes are appeared in Group Id)


All the above results,I want in VBA.


Thanks in advance.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 789
Default match

Hi
No idea what you want. Re-read Result2 and Result 3 in your mail. Do
they ask a clear question???
regards
Paul

On Mar 6, 7:55*am, wrote:
Hi All,

I have workbook with 2 sheets, sheet1 & sheet2.
sheet1 data as follows:
Group Id * *Code * * Status
125 * * * ABC_DE * completed
127 * * * ACD_EF * completed
130 * * * ERD478 * *completed
131 * * * EREDS * * completed

sheet2
Codes * *Status
ABC_D
ACD
ERD478
EREDS

By observation u can say only ERD478 & EREDS is exactly matching so i
want the status of that particular code.

Result 1 : Assume sheet1 has ABC as code, in sheet2 I have ABCDEF -
here in this case only part matching
here also i want the status.

Result 2 : If i want to match both Group Id and Code ( assumed sheet2
has Group Id).

Result 3 : If i want to match Codes ( sheet2 ) *with Group Id & Codes
of sheet1. ( assumed some codes are appeared in Group Id)

All the above results,I want in VBA.

Thanks in advance.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default match

Result 2 : Sheet 1 has group id , Code, status
Sheet 2 has group id , code, and i want to match group
id and code with sheet1's group id and code.

Result 3: sheet 1 has group id, code , status
sheet 2 has code, I want to match code with sheet2.


On Mar 6, 2:40*pm, wrote:
Hi
No idea what you want. Re-read Result2 and Result 3 in your mail. Do
they ask a clear question???
regards
Paul

On Mar 6, 7:55*am, wrote:



Hi All,


I have workbook with 2 sheets, sheet1 & sheet2.
sheet1 data as follows:
Group Id * *Code * * Status
125 * * * ABC_DE * completed
127 * * * ACD_EF * completed
130 * * * ERD478 * *completed
131 * * * EREDS * * completed


sheet2
Codes * *Status
ABC_D
ACD
ERD478
EREDS


By observation u can say only ERD478 & EREDS is exactly matching so i
want the status of that particular code.


Result 1 : Assume sheet1 has ABC as code, in sheet2 I have ABCDEF -
here in this case only part matching
here also i want the status.


Result 2 : If i want to match both Group Id and Code ( assumed sheet2
has Group Id).


Result 3 : If i want to match Codes ( sheet2 ) *with Group Id & Codes
of sheet1. ( assumed some codes are appeared in Group Id)


All the above results,I want in VBA.


Thanks in advance.- Hide quoted text -


- Show quoted text -


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
Lookup Formula: Return 1st match, then 2nd match, then 3rd match Scott Excel Discussion (Misc queries) 4 December 11th 09 05:50 AM
Need to match 2 columns, if a match found add info from 2nd column Stratton Excel Worksheet Functions 1 October 8th 08 02:55 PM
index(match) Wind Uplift Calculations (match four conditions) JMeier Excel Worksheet Functions 8 August 1st 08 01:45 AM
MATCH Multiple Criteria & Return Previous / Penultimate Match Sam via OfficeKB.com Excel Worksheet Functions 27 October 6th 07 01:39 AM
Lookup? Match? pulling rows from one spreadsheet to match a text f cjax Excel Worksheet Functions 3 July 21st 06 02:51 PM


All times are GMT +1. The time now is 02:35 AM.

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"