Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Bob
 
Posts: n/a
Default Formula for comparing text in two workbooks

I have a wkbk with first names, last names, street. Another workbook has
first names, last names. I would like to compare the two and if both columns
match, I need to insert the street.
I have the following to tell me if there is a match:
=IF(SUMPRODUCT(('[!ID.xls]all'!$B$2:$B$541=E11)*('[!ID.xls]all'!$C$2:$C$541=K11)), "Match", "Need to ID")

  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
try the following array formula (entered with CTRL+SHIFT+ENTER):
=IF(SUMPRODUCT(('[!ID.xls]all'!$B$2:$B$541=E11)*('[!ID.xls]all'!$C$2:$C
$541=K11)),INDEX('[!ID.xls]all'!$A$2:$A$541,MATCH(1,('[!ID.xls]all'!$B$
2:$B$541=E11)*('[!ID.xls]all'!$C$2:$C$541=K11),0)), "Need to ID")


--
Regards
Frank Kabel
Frankfurt, Germany

"Bob" schrieb im Newsbeitrag
...
I have a wkbk with first names, last names, street. Another workbook

has
first names, last names. I would like to compare the two and if both

columns
match, I need to insert the street.
I have the following to tell me if there is a match:

=IF(SUMPRODUCT(('[!ID.xls]all'!$B$2:$B$541=E11)*('[!ID.xls]all'!$C$2:$C
$541=K11)), "Match", "Need to ID")


  #3   Report Post  
Bob
 
Posts: n/a
Default

Worked beautifully!

Thank you.

"Frank Kabel" wrote:

Hi
try the following array formula (entered with CTRL+SHIFT+ENTER):
=IF(SUMPRODUCT(('[!ID.xls]all'!$B$2:$B$541=E11)*('[!ID.xls]all'!$C$2:$C
$541=K11)),INDEX('[!ID.xls]all'!$A$2:$A$541,MATCH(1,('[!ID.xls]all'!$B$
2:$B$541=E11)*('[!ID.xls]all'!$C$2:$C$541=K11),0)), "Need to ID")


--
Regards
Frank Kabel
Frankfurt, Germany

"Bob" schrieb im Newsbeitrag
...
I have a wkbk with first names, last names, street. Another workbook

has
first names, last names. I would like to compare the two and if both

columns
match, I need to insert the street.
I have the following to tell me if there is a match:

=IF(SUMPRODUCT(('[!ID.xls]all'!$B$2:$B$541=E11)*('[!ID.xls]all'!$C$2:$C
$541=K11)), "Match", "Need to ID")



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
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM
Concatenation formula loses text wrap formatting DFM Excel Discussion (Misc queries) 5 December 27th 04 01:45 PM
Logical Text Formula Jim Excel Worksheet Functions 2 December 6th 04 10:37 PM
how can i merge 2 workbooks using a formula? John F Excel Worksheet Functions 6 November 23rd 04 04:45 PM
Display numbers only, no text formula Mira Excel Worksheet Functions 2 November 11th 04 01:54 AM


All times are GMT +1. The time now is 10:28 PM.

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"