VBA code to perform index and match based off of userform combo box values

Zimmerman

Well-known Member
Joined
Jan 22, 2009
Messages
663
I'm hoping someone could help me out with creating this code. I have a userform that has 2 combo boxes. When the user clicks the OK command button I would like to perform an index and match based on what the user picks from the combo boxes. The first combo box will need to look up the text in a sheet named "RL" in column C. Then I need to find and match the value from "Sheet1" cell "K6" from column "D" in sheet "RL" and "Sheet1" cell "N6" from row 5 in sheet "RL". And in Sheet1 cell O6 I would like that lookup value to be returned to this cell + the value of the 2nd combo box.

Hope this makes sense and someone could possibly help
Windows 7
Excel 2016

Thanks you
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Forum statistics

Threads
1,223,249
Messages
6,171,031
Members
452,374
Latest member
keccles

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