+ Reply to Thread
Results 1 to 5 of 5

Creating cross-tabs with pivot tables

  1. #1
    Registered User
    Join Date
    11-24-2006
    Location
    Bristol, UK
    Posts
    34

    Creating cross-tabs with pivot tables

    Hey folks

    Any thoughts on how to simply create cross-tabs in a kind of People who X also Y kind of format? Tried doing it with pivots and getting nowhere. A simple example would be:

    excel example.png

    Data-set I have has a fair few more variables per person. Anyone got any ideas?

    Thanks very much

    Nick
    Attached Images Attached Images

  2. #2
    Valued Forum Contributor
    Join Date
    01-10-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    651

    Re: Creating cross-tabs with pivot tables

    this seems to be working:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    (array formula - ctrl+shift+enter)

    where i've put your input in A1:D4 and your desired output in F1:I4 as attached.
    Attached Files Attached Files
    Last edited by simarui; 06-26-2015 at 12:00 PM. Reason: adding attachment
    Hope I could help - if your post has been solved don't forget to mark it as such.

    Clicking the * below is a great way to say thanks!

    "Drowning in 10 feet of water isn?t any different than drowning in a million feet. And if you can swim, it doesn?t matter how deep the ocean is. At some level, once you realize you?re in water that?s too deep to stand, you have to have a very different approach," - Joi Ito

  3. #3
    Registered User
    Join Date
    11-24-2006
    Location
    Bristol, UK
    Posts
    34

    Re: Creating cross-tabs with pivot tables

    Wow, thanks very much, really appreciate you taking the time to help with this.

    I've swotted up on array formulas but I still can't figure out how to expand the table if i have more data. Have tried just expanding all the cell refs and using ctrl+shft+ent but makes everything 100%.

    Any light you can shed would be fantastic. I haven't sent the sheet as would really like to understand the process so can repeat it myself.

    Thanks again

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,546

    Re: Creating cross-tabs with pivot tables

    I did a little playing around with simarui's formula and found that if you keep the dimensions" square, as in 3X3 (original) or 4X4 (as you'll see if you double click cell H2 in the attached file) the values in the table are correct. I can't explain the behavior, but thought that it might be useful to know.

    Copy of percentage comparison.xlsx

    Hope this helps.

  5. #5
    Registered User
    Join Date
    11-24-2006
    Location
    Bristol, UK
    Posts
    34

    Re: Creating cross-tabs with pivot tables

    xxxxxxxxxxxx
    Last edited by nickbarthram; 08-20-2015 at 06:37 AM. Reason: Said something stupid and can't figure out how to delete

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Syncing Pivot Tables in 1 tab and multiple tabs
    By eugeneevans in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 01-29-2014, 04:55 PM
  2. Creating a Master / Consolidated Pivot Tables from a multiple pivot tables
    By paradise2sr in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 12-12-2013, 02:28 AM
  3. Creating a Master / Consolidated Pivot Tables from a multiple pivot tables
    By paradise2sr in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 12-08-2013, 10:49 PM
  4. [SOLVED] creating a Pivot Table out of data in a cross-tab tableau
    By icestationzbra in forum Excel General
    Replies: 2
    Last Post: 10-21-2012, 11:25 PM
  5. Creating data tables from a database without using pivot tables
    By gareth.campbell in forum Excel General
    Replies: 4
    Last Post: 11-24-2010, 12:23 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1