What kind of formula would work ?

aaple

New Member
Joined
Mar 9, 2009
Messages
3
Great forums as I'm learning how to use excel, I am a super noobie. Thanks for reading my thread/question.

I have a workbook, i would like to try something in the worksheet. as i setup the data for tables in sheet1:
co name contact person
intel
amd
asus
abit
msi
ati
dlink
belkin
intel
intel
belkin
amd
sony
intel
etc...

In the same workbook, as i have another table in sheet2:
co name contact person
ati steve
amd steve
belkin mike
dlink mike
msi chris


my question is, how can i match the company name from sheet2 to sheet1, and if there is a successful match, can i have sheet2 name of contact person automatically insert the name underneath contact person in sheet1? hope that is not a complex question, just want to know which formula i should use.

basically, in sheet 1, i would like to know the contact person from sheet 2.
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
have a look at Vlookup , which will return the first match from sheet1 to sheet2.

So if your comp name is in A and person in B

it would be something like this to put in sheet2

=vlookup(A1,sheet1!A:B,2,false)

Excel Workbook
ABCDEFG
1Sheet1Sheet2
2CompPersonCompPersonperson from Sheet1
3IntelJohnIntelJimJohn
4MicrosoftJakeMicrosoftJennJake
Sheet1
 
Upvote 0
In such case vlookup should help
select cell B1 in sheet1 and enter following formula
=VLOOKUP(A2,Sheet2!A2:B4,1,FALSE)
 
Upvote 0

Forum statistics

Threads
1,214,585
Messages
6,120,399
Members
448,958
Latest member
Hat4Life

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top