Look at 2 values to return one result

peterman25

New Member
Joined
Jul 6, 2016
Messages
11
I've been racking my brain on this one, but can't seem to get it...

I am looking at 2 pieces of data, but want to return one result. The result comes from a different worksheet (table). I'm wanting to do so without moving data around. I know that I could concatenate the 2 pieces of data in the 2 worksheets and then just do a vlookup, but is it possible without having to do those steps and just leaving the worksheets as they are dumped out of the systems that create them?

Worksheet 1 - Column B is an employee ID that is unique. Column E is a department code. What I am trying to do is look at both values to return a job reference code to column F.


1601339802323.png



Worksheet 2 - Has the employee ID (column A) and the department code (column E) AND the job reference code (column G) that I am trying to return.

1601340208716.png



Thank you for any assistance / guidance.
 
You missed what Joe said in post#5
I'm using Excel for Office 365. If you are not, try confirming the formula with ctrl+shift+Enter to make it an array formula and then copy it down.
 
Upvote 0

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Thanks. I figured it out and it works now. You have to do the ctrl+shift+enter in the formula bar for it to work properly.
You are welcome - thanks for the reply, and thanks to Fluff for redirecting you to post #5.
 
Upvote 0

Forum statistics

Threads
1,214,593
Messages
6,120,434
Members
448,961
Latest member
nzskater

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