VLookup

brandon16

Board Regular
Joined
Sep 29, 2014
Messages
133
Hi,

I have 2 excel workbook

Data-MI
Joblist

I need a lookup from cell J1 to say If

Cell a2 (Data-MI) = Cells A:A (joblist) the'project' else 'null'

If anyone can help please?
 
Last edited:

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Sorry it should read

If job (column A data-Mi) = Job (column A joblist) then return values in column E (joblist) else return blank
 
Upvote 0
Not a VLOOKUP, a different way of doing it (I've never used a VLOOKUP)
On row 2 put this and copy down
=IFERROR(OFFSET(Job!E$1,MATCH(data-MI!A2,Job!A:A,0)-1,0),0),"")
or
=IFERROR(OFFSET(Job!A$1,MATCH(data-MI!A2,Job!A:A,0)-1,0),4),"")
is the same thing
 
Upvote 0
I'm not sure I understand what you are trying to do, but here is what I came up with.

If both workbooks are open at the same time, you could put this formula in J2 of "Data-MI":

Code:
=IFNA(VLOOKUP(A2,[joblist.xlsx]Sheet1!$A:$E,5),"")

If joblist is closed, you will need to put the path in place of the bracketed file name (I used desktop below):

Code:
=IFNA(VLOOKUP(A2,'C:\Users\[B]UserName[/B]\Desktop\[joblist.xlsx]Sheet1'!$A:$E,5),"")

The above solutions are assuming that you are looking for the A2 Value anywhere within joblist's 'A' Column. It does not have to be in A2 of joblist.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
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