INDEX / MATCH

ATXRobot

New Member
Joined
Feb 3, 2021
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
I am new to Excel and having trouble getting the following to work, hopefully someone will be able to point me in the right direction to get this going, it would be very much appreciated!

On sheet one, I would like to have the Computer Serial Number cells (Column D) on Sheet one (below), check against another column on Sheet 2 (bottom Image)...

s1.JPG




If the Serial Number is matched on Column B of Sheet 2, I am trying to get Excel to grab the corosponding Asset Tag on Sheet 2 (Column A) and populate the Column G cell on Sheet 1.

s2.JPG


I am just unable to figure this out, and would really appreciate some help if someone has a few minutes to take a look or at minimum point me in the right direction. Thank you!
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
in Cell G

=index(sheet2!A:A, match(sheet1!D2, Sheet2!B:B,0)
bring back a value from column A sheet2 =index(sheet2!A:A

match(sheet1!D2, Sheet2!B:B,0)
Look through the column sheet2 B nd see if the value Sheet1B2 is there if it is
then it returns the corresponding value in sheet2AA from the index bit

0 means an exact match is required
 
Upvote 0
Hi & welcome to MrExcel.
How about something like
Excel Formula:
=IFNA(INDEX(Sheet2!$A$2:$A$100,MATCH(D2,Sheet2!$B$2:$B$100,0)),"")
 
Upvote 0
Solution
Thank you! Both replies were very easy to understand, which I appreciate, and Fluff's answer is what worked best in this particular situation after I changed some ranges and variables =)
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,213,536
Messages
6,114,207
Members
448,554
Latest member
Gleisner2

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