Cross tab queries

kwagner1

Active Member
Joined
Jun 10, 2003
Messages
445
1 - In the crosstab table example below how would I remove the #Name (from CrossTabB)? This occurred because there was data matching the selection criteria and now there is not. I would like to make a 0 show up. I am using a cross tab query.
A related question which may have the same answer….

2 - Also, in the example below the first column (Submit column) in the last table (Crosstab C) is not displaying (i put the word "blank" to identify it for you - i want a "0") because there is not and never has been data for that combination of values. How can I force a zero so that column would contain all zeros?

Thanks again for all your help!!
(apologies about the layout of my data, but i dont have access to post an image for you


CrosstabA Submit Analyse Test Total
ML 2 1 3 6
TF 0 1 3 4

CrosstabB Submit Analyse Test Total
URGENT #Name? 1 4 5
HIGH #Name? 2 2 4
LOW #Name? 8 0 8

CrosstabC blank Analyse Test Total
GPCx blank 6 1 7
GPCy blank 2 3 5
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

Andrew Fergus

MrExcel MVP
Joined
Sep 9, 2004
Messages
5,449
Office Version
  1. 365
  2. 2021
  3. 2016
Platform
  1. Windows
Hi
Have a read of this article. I suspect that you modified the query or an underlying table such that the problem field name in the 2nd crosstab query is incorrect.
HTH, Andrew :)
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,057
Messages
5,835,161
Members
430,343
Latest member
t0m_c

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
Top