Are you using an MS query in Excel against a worksheet and some of the cells contain no data? My first guess is that it isn't dealing with Nulls (cells with no values). Another guess would be that in Access, all the data types for the query are correctly defined, so it works there. However, on the Excel side you're trying to do something with or against one data type when it is something else (e.g. you're trying to perform an aggregate function on data that looks numeric but is in fact text). Not much info in your post, so guesses are all I have.
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.