VLOOK-UP Formula

cfhasan89

New Member
Joined
Mar 24, 2014
Messages
10
I trying to VLOOKUP the serial number & Description from List_tbl and add to Installed_tbl. If a serial number is available return serial, if not return "EMPTY".

List_tbl
FLEETBASESRDAIRCRAFTWUCPOSITIONUNIQUE_IDALT_POSITIONDESCRIPTIONSERIAL
A-01 R5ABCJMA060111000110000F-15S AIRFRAME93-0864
A-01 R5ABCJMA060111AC011AC00RADOME ASSY (DOOR NO.1) (F-15SICR)1757

<colgroup><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>

Installed_tbl
FLEETBASESRDAIRCRAFTWUCPOSITIONUNIQUE_IDALT_POSITIONDESCRIPTIONSERIAL
A-01 R5ABCJMA060111000110000

<colgroup><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
I've tried the following for the serial number but having issues.

My formula: =IF(ISERROR(VLOOKUO($G2,List_tbl!$G2:List_tbl!$G21028,1,FALSE)),"EMPTY",J2)
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
try

=IFERROR(VLOOKUP($G2,List_tbl!$G2:List_tbl!$J21028,4,FALSE),"EMPTY")
 
Last edited:
Upvote 0
try this


Book1
ABCDEFGHIJ
1FLEETBASESRDAIRCRAFTWUCPOSITIONUNIQUE_IDALT_POSITIONDESCRIPTIONSERIAL
2A-01 R5ABCJMA060111000110000F-15S AIRFRAME93-0864
3A-01 R5ABCJMA060111AC011AC00RADOME ASSY (DOOR NO.1) (F-15SICR)1757
List_tbl



Book1
ABCDEFGHIJ
1FLEETBASESRDAIRCRAFTWUCPOSITIONUNIQUE_IDALT_POSITIONDESCRIPTIONSERIAL
2A-01 R5ABCJMA060111000110000F-15S AIRFRAME93-0864
Installed_tbl
Cell Formulas
RangeFormula
I2=IFERROR(VLOOKUP($G2,List_tbl!$G2:List_tbl!$J21028,3,FALSE),"EMPTY")
J2=IFERROR(VLOOKUP($G2,List_tbl!$G2:List_tbl!$J21028,4,FALSE),"EMPTY")
 
Upvote 0
Same results "EMPTY" for every cell. In the List_tbl I2: ="F-15S AIRFRAME" and J2: ="93-0864" would this cause me issues?
 
Upvote 0
your formulas are incorrect with a different way
the 2 formulas should be


Book1
BCDEFGHI
1BASESRDAIRCRAFTWUCPOSUNIQUE_IDDESCRIPTIONSERIAL
25AAB5QA060111AC011AC0RADOME ASSY (DOOR NO.1) (F-15SICR)1757
35AAB5QA060111GK00111GK001RT VERT STABLIZERA44-1045
45AAB5QA060111GK00211GK002LT VERT STABLIZERA44-1046
55AAB5QA060111K0111K01WING ASSY, LEFTA24-1322
65AAB5QA060111K0211K02WING ASSY, RIGHTA24-1321
75AAB5QA060112AAN12AANENVIR CONT PNL, F-15S50601-04
85AAB5QA060112CA012CA0CANOPY ASSY.A26-0481
95AAB5QA060112E00AFT12E00AFTAFT EJECTION SEAT5DA210
105AAB5QA060112E00FWD12E00FWDFWD EJECTION SEAT5DF206
115AAB5QA060112EE0AFT12EE0AFTSTAPACCCC5599
Installed_tbl
Cell Formulas
RangeFormula
H2=IFERROR(VLOOKUP($G2,List_tbl!$G$2:List_tbl!$J$21028,3,FALSE),"EMPTY")
I2=IFERROR(VLOOKUP($G2,List_tbl!$G$2:List_tbl!$J$21028,4,FALSE),"EMPTY")
 
Upvote 0
the first formula use relative cell reference, $G2:List_tbl!$J21028, that should be fixed, $G$2:List_tbl!$J$21028

Code:
=IFERROR(VLOOKUP($G2,List_tbl![COLOR="#FF0000"]$G2:List_tbl!$J21028[/COLOR],3,FALSE),"EMPTY")

and the second refer to a single column, $G$2:List_tbl!$G$21028 instead of 4 columns G to J, $G$2:List_tbl!$J$21028

Code:
=IFERROR(VLOOKUP($G2,List_tbl!$[COLOR="#FF0000"]G$2:List_tbl!$G$21028[/COLOR],[COLOR="#FF0000"]3[/COLOR],FALSE),"EMPTY")

and the result column should be 4, not 3.
 
Upvote 0

Forum statistics

Threads
1,214,972
Messages
6,122,530
Members
449,088
Latest member
RandomExceller01

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