Visual Fox Pro database and Excel VLOOKUP

Christopher12

New Member
Joined
Oct 14, 2009
Messages
6
Hi all, this is probably easy for you but I'm having problem with VLOOKUP and Visual Fox Pro database.

So here it is, the formula is correct and worked fine, until I specified the "Table array" of Fox Pro database, which I used MS Query to get it as an external database into Sheet 2, I also have to run VFPODBC.msi before I can link to it.

If I use this: =VLOOKUP(E5,Sheet2!A1:S8958,3,FALSE) then I got "#N/A" return. 32321 is in E5.

If I use this: =VLOOKUP("32321",Sheet2!A1:<wbr>S8958,3,FALSE) then it worked fine, looking up "32321" in the Fox Pro database and return value 3 columns over. But this is a pain since there are many more rows to work with.

Please help

Thanks
Christopher
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,223,275
Messages
6,171,127
Members
452,381
Latest member
Nova88

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