How do you add a third dimension to a table?

%3CLINGO-SUB%20id%3D%22lingo-sub-1415222%22%20slang%3D%22en-US%22%3EHow%20do%20you%20add%20a%20third%20dimension%20to%20a%20table%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1415222%22%20slang%3D%22en-US%22%3E%3CP%3ESuppose%20I%20have%20a%20table%3A%3C%2FP%3E%3CP%3EDifferent%20departments%20vs%20equipment%3A%3C%2FP%3E%3CP%3EColumns%3A%20Sales%2C%20Marketing%2C%20Front-end%2C%20Back-end%2C%20Database%3C%2FP%3E%3CP%3ERows%3A%20Desktop%2C%20Laptop%2C%20Tablet%3C%2FP%3E%3CP%3EData%3A%20Yes%2FNo%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%20I%20want%20to%20group%20a%20few%20of%20the%20columns%20such%20as%20front-end%2C%20back-end%20into%20Development.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20then%20want%20to%20use%20all%20this%20information%20in%20a%20pivot%20table.%26nbsp%3B%20(see%20attached%20sample)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20do%20I%20model%20the%20property%20of%20some%20columns%20belonging%20to%20another%20group%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1415222%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1415268%22%20slang%3D%22en-US%22%3ERe%3A%20How%20do%20you%20add%20a%20third%20dimension%20to%20a%20table%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1415268%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20order%20to%20show%203%20departments%20under%20Development%20one%20as%20you%20wish%2C%20you%20need%20to%20list%20them%20as%20division%20under%20that%20department%20in%20your%20raw%20data%20table.%20Your%20Yes%2FNo%20need%20to%20be%20in%20the%20format%20of%20number%20(1%20%3D%20Yes%2C%200%20%3D%20No).%20Then%20you%20pivot%20your%20raw%20data%20table%20so%20that%20Department%20is%20on%20top%20of%20Division%20under%20Columns.%20You%20have%20to%20set%20Value%20fields%20to%20%22Min%22%20so%20that%20if%20any%20department%20has%20any%20Yes%20then%20the%20output%20will%20show%201%20(rather%20than%20sum%20or%20count%20which%20result%20in%20incorrect%20output).%20To%20clearly%20show%203%20departments%20are%20under%20Development%2C%20it%20is%20suggested%20you%20choose%20different%20color%20for%20their%20headings%20and%20also%20set%20Development%20as%20Center%20Across%20Selection%20(Format%20Cells%2FAlignment%2FHorizontal).%20Finally%2C%20choose%20the%20whole%20area%20containing%20all%20numbers%20of%20the%20pivot%20table%20then%20Format%20Cells%2FCustom%2F%22Yes%22%3B%3B%22No%22.%26nbsp%3B%3C%2FP%3E%3CP%3EPls%20see%20the%20attached%20workbook%20as%20a%20sample%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1415303%22%20slang%3D%22en-US%22%3ERe%3A%20How%20do%20you%20add%20a%20third%20dimension%20to%20a%20table%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1415303%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F675276%22%20target%3D%22_blank%22%3E%40hynguyen%3C%2FA%3E%26nbsp%3BThanks%20for%20your%20response.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20one%20problem%20is%20that%20suppose%20I%20have%20many%20rows%20for%20equipment%2C%20let's%20say%20100.%26nbsp%3B%20It%20will%20become%20very%20difficult%20to%20maintain.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20was%20thinking%20I%20can%20maintain%20a%20separate%20table%20for%20Division%20and%20department.%26nbsp%3B%20However%2C%20I%20am%20not%20sure%20how%20to%20use%20that%20in%20a%20Pivot%20(if%20I%20have%20two%20tables).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1415316%22%20slang%3D%22en-US%22%3ERe%3A%20How%20do%20you%20add%20a%20third%20dimension%20to%20a%20table%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1415316%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F575648%22%20target%3D%22_blank%22%3E%40nilanjenator%3C%2FA%3E%26nbsp%3BIn%20case%20you%20have%20much%20longer%20list%20of%20Equipment%2C%20I%20think%20you%20should%20consider%20using%20Data%20Model%20feature%20instead.%20It%20is%20like%20a%20small%20version%20of%20Microsoft%20Access%20(database)%20within%20Excel.%20Please%20check%20about%20it%20here%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2Fcreate-a-data-model-in-excel-87e7a54c-87dc-488e-9410-5c75dbcb0f7b%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2Fcreate-a-data-model-in-excel-87e7a54c-87dc-488e-9410-5c75dbcb0f7b%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1415501%22%20slang%3D%22en-US%22%3ERe%3A%20How%20do%20you%20add%20a%20third%20dimension%20to%20a%20table%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1415501%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F675276%22%20target%3D%22_blank%22%3E%40hynguyen%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20can't%20say%20that%20Power%20Pivot%20is%20a%20%22small%22%20version%20of%20Access.%20These%20are%20tools%20for%20bit%20different%20purposes%2C%20no%20one%20is%20bigger%20or%20smaller.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Suppose I have a table:

Different departments vs equipment:

Columns: Sales, Marketing, Front-end, Back-end, Database

Rows: Desktop, Laptop, Tablet

Data: Yes/No

 

Now I want to group a few of the columns such as front-end, back-end into Development.

 

I then want to use all this information in a pivot table.  (see attached sample)

 

How do I model the property of some columns belonging to another group?

 

4 Replies
Highlighted

In order to show 3 departments under Development one as you wish, you need to list them as division under that department in your raw data table. Your Yes/No need to be in the format of number (1 = Yes, 0 = No). Then you pivot your raw data table so that Department is on top of Division under Columns. You have to set Value fields to "Min" so that if any department has any Yes then the output will show 1 (rather than sum or count which result in incorrect output). To clearly show 3 departments are under Development, it is suggested you choose different color for their headings and also set Development as Center Across Selection (Format Cells/Alignment/Horizontal). Finally, choose the whole area containing all numbers of the pivot table then Format Cells/Custom/"Yes";;"No". 

Pls see the attached workbook as a sample,

Highlighted

@hynguyen Thanks for your response.  

 

The one problem is that suppose I have many rows for equipment, let's say 100.  It will become very difficult to maintain.  

 

I was thinking I can maintain a separate table for Division and department.  However, I am not sure how to use that in a Pivot (if I have two tables).

Highlighted

@nilanjenator In case you have much longer list of Equipment, I think you should consider using Data Model feature instead. It is like a small version of Microsoft Access (database) within Excel. Please check about it here: https://support.office.com/en-us/article/create-a-data-model-in-excel-87e7a54c-87dc-488e-9410-5c75db...

Highlighted

@hynguyen 

I can't say that Power Pivot is a "small" version of Access. These are tools for bit different purposes, no one is bigger or smaller.