Show table like crosstab query display

mcfadwmc

Board Regular
Joined
May 10, 2005
Messages
162
i have a list of orders for depots by products in a table

Depot Product Order
1 234 6
1 223 7
1 221 2
2 234 3
2 223 7
etc etc

running into 20000+ individual entries

i want to arrange them as a matrix table as would be displayed in a crosstab query of the data above.
But i want the values to be editable

is this possible?

i don't want to reorganise the table to have the different products or depots as fields as i want to keep it dynamic to allow for additional products/depots to be added

thanks
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
63,408
Office Version
  1. 365
Platform
  1. Windows
The only way I know of to change the way the data is displayed is to use a Cross-Tab Query. And as you know, that is not editable.

Typically, you only use Cross-Tab Queries for display purposes (and sources for Forms, Reports, etc).
You would use simple select queries for editing purposes.
 

SydneyGeek

MrExcel MVP
Joined
Aug 5, 2003
Messages
12,251
The problem with doing that is that you denormalize the data, and you make it difficult to do anything else with it.
You're not the only person to have struck this issue, and there are workarounds.
The approach in this article takes one record at a time, lays out a form for editing, and then returns it to the normalized structure.
Another way is to use a crosstab followed by a Make-table query to get the nice layout; then use Union queries to transpose back again, and regenerate the original table with the edited data.

Denis
 
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,629
Messages
5,838,454
Members
430,549
Latest member
jayjay2022

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