Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Does anyone know how to cross reference two worksheets

I am trying to cross reference two worksheet and if a name appears on both
worksheets a Y would appear in the box.

Can anyone help??
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Does anyone know how to cross reference two worksheets

You will need to give a bit more detail than this on what you want to
achieve. Which "box" do you refer to? How is your data laid out? Which
column(s) would contain the names? etc.

As a general note, you can have a MATCH formula in a column on one
sheet which looks at the other sheet for an exact match, and a similar
formula in the other sheet to look at the first sheet, so against each
name you can return a "Y" if there is a match - is this what you want?

Pete

On Jan 9, 12:56*am, Christie
wrote:
I am trying to cross reference two worksheet and if a name appears on both
worksheets a Y would appear in the box.

Can anyone help??


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Does anyone know how to cross reference two worksheets


Sheet1 has the names you want to check against a second sheet. Sheet2
has the other list you want to compare, both sheets have the names in
columnA.

On sheet1, in B2 (where you want the Y to appear, we want to check the
namen in A2 against Sheet2 columnA. Let's set the range on sheet2 to 200
rows. The formula in B2 would be:

=IF(ISERROR(MATCH(A1,Sheet2!$A$1:$A$200,0)),"","Y" )

Now copy that formula down to check the rest of the names on Sheet1


Christie;174798 Wrote:
I am trying to cross reference two worksheet and if a name appears on
both
worksheets a Y would appear in the box.



--
JBeaucaire
------------------------------------------------------------------------
JBeaucaire's Profile: http://www.thecodecage.com/forumz/member.php?userid=73
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=48360

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Does anyone know how to cross reference two worksheets

Thank you for your reply.
This achieved what I wanted however now I want to see if both the first name
and surname I have on one sheet matches the names on the other sheet and they
are in seperate cells. How would I do this?

"JBeaucaire" wrote:


Sheet1 has the names you want to check against a second sheet. Sheet2
has the other list you want to compare, both sheets have the names in
columnA.

On sheet1, in B2 (where you want the Y to appear, we want to check the
namen in A2 against Sheet2 columnA. Let's set the range on sheet2 to 200
rows. The formula in B2 would be:

=IF(ISERROR(MATCH(A1,Sheet2!$A$1:$A$200,0)),"","Y" )

Now copy that formula down to check the rest of the names on Sheet1


Christie;174798 Wrote:
I am trying to cross reference two worksheet and if a name appears on
both
worksheets a Y would appear in the box.



--
JBeaucaire
------------------------------------------------------------------------
JBeaucaire's Profile: http://www.thecodecage.com/forumz/member.php?userid=73
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=48360


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Does anyone know how to cross reference two worksheets

One way

Assuming first names and surnames are in cols A and B in both Sheet1/2
In Sheet1,
Put in C1, normal ENTER:
=IF(OR(A1="",B1=""),"",IF(ISNUMBER(MATCH(1,INDEX(( Sheet2!A$1:A$100=A1)*(Sheet2!B$1:B$100=B1),),0))," Y",""))
Copy down as far as required. Adapt the ranges to suit.

Pl press the YES buttons (like the ones below) in ALL responses which helped
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:22,000 Files:370 Subscribers:66
xdemechanik
---
"Christie" wrote:
now I want to see if both the first name and surname
I have on one sheet matches the names on the other sheet
and they are in seperate cells. How would I do this?




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Does anyone know how to cross reference two worksheets

Thank you this helped a great deal however is their a way that I can include
in the formula that if one sheet has a christian name, eg Anna and the other
sheet has both christian and middle name, eg Anna Rose that this will show as
a match? Also to include this in matching address's???

Christie

"Max" wrote:

One way

Assuming first names and surnames are in cols A and B in both Sheet1/2
In Sheet1,
Put in C1, normal ENTER:
=IF(OR(A1="",B1=""),"",IF(ISNUMBER(MATCH(1,INDEX(( Sheet2!A$1:A$100=A1)*(Sheet2!B$1:B$100=B1),),0))," Y",""))
Copy down as far as required. Adapt the ranges to suit.

Pl press the YES buttons (like the ones below) in ALL responses which helped
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:22,000 Files:370 Subscribers:66
xdemechanik
---
"Christie" wrote:
now I want to see if both the first name and surname
I have on one sheet matches the names on the other sheet
and they are in seperate cells. How would I do this?


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Does anyone know how to cross reference two worksheets

It becomes decidedly more difficult. A measure of success might be
achieveable using fuzzier search terms within the criteria eg: ...
ISNUMBER(SEARCH(...))

Lets say you have in Sheet2's A1:B1,
data such as: Anna Rose, Mary
(Mary in B1)

And in Sheet1,
you have the lookups
in A1: Anna, in B1: Mary

This revision of the earlier, placed in C1, normal ENTER:
=IF(OR(A1="",B1=""),"",IF(ISNUMBER(MATCH(1,INDEX(I SNUMBER(SEARCH(TRIM(A1)&"
",Sheet2!A$1:A$100))*(Sheet2!B$1:B$100=B1),),0))," Y",""))
would return a correct: "Y" for the data in Sheet2. It will avoid returning
a spurious "Y" should you have: Annabel, Mary in Sheet2 (instead of: Anna
Rose, Mary).

Above is still not watertight of course, but the method might help you to
narrow down the desired searches.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:22,000 Files:370 Subscribers:66
xdemechanik
---
"Christie" wrote:
Thank you this helped a great deal however is their a way that I can include
in the formula that if one sheet has a christian name, eg Anna and the other
sheet has both christian and middle name, eg Anna Rose that this will show as
a match? Also to include this in matching address's???

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
Cross Reference Formula mjsam Excel Worksheet Functions 1 January 8th 09 11:36 PM
Cross reference Edward[_3_] Excel Discussion (Misc queries) 7 November 10th 08 08:42 AM
cross reference two auntieb New Users to Excel 3 September 8th 08 05:17 PM
Cross reference LaRana! Excel Worksheet Functions 1 March 6th 08 12:22 AM
Cross Reference Terrance DeBord Excel Worksheet Functions 1 March 8th 06 04:11 PM


All times are GMT +1. The time now is 08:34 PM.

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"