Access query not showing up in Excel - Help please

Anonymous
2022-04-21T13:15:57+00:00

I am trying to use a crosstab query from Access in an Excel spreadsheet to build a pivot table. For some reason the crosstab query will not show up in the Excel navigator. Does anyone have any ideas why this is happening?

The image below shows the one query showing up but the crosstab is not.

Microsoft 365 and Office | Access | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Duane Hookom 26,595 Reputation points Volunteer Moderator
    2022-04-22T21:47:01+00:00

    I was able to create a new query that selected all the columns/fields from my crosstab. I was able to connect the new query (basically the crosstab) to Excel.

    1 person found this answer helpful.
    0 comments No comments

7 additional answers

Sort by: Most helpful
  1. George Hepworth 22,300 Reputation points Volunteer Moderator
    2022-04-21T22:46:36+00:00

    Is the query parameterized in Access? If so, it's not going to show up in Excel.

    ====

    This would be true whether the query is directly parameterized or whether it is based on a parameterized subquery. Excel can't resolve those parameter references and doesn't try.

    0 comments No comments
  2. Anonymous
    2022-04-22T11:18:32+00:00

    No, there are no parameters in the crosstab query or the query the crosstab query is based on.

    0 comments No comments
  3. Duane Hookom 26,595 Reputation points Volunteer Moderator
    2022-04-22T13:45:04+00:00

    Are you able to connect to the “raw” data and then build your pivot/cross tab in Excel?

    0 comments No comments
  4. Anonymous
    2022-04-21T19:34:43+00:00

    Hi Who_Am_I_anyway?:

    Thank you very much for your feedback, I did the same test in ours and the same problem occurred.

    I have created a crosstab in Access:

    But when Excel imports data from database, crosstab does not appear:

    I think the reason should be that the crosstab data is a query generated from raw data, so Excel doesn't recognize it. I am very sorry for the inconvenience caused to you. But I also found a compromise for you, maybe you can also cross-tab query the imported data in Excel.

    You can create a pivot table from the table you import, Then generate a cross query by setting rows and columns. For detailed steps and references, you can also refer to this document :How to Create a Crosstab in Excel (Step-by-Step) - Statology

    Disclaimer: Microsoft provides no assurances and/or warranties, implied or otherwise, and is not responsible for the information you receive from the third-party linked sites or any support related to technology.

    The picture below is a simple test I did, I hope it can help you:

    At the same time, we are very sorry for not being able to import the cross-reference table directly from Access, we fully understand that this brings a lot of inconvenience to your work. We also recommend that you can directly submit your feedback in the Excel application, and your feedback will be sent directly to the developers of the program, which will help to fix this problem efficiently. More information for you to reference: How do I give feedback on Microsoft Office?

    Hope this will help you,

    Tin

    0 comments No comments