Lookup Value From Sheet 2 to Sheet 1

dlo1503

New Member
Joined
Feb 24, 2020
Messages
21
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: 11

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

Forum statistics

Threads
1,214,653
Messages
6,120,751
Members
448,989
Latest member
mariah3

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