Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / July 2006

Tip: Looking for answers? Try searching our database.

Vlookup problem with Access Query import into Excel 2000

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Neophyte - 17 Jul 2006 01:03 GMT
I have exported from an Order Entry program to comma delimited text file
customer purchases. The file has more entries than Excel can handle on one
worksheet. So, I imported the file data into Access (107,000+entries). I
then used Excel's "Query Database" feature to import customer level
purchases into 4 worksheets. The Order Entry program didn't export customer
names, only customer numbers. So, I exported the customer info to another
text file and imported it into the Excel Workbook, only 451 entries . The
problem is when I did a vlookup function to retrieve the customer name into
the worksheet with the customer number, it works when I go into a customer
number cell with "F2" and exit. Otherwise, I get the #N/A error because I
have it set to false. My formula is
=VLOOKUP(A2,Customers!$A$2:$C$415,3,FALSE) in the invoice worksheets. I am
using Office 2000.
What do I need to do to make things work? I know this hard to follow and
trying to explain it is not easy but any help is greatly appreciated. I know
more about Excel than Access and that isn't saying much!
Thank you very much.
Lee
Max - 17 Jul 2006 02:04 GMT
> ...  it works when I go into a customer number cell with "F2" and exit.
> Otherwise, I get the #N/A error because I
> have it set to false. My formula is
> =VLOOKUP(A2,Customers!$A$2:$C$415,3,FALSE)
> What do I need to do to make things work?

As a first guess, try adding a zero to the lookup value, viz use instead:
=VLOOKUP(A2+0,Customers!$A$2:$C$415,3,FALSE)

Adding a zero is just one way of coercing the text numbers in col A to a
real numbers to enable correct matching with the lookup col A in Customers
Signature

Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

> I have exported from an Order Entry program to comma delimited text file
> customer purchases. The file has more entries than Excel can handle on one
[quoted text clipped - 14 lines]
> Thank you very much.
> Lee
Neophyte - 17 Jul 2006 03:03 GMT
That did the trick! I forgot to mention about trying Trim, then Clean, then
Cell  Format to number and none of them working. I wish that I could be
updated with new info as easily as the programs but then I wouldn't have the
chance to say thank you very much.
Lee
>> ...  it works when I go into a customer number cell with "F2" and exit.
>> Otherwise, I get the #N/A error because I
[quoted text clipped - 31 lines]
>> Thank you very much.
>> Lee
Max - 17 Jul 2006 03:31 GMT
Lee, you're welcome !
Glad it worked for you. Thanks for the feedback ..
Signature

Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

> That did the trick! I forgot to mention about trying Trim, then Clean, then
> Cell  Format to number and none of them working. I wish that I could be
> updated with new info as easily as the programs but then I wouldn't have the
> chance to say thank you very much.
> Lee
CLR - 17 Jul 2006 02:05 GMT
Maybe the two items, the value you are looking up and the lookup table are
not actually of the same data type.........one may look like numbers but
actually be text so the lookup will not find it.........I've had this
problem many times before......

hth
Vaya con Dios,
Chuck, CABGx3

> I have exported from an Order Entry program to comma delimited text file
> customer purchases. The file has more entries than Excel can handle on one
[quoted text clipped - 14 lines]
> Thank you very much.
> Lee

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.