VBA Lookup from another sheet when value from drop down list is selected

Steve1984

New Member
Joined
May 19, 2021
Messages
1
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
Hello, Im new to VBA and would be grateful for help from the experts in this forum.

I have created a sheet called" Consignments Sheet" that uses Vlookup Formula to search the "Data Validation" Sheet which is in the same wrorkbook for box type then retrieves the boxes dimensions from the validation sheet and puts the data into "Consignments sheet" when a box type is selected. That all works perfectly.

The Issue currently is I want to create a box type called "other" from the drop list but when the dimensions are over written by the user of "Consignment sheet" the formula will no longer exist. The only way I can think of is to write code to do a VlOOKUP for all box types and dimentions. And I don't have the knowledge to do it. Please help!

I have attached a photo below of "Consignment sheet" bear in mind there are 29 pages to the sheet where I need the VLOOKUP to work across multiple cells. I have also attached "Validation Sheet" this is where the data set is stored for box type + dimensions.
 

Attachments

  • Consignment Sheet.jpg
    Consignment Sheet.jpg
    25.1 KB · Views: 16
  • Validation Sheet.jpg
    Validation Sheet.jpg
    21.8 KB · Views: 14

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

Forum statistics

Threads
1,214,591
Messages
6,120,427
Members
448,961
Latest member
nzskater

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