Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Zuo Zuo is offline
external usenet poster
 
Posts: 24
Default Matching two sets of data?

Hi,

I have two sets of data, one in A1:A450 and the other in D1:D700. I want
the matching data (reference) of the array in column A to appear in Column C
or next to the matched value of column D.

Example:

A B C D
23 14
12 52
37 89
45 23 23

Thanks in advance for your help.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Matching two sets of data?

In E1: =IF(ISNA(MATCH(D1,A:A,0)),"","A"&MATCH(D1,A:A,0))
Copy down to return col A's cell references where col A match col D. Eg you
will get "A1" returned in E4 for your sample data. Any good? hit the YES
below
--
Max
Singapore
---
"Zuo" wrote:
I have two sets of data, one in A1:A450 and the other in D1:D700. I want
the matching data (reference) of the array in column A to appear in Column C
or next to the matched value of column D.

Example:

A B C D
23 14
12 52
37 89
45 23 23

Thanks in advance for your help.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Zuo Zuo is offline
external usenet poster
 
Posts: 24
Default Matching two sets of data?

Max,

Almost there but I want the actual matching reference that is sitting in A1
to appear in E4 next to its match on D4. Not the cell location but the
actual data. i.e. if A1=23 and D4 =23 then 23 should appear in E4 or next to
D4.

Thanks.

"Max" wrote:

In E1: =IF(ISNA(MATCH(D1,A:A,0)),"","A"&MATCH(D1,A:A,0))
Copy down to return col A's cell references where col A match col D. Eg you
will get "A1" returned in E4 for your sample data. Any good? hit the YES
below
--
Max
Singapore
---
"Zuo" wrote:
I have two sets of data, one in A1:A450 and the other in D1:D700. I want
the matching data (reference) of the array in column A to appear in Column C
or next to the matched value of column D.

Example:

A B C D
23 14
12 52
37 89
45 23 23

Thanks in advance for your help.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Zuo Zuo is offline
external usenet poster
 
Posts: 24
Default Matching two sets of data?

Max,

Any thoughts on how to address my comment below?

Regards,

ZUO

"Zuo" wrote:

Max,

Almost there but I want the actual matching reference that is sitting in A1
to appear in E4 next to its match on D4. Not the cell location but the
actual data. i.e. if A1=23 and D4 =23 then 23 should appear in E4 or next to
D4.

Thanks.

"Max" wrote:

In E1: =IF(ISNA(MATCH(D1,A:A,0)),"","A"&MATCH(D1,A:A,0))
Copy down to return col A's cell references where col A match col D. Eg you
will get "A1" returned in E4 for your sample data. Any good? hit the YES
below
--
Max
Singapore
---
"Zuo" wrote:
I have two sets of data, one in A1:A450 and the other in D1:D700. I want
the matching data (reference) of the array in column A to appear in Column C
or next to the matched value of column D.

Example:

A B C D
23 14
12 52
37 89
45 23 23

Thanks in advance for your help.


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Matching two sets of data?

... Not the cell location but the actual data ..
It's even simpler then ..
In E1, copied down: =IF(ISNA(MATCH(D1,A:A,0)),"",D1)
Success? hit the YES below
--
Max
Singapore
---
"Zuo" wrote:

Almost there but I want the actual matching reference that is sitting in A1
to appear in E4 next to its match on D4. Not the cell location but the
actual data. i.e. if A1=23 and D4 =23 then 23 should appear in E4 or next to
D4.

Thanks.




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Zuo Zuo is offline
external usenet poster
 
Posts: 24
Default Matching two sets of data?

Perfect! Thanks a lot Max.

"Max" wrote:

... Not the cell location but the actual data ..

It's even simpler then ..
In E1, copied down: =IF(ISNA(MATCH(D1,A:A,0)),"",D1)
Success? hit the YES below
--
Max
Singapore
---
"Zuo" wrote:

Almost there but I want the actual matching reference that is sitting in A1
to appear in E4 next to its match on D4. Not the cell location but the
actual data. i.e. if A1=23 and D4 =23 then 23 should appear in E4 or next to
D4.

Thanks.


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
Find %ontime & SUMIF ontime ie: find matching sets within Range... Chris T-M Excel Worksheet Functions 3 October 10th 08 08:14 PM
Excel graph 3 sets of data. 2 sets as lines 1 as column? AndyN Charts and Charting in Excel 2 July 11th 08 01:18 PM
Matching identical data using data only once in the matching proce Robert 1 Excel Discussion (Misc queries) 1 June 29th 07 04:22 PM
Matching two different data sets tombradshawuk Excel Discussion (Misc queries) 0 November 17th 06 11:33 AM
Matching data and linking it to the matching cell yvonne a via OfficeKB.com Links and Linking in Excel 0 July 13th 05 07:30 PM


All times are GMT +1. The time now is 10:36 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"