Vlookup

kcdill

Board Regular
Joined
Mar 13, 2002
Messages
106
Good Afternoon:
For some strange reason I just can't get my Lookup formula to find the Label or the Table.

The tables are in a Workbook named TBL_PIPE.
The SqRect_LBL is found at =TBL_PIPE!$AE$4:$AE$640.
The SqRect_TBL is found at =TBL_PIPE!$AE$4:$AH$640.
I checked the text in the cells and the only difference I could find were the column widths are different and the lookup LBL had a 0 in front of .375. I removed the 0 but no effect.

This afternoon I copied the Table from the Workbook named TBL_PIPE to my Takeoff Workbook as an experiment. Now the Lookup formula seems to work just fine when the table is in the same Workbook as the formula. My Takeoff Workbook is Protected. I inherited the Protection from another person when I started working here.
Question: Is it possible that the Protection would prevent the formula from looking outside the Takeoff Workbook for data that is found in a different Workbook?
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
It would be helpful to see the formula.
Does the second argument of the formula include the name of the other workbook?
 
Upvote 0
the lookup LBL had a 0 in front of .375. I removed the 0 but no effect.
Sounds suspiciously like you have text in a cell that looks like a number (error checking might alert you to this).


To change text to numbers (where conversion is possible):
=Value(A1)

To change numbers to text:
=Text(A1,"general")

Usually, I do this in a column to the right, then Copy | PasteSpecial values back into the correct column.

Other troubleshoots are:
1) Leading and trailing spaces (with text lookups)
2) Decimal values that are different but not seen due to formatting (with number lookups)
3) Not using the proper Match argument (True for "tax-table" style lookups, False for exact match lookups)
4) Sometimes with named ranges you can successfully fix a glitch by re-naming the lookups with new names (if you've copied the tables from other workbooks or worksheets)

Regards
 
Upvote 0

Forum statistics

Threads
1,215,465
Messages
6,124,975
Members
449,200
Latest member
Jamil ahmed

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