Show table like crosstab query display


Board Regular
May 10, 2005
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


Some videos you may like

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.


MrExcel MVP, Junior Admin
Aug 1, 2002
Office Version
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.


MrExcel MVP
Aug 5, 2003
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.


Subscribe on YouTube

Watch MrExcel Video

Forum statistics

Latest member

This Week's Hot Topics

  • Sort code advice please
    Hi, I have the code below which im trying to edit but getting a little stuck. This was the original code which worked fine,columns A-F would sort...
  • SUMPRODUCT with nested If statement
    Hi everyone, Hope you're all well. I'm hoping someone will be able to point me in the right direction with a problem I'm having with a SUMPRODUCT...
  • VBA - simple sort is killing me!
    Hello all! This should be so easy, but not for me, apparently! I have a table of data that can be of varying lengths and widths. My current macro...
  • Compare Two Lists
    I have two Lists and I need to be able to Identify differences between them. List 100 comes from a workbook - the other is downloaded form the...
  • Formula that deducts points for each code I input.
    I am trying to create a formula that will have each student in my class start at 100 points and then for each code that I enter (PP for Poor...
  • Conditional formatting formula required for day of week and a value
    Hi, I have a really simple spreadsheet where column A is the date, column B is the activity total shown as a number and column C states the day of...