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

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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