Lookup Value From Sheet 2 to Sheet 1

dlo1503

New Member
Joined
Feb 24, 2020
Messages
19
Office Version
  1. 365
Platform
  1. Windows
I am trying to build a spreadsheet of components with various measurements. The main form exists in sheet 2 and info is loaded via a barcode scan inputting data in row 3. Once the info is there I would like a vba to search for the Component Number (Sheet 2 : B3) and if it finds the corresponding Component Number in Column B of Sheet 1 it returns the previous measurement results. These are linked as follows

(RESULTS) Sheet 2 A12:A21 links with (SEARCHED SPREADSHEET) Sheet 1 G2:P2
Sheet 2 B12:B21 links with Sheet 1 Q2:Z2
Sheet 2 C12:C21 links with Sheet 1 AA2:AJ2

If the lookup cannot find the exact match I want the cells in sheet 2 to remain blank as they will need to be filled in manually. This is why I want a VBA and not a formula solution.

Any help is greatly appreciated.
 

Attachments

  • FAI.JPG
    FAI.JPG
    72.9 KB · Views: 8

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Watch MrExcel Video

Forum statistics

Threads
1,130,175
Messages
5,640,608
Members
417,156
Latest member
Ciupanezul21

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
Top