Crosstab Values

tuktuk

Well-known Member
Joined
Nov 13, 2006
Messages
856
i have a crosstab query with the Values setting on Field "Agent" where the total line is set to "Count".

is there a way to format the output to be a Negative Nubmer rather than the current result which is a positive number?

T
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
ahhh gotcha....

one more question regardign Crosstabs if you don't mind.

on the same qry i also have a "MonthlyDate" field with a criteria "#12/01/10#". if count of values do not exist for #1/1/11# the crosstab starts wiht #2/1/11#......

is there a way to have #1/1/11# with values as zeros....this helps line exports up in MS Excel.

NOTE: the "MonthlyDate" field only contains text as the first of each month, namely "12/1/10","1/1/11","2/1/11","3/1/11" etc.......

Thanks
 
Upvote 0
You would need to add in an NZ function for nulls to turn them to 0. If they do not even exist for that month then you will need to create a table to have all possible dates you need and then link that up using an outer join for the initial query and then use that query in the crosstab you could put the Nz function in that query so when it got to the crosstab it would have the zeros.
 
Upvote 0

Forum statistics

Threads
1,224,527
Messages
6,179,331
Members
452,907
Latest member
Roland Deschain

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
Back
Top