Using vlookup on another sheet

Nerd1

New Member
Joined
Jul 2, 2018
Messages
3
Hi!

How would I use Vlookup, when referring to another sheet? I need a formula to show:
- IF the serial number (E from sheet 1) is found in the sheet DUP (range - G1:J201) >>>> then return the right action (E.g. delete, Good, etc), depending on IF the ERASURE is blank, successful or failed.

File: https://1drv.ms/x/s!ArRB1Ah3M1ZqgpkOomz3zuStAiXyMw

Current formula (which isn't working)
=INDEX(DUP!H2:J201,MATCH($F2,DUP!H2:J201,0),MATCH($K2,DUP!H1:J1,0))

SHEET 1
TFZ45Sw.png


DUP

pN28Rci.png
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Hi Nerd1,


assuming you have your formula in P2 on Sheet1,

Code:
=INDEX(DUP!$H$2:$J$201,MATCH($F3,DUP!$G$2:$G$201,0),MATCH($K3,DUP!$H$1:$J$1,0))
 
Upvote 0
It is mostly working, but there seems to be an issue! Every time a blank cell is in erasure, it does not compute properly.

2JMwEzq.png
 
Upvote 0

Forum statistics

Threads
1,223,907
Messages
6,175,300
Members
452,633
Latest member
DougMo

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