A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Matching two sets of data?



 
 
Thread Tools Display Modes
  #1  
Old March 23rd, 2010, 10:39 PM posted to microsoft.public.excel.worksheet.functions
Zuo
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 D1700. 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  
Old March 23rd, 2010, 11:12 PM posted to microsoft.public.excel.worksheet.functions
Max
external usenet poster
 
Posts: 8,574
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 D1700. 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  
Old March 23rd, 2010, 11:33 PM posted to microsoft.public.excel.worksheet.functions
Zuo
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 D1700. 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  
Old March 24th, 2010, 12:26 AM posted to microsoft.public.excel.worksheet.functions
Zuo
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 D1700. 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  
Old March 24th, 2010, 01:55 AM posted to microsoft.public.excel.worksheet.functions
Max
external usenet poster
 
Posts: 8,574
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  
Old March 24th, 2010, 02:25 AM posted to microsoft.public.excel.worksheet.functions
Zuo
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.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:15 PM.


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