Pulling data from another workbook if the data corresponds with current workbook

Ryan1996

Board Regular
Joined
Jun 4, 2018
Messages
55
So essentially i have two workbooks.

One looks something like this:
[TABLE="width: 652"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD]Username[/TD]
[TD]First name[/TD]
[TD]Last name[/TD]
[TD]Ticket number[/TD]
[/TR]
[TR]
[TD]User1[/TD]
[TD]Jim[/TD]
[TD]Bob[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]User2[/TD]
[TD]Bob[/TD]
[TD]Jimmy[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

And the other is very similar bar a few extra columns.

I need to be able to pull the ticket number from the other worksheet for the said users.
How can i lookup the username but pull back the ticket number for that user?

If it makes it easier the columns in the sheet i need the data are:
Username (A1) Ticket Number (The missing information) (H1) i can then extend this down.

And the other sheet where i pull the information is:
Username (W) Ticket Number (this has the info i need) (AC)

Can anyone explain how to do this?
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Forum statistics

Threads
1,223,893
Messages
6,175,242
Members
452,623
Latest member
russelllowellpercy

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