ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Comparing two names (https://www.excelbanter.com/excel-worksheet-functions/149816-comparing-two-names.html)

Mike

Comparing two names
 
I have a worksheet as follows:

Broker Name Broker Code Contact
ABC Mtg A123 Bob
XYZ Financial B323 Phil
Blah Mtg A444 Charles

On another sheet I have their production numbers as such:
Broker Name Broker Code Loan Number Closed
ABC Mtg A123 123456 7/1
ABC Mtg A123 234567 7/2
Blah Mtg A444 987654 7/2
XYZ Financial B323 1230001 7/3

Basicaly what I want to do is this, in the second sheet instead of manually
putting in the broker name, I would like it to look at the broker code and
find that broker code on the first sheet and put the name of that broker in
the second sheet. Seems crazy but it helps me with another part of the
wookbook to make sure the names are exactly the same. Can you help me?

Teethless mama

Comparing two names
 
Sound like INDEX & MATCH functions. Look in the Excel Help menu

"Mike" wrote:

I have a worksheet as follows:

Broker Name Broker Code Contact
ABC Mtg A123 Bob
XYZ Financial B323 Phil
Blah Mtg A444 Charles

On another sheet I have their production numbers as such:
Broker Name Broker Code Loan Number Closed
ABC Mtg A123 123456 7/1
ABC Mtg A123 234567 7/2
Blah Mtg A444 987654 7/2
XYZ Financial B323 1230001 7/3

Basicaly what I want to do is this, in the second sheet instead of manually
putting in the broker name, I would like it to look at the broker code and
find that broker code on the first sheet and put the name of that broker in
the second sheet. Seems crazy but it helps me with another part of the
wookbook to make sure the names are exactly the same. Can you help me?


Toppers

Comparing two names
 
In your second sheet:

in A2:

=INDEX(Sheet1!$A$2:$A$4,MATCH(B2,Sheet1!$B$2:$B$4, 0))

copy down

"Mike" wrote:

I have a worksheet as follows:

Broker Name Broker Code Contact
ABC Mtg A123 Bob
XYZ Financial B323 Phil
Blah Mtg A444 Charles

On another sheet I have their production numbers as such:
Broker Name Broker Code Loan Number Closed
ABC Mtg A123 123456 7/1
ABC Mtg A123 234567 7/2
Blah Mtg A444 987654 7/2
XYZ Financial B323 1230001 7/3

Basicaly what I want to do is this, in the second sheet instead of manually
putting in the broker name, I would like it to look at the broker code and
find that broker code on the first sheet and put the name of that broker in
the second sheet. Seems crazy but it helps me with another part of the
wookbook to make sure the names are exactly the same. Can you help me?


Mike

Comparing two names
 
Thank you so much Toppers! Perfect!

"Toppers" wrote:

In your second sheet:

in A2:

=INDEX(Sheet1!$A$2:$A$4,MATCH(B2,Sheet1!$B$2:$B$4, 0))

copy down

"Mike" wrote:

I have a worksheet as follows:

Broker Name Broker Code Contact
ABC Mtg A123 Bob
XYZ Financial B323 Phil
Blah Mtg A444 Charles

On another sheet I have their production numbers as such:
Broker Name Broker Code Loan Number Closed
ABC Mtg A123 123456 7/1
ABC Mtg A123 234567 7/2
Blah Mtg A444 987654 7/2
XYZ Financial B323 1230001 7/3

Basicaly what I want to do is this, in the second sheet instead of manually
putting in the broker name, I would like it to look at the broker code and
find that broker code on the first sheet and put the name of that broker in
the second sheet. Seems crazy but it helps me with another part of the
wookbook to make sure the names are exactly the same. Can you help me?



All times are GMT +1. The time now is 01:43 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com