Database query of an excel worksheet

S

S. LaBelle

When I query an excel database using the get external data
function I have a problem with the data returned. I have
columns with both numberic and alpha numeric data. The
query will only recognize one or the other type of data.
It will leave a blank in the cell for the data it will not
return.

Example: If I have a column of invoice numbers and one of
the numbers contains an alpha character, the query will
leave a blank in the resulting cell.

Help!!
 
T

Tom Ogilvy

Untested, but
Make your numbers store as text by prefacing them with a single quote or
formatting the cells as text before entering the number. Then all your data
should be alpha numeric.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top