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

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
You are welcome. Glad we worked it out in the end. :biggrin:
 
Upvote 0

Forum statistics

Threads
1,224,814
Messages
6,181,120
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