#1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 29
Default Match

Hi,

I have references on sheet 1 column A and I have part of these references on
sheet 2 column A as well. On Sheet 1 column B, I want to put "Yes" for
references on sheet 1 which match references on Sheet 2 and "No" for
otherwise.

N.B: There might be several rows with the same referece on Sheet 1, while on
sheet 2 there is a unique reference for each raw.
--
tarig
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 95
Default Match

Hi Tarig
In sheet1,type in cell B1 the formula below.
=IF(A1=Sheet2!A1,"yes","no")
Regards
Cimjet
"Tarig" wrote in message
...
Hi,

I have references on sheet 1 column A and I have part of these references
on
sheet 2 column A as well. On Sheet 1 column B, I want to put "Yes" for
references on sheet 1 which match references on Sheet 2 and "No" for
otherwise.

N.B: There might be several rows with the same referece on Sheet 1, while
on
sheet 2 there is a unique reference for each raw.
--
tarig


  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 29
Default Match

Hi Cimjet, your formulae only worked when A1 in sheet1 matchs A1 on sheet 2
and when I copy the formulae down to match other references it is not giving
what I am expecting.
--
tarig


"Cimjet" wrote:

Hi Tarig
In sheet1,type in cell B1 the formula below.
=IF(A1=Sheet2!A1,"yes","no")
Regards
Cimjet
"Tarig" wrote in message
...
Hi,

I have references on sheet 1 column A and I have part of these references
on
sheet 2 column A as well. On Sheet 1 column B, I want to put "Yes" for
references on sheet 1 which match references on Sheet 2 and "No" for
otherwise.

N.B: There might be several rows with the same referece on Sheet 1, while
on
sheet 2 there is a unique reference for each raw.
--
tarig



  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 95
Default Match

Hi Tarig
This formulat will compare Sheet1!A1 with Sheet2!A1 and if equal reply"Yes'
if not "NO".
Second line should be "A2 compared to A2. I am using XL2003 and works ok for
me, check the formula you got in the cell below A1 and if that don't work
test the formula on a new workbook just to see.
Regards
Cimjet
"Tarig" wrote in message
...
Hi Cimjet, your formulae only worked when A1 in sheet1 matchs A1 on sheet
2
and when I copy the formulae down to match other references it is not
giving
what I am expecting.
--
tarig


"Cimjet" wrote:

Hi Tarig
In sheet1,type in cell B1 the formula below.
=IF(A1=Sheet2!A1,"yes","no")
Regards
Cimjet
"Tarig" wrote in message
...
Hi,

I have references on sheet 1 column A and I have part of these
references
on
sheet 2 column A as well. On Sheet 1 column B, I want to put "Yes" for
references on sheet 1 which match references on Sheet 2 and "No" for
otherwise.

N.B: There might be several rows with the same referece on Sheet 1,
while
on
sheet 2 there is a unique reference for each raw.
--
tarig




  #5   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Match

Try this play

In Sheet1,
Assuming data in A2 down
Put in B2:
=IF(A2="","",IF(ISNUMBER(MATCH(A2,Sheet2!A:A,0))," Yes","No"))
Copy down
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Tarig" wrote:
Hi Cimjet, your formulae only worked when A1 in sheet1 matchs A1 on sheet 2
and when I copy the formulae down to match other references it is not giving
what I am expecting.


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
MATCH Multiple Criteria & Return Previous / Penultimate Match Sam via OfficeKB.com Excel Worksheet Functions 27 October 6th 07 01:39 AM
index match array function-returning only first match, need last. Julie Olsen Excel Worksheet Functions 3 December 29th 06 12:50 AM
Lookup? Match? pulling rows from one spreadsheet to match a text f cjax Excel Worksheet Functions 3 July 21st 06 02:51 PM
How do I display more than one match in a Index/Match formula? Trish Excel Worksheet Functions 0 September 26th 05 10:21 PM
When MATCH and v/hLOOKUP functions *FAIL* to match (but they should)... [email protected] Excel Worksheet Functions 2 April 6th 05 09:59 PM


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