Vlookup with text Text

billfinn

Board Regular
Joined
Jun 7, 2018
Messages
114
Office Version
  1. 2016
Platform
  1. Windows
I am trying to match the Item Number in the BOM sheet and fill in the Description and Price from the Item Master sheet. I need to keep the Item Number columns formtted as Text (I think) because we have many part numbers that begin with 0. I tried google and a few Excel forums but I haven't figured it out yet. I would appreciate any suggestions or solutions very much.

Code:
=TEXT(VLOOKUP(A3,'[H:\Quick Estimator Project\Estimating Tool06-06-2018.xlsm]Item Master'!$A:$F,1, FALSE)Text)
Thanks
Bill
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Perhaps this..

=TEXT(VLOOKUP(A3,'[H:\Quick Estimator Project\Estimating Tool06-06-2018.xlsm]Item Master'!$A:$F,1, FALSE),"@")
 
Upvote 0
Thanks for the quick response!! I tried this but I still get an error message that A Formula in This Worksheet contains one or more invalid references. I did add the space between Tool and 06-06.
Thanks much
Bill
 
Upvote 0
Care to post what you have in A3 and in the matching row of '[H:\Quick Estimator Project\Estimating Tool06-06-2018.xlsm]Item Master'!$A:$A?
 
Upvote 0
A3 is an item number 21214 which is formatted as text due to other item numbers beginning with 0
The matching row $A$A has item numbers one of which is the 21214.
I am more than happy to post any other info needed
Thanks,
Bill
 
Upvote 0
A3 is an item number 21214 which is formatted as text due to other item numbers beginning with 0
The matching row $A$A has item numbers one of which is the 21214.
I am more than happy to post any other info needed
Thanks,
Bill

If you want to make sure that the VLOOKUP result is text...

=VLOOKUP(A3,'[H:\Quick Estimator Project\Estimating Tool06-06-2018.xlsm]Item Master'!$A:$A,1,0)&""


If A3 must be looked up as a test value because column A of the target is text...

=VLOOKUP(A3&"",'[H:\Quick Estimator Project\Estimating Tool06-06-2018.xlsm]Item Master'!$A:$A,1,0)&""
 
Upvote 0
Day 2 of migraine fun, I should be able to figure this out but I can't. I am providing more info in hopes that someone can help me to figure out what should be a simple problem.

I am Entering the formula in Columns B of file name "H:\Quick Estimator Project\Sub Assemblies and BOM" in the "BOM" worksheet.
I am trying to retrieve data from filename "H:\Quick Estimator Project\Estimating Tool 06-06-2018" using the "Item Master" worksheet.
Item Number is in column A in both worksheets.
The BOM worksheet in the Sub Assemblies and BOM file looks like this;
Item #Item DescriptionCost
LUMBER
21214#N/A15.22
212162x12x16 SPF.17.39
210142x10x14 SPF10.92
210162x10x16 SPF12.48
28102x8x10 SPF6.07
28142x8x14 SPF8.49
28162x8x16 SPF9.23
269112STUD2X6X91.5" KD SPF 3.3
268ESP2x6x8 SPF4.52
26102x6x10 SPF4.43
26142x6x14 SPF6.2
26162x6x16 SPF7.09
249112STUD2X4X91-1/2" KD STUD 2.23
248ESP2x4x8 SPF2.97
24102x4x10 SPF2.98
24142x4x14 SPF4.32
24162x4x16 SPF5.11
14PIP1x4 Industrial Pine0.15

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

and the Item Master worksheet in the Quick Estimating Tool 06-06-2018 looks like this;


ItemStoreLast Cost DateSupplierDescriptionPrice
ADV200111002/26/2018HUBEADVANTECH SUBFLOOR ADH 24OZ GUN FOA14.12
BP1360576011/2/2017GRAHFIRE/SMOKE DRAFT SEALANT 10.14.17
FSONE9005/23/2018HIL4FS-ONE 600ML FOIL15.52
PPG1414X8207/14/2017PITTPPG TOP GUN 200XI WHITE PAINTERS CA1
PS6007606/22/2017PRIMSAUSAGE PACK 20OZ CAULKER41.6
QB240010/27/2017ORGIQBOND SMALL REPAIR KIT7.42
RRCALWIPE NEW RECOLOR KIT0.01
SS100207406/12/2015NOR7SMOKE SOUND SEALANT WHT 20OZ4.57
WB00502310010/6/2015AVWPROSTICK 65MP SPRAY ADHES 17OZ W AD4.98
553687605/7/2018ORGIJBWELD 27106 RED THREADLOCKER 6ML2.7
3755685005/31/2018ORGI110012 SHOE GOO ADHESIVE 3.7OZ2.79
4105717605/29/2018ORGI9OZ MIRACLE BOND EPOXY12.71
100258376012/21/2017ORGI3M IC-15WB FIRE BARRIER 10.1 FL6.15
11558454006/1/2018ORGIELMERS RUBBER CEMENT 4OZ1.44
12410901003/19/2018ORGI6221 INST BOND WD ADH THCK 2OZ5.66
12560988105/4/2018ORGIJBWELD 24206 BLUE THREADLOCKER 6ML2.59
12561067603/7/2018ORGIEPOXY ADHESIVE QUICK STTG 25ML2.88
13279804001/25/2018ORGILOCTITE VOC MIRROR MASTIC ADHESIVE1.88

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

I want to locate the Item Number from the Item Master sheet and populate the BOM sheet with Description and Cost for that item in the appropriate columns.
Thanks in advance for any help to get this resolved.
 
Upvote 0
I figured out my issue, got it working now. Funny thing is that every time I paste the formula into a cell a screen comes up for me to select the source file. I got all but 4 of the cells in my sheet populated with my formula. Those 4 give me a Value Not Available error. All 4 have an Item Number that is numeric and I have that column formatted as text to keep leading zeroes on other Items. There are over 100 other numeric part numbers that are not causing an issue.
If anyone has any idea as to what could cause that issue I would be grateful for a clue.
Thanks,
Bill
 
Upvote 0

Forum statistics

Threads
1,214,891
Messages
6,122,101
Members
449,066
Latest member
Andyg666

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