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
[TABLE="width: 1027"]
<colgroup><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD="align: left"]FLEET[/TD]
[TD="align: left"]BASE[/TD]
[TD="align: left"]SRD[/TD]
[TD="align: left"]AIRCRAFT[/TD]
[TD="align: left"]WUC[/TD]
[TD="align: left"]POSITION[/TD]
[TD="align: left"]UNIQUE_ID[/TD]
[TD="align: left"]ALT_POSITION[/TD]
[TD="align: left"]DESCRIPTION[/TD]
[TD="align: left"]SERIAL[/TD]
[/TR]
[TR]
[TD="align: left"]A-01 R[/TD]
[TD="align: right"]5[/TD]
[TD="align: left"]ABC[/TD]
[TD="align: left"]JMA0601[/TD]
[TD="align: left"]11000[/TD]
[TD][/TD]
[TD="align: left"]11000[/TD]
[TD="align: right"]0[/TD]
[TD="align: left"]F-15S AIRFRAME[/TD]
[TD="align: left"]93-0864[/TD]
[/TR]
[TR]
[TD="align: left"]A-01 R[/TD]
[TD="align: right"]5[/TD]
[TD="align: left"]ABC[/TD]
[TD="align: left"]JMA0601[/TD]
[TD="align: left"]11AC0[/TD]
[TD][/TD]
[TD="align: left"]11AC0[/TD]
[TD="align: right"]0[/TD]
[TD="align: left"]RADOME ASSY (DOOR NO.1) (F-15SICR)[/TD]
[TD="align: left"]1757[/TD]
[/TR]
</tbody>[/TABLE]

Installed_tbl
[TABLE="width: 1333"]
<colgroup><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD="align: left"]FLEET[/TD]
[TD="align: left"]BASE[/TD]
[TD="align: left"]SRD[/TD]
[TD="align: left"]AIRCRAFT[/TD]
[TD="align: left"]WUC[/TD]
[TD="align: left"]POSITION[/TD]
[TD="align: left"]UNIQUE_ID[/TD]
[TD="align: left"]ALT_POSITION[/TD]
[TD="align: left"]DESCRIPTION[/TD]
[TD="align: left"]SERIAL[/TD]
[/TR]
[TR]
[TD="align: left"]A-01 R[/TD]
[TD="align: right"]5[/TD]
[TD="align: left"]ABC[/TD]
[TD="align: left"]JMA0601[/TD]
[TD="align: left"]11000[/TD]
[TD][/TD]
[TD="align: left"]11000[/TD]
[TD="align: right"]0[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
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

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
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,223,897
Messages
6,175,271
Members
452,628
Latest member
dd2

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