VLOOKUP, XLOOKUP or INDEX?

mrstivoaddict

New Member
Joined
Aug 19, 2024
Messages
6
Office Version
  1. 365
Platform
  1. Windows
I am currently using VLOOKUP to return a value from one tab to another.

=VLOOKUP(E2,Rates!$B$3:$C$57,2,0)

I would like to add additional conditions to this formula so that it will look up the values of each cell in column A and B to return the corresponding value from the Rates sheet into column C.
I'm trying to decide what's the best way to do it.

DETAILS
POSITION (A)TYPE (B)RATE (C)
MANAGERST
SUPERVISOROT
WORKERST
WORKERDT
SUPERVISORDT
WORKERDT


RATES
POSITIONSTOTDT
MANAGER172220294
SUPERVISOR169217290
WORKER150175200

So...if vlookup finds Manager and ST, it will return 172, Supervisor and DT will return 290, Worker and OT will return 175, etc.

Suggestions would be much appreciated!
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
You are welcome. Glad we worked it out in the end. :biggrin:
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,772
Members
452,353
Latest member
strainu

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