We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

Excel Pivot Table help displaying data field

genny
genny Posts: 319 Forumite
edited 12 July 2011 at 1:53PM in Techie Stuff
I have a large table of data, including the following important columns within it: Teacher, Class and Topic

This is generated from our large school database export, example data might be:

Mr Jones, Class 1A, Europe
Mr Smith, Class 1A, Russia
Mr Jones, Class 1B, Latin
Mr Smith, Class 1C, Art
Mr Jones, Class 1B, Europe
etc.

I want to create a pivot report with the column (field) heading as Class Name, Row (field) names as Teacher and the dData items as Topics, giving a grid of topics taught by teachers in classes. But I don't want any numeric totalling / sums in the data area at all, just the actual relevent topics listed in a cross-tabulated report. I can't seem to get the pivot table to do this, the only options are to count, sum etc.

e.g:

__________Class 1A__Class 1B__Class 1C
Mr Jones__Europe____Latin_____
____________________Europe____
Mr Smith__Russia______________Art




Is there an option to allow this in Excel 2003?

Comments

  • m5rcc
    m5rcc Posts: 1,544 Forumite
    Part of the Furniture 1,000 Posts Combo Breaker
    Excel Help would be a better place to ask this question IMHO
  • GunJack
    GunJack Posts: 11,947 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Photogenic
    edited 12 July 2011 at 8:56PM
    Unfortunately the formatting won't let me paste it properly, but:-

    if you have your table with column headers Teacher, Class and Subject, you can set the pivot as follows....in the layout box, put Teacher and Subject into the rows, Class in the columns, and count of subject in the data field. Then, double-click Teacher and in the box that opens, select no subtotals. Try it., and if you've done it right you'll have a table something like this (but better formatted, obviously

    edit: ok, thought I had it, but the forum formatting squished it - it looked ok until I submitted the post :mad:
    ......Gettin' There, Wherever There is......

    I have a dodgy "i" key, so ignore spelling errors due to "i" issues, ...I blame Apple :D
  • paddyrg
    paddyrg Posts: 13,543 Forumite
    GunJack wrote: »
    edit: ok, thought I had it, but the forum formatting squished it - it looked ok until I submitted the post :mad:

    Have you tried the # ( code) tags around the text? It uses a proportional font so layout may be easier
  • genny
    genny Posts: 319 Forumite
    GunJack wrote: »
    Unfortunately the formatting won't let me paste it properly, but:-

    if you have your table with column headers Teacher, Class and Subject, you can set the pivot as follows....in the layout box, put Teacher and Subject into the rows, Class in the columns, and count of subject in the data field. Then, double-click Teacher and in the box that opens, select no subtotals. Try it., and if you've done it right you'll have a table something like this (but better formatted, obviously

    edit: ok, thought I had it, but the forum formatting squished it - it looked ok until I submitted the post


    Thank-you, definitely a bit nearer the solution. Reading around it appears you can't display text in the main data part of a pivot. So I still can't get rid of the numeric count in the grid, I too have problems showing what it's like here, but will try with code tags:

    So now I have:
    [FONT=Courier New]              Class[/FONT]
    [FONT=Courier New]Teacher  Subject  Class 1A  Class 1B  Class 1C [/FONT]
    [FONT=Courier New]Mr Jones Europe   1         1[/FONT]
    [FONT=Courier New]       Latin              1[/FONT]
    [FONT=Courier New]Mr Smith Art                          1[/FONT]
    [FONT=Courier New]     Russia   1 [/FONT]
     
    

    Where I'm really after:
     
    [FONT=Courier New]      Class 1A  Class 1B  Class 1C[/FONT]
    [FONT=Courier New]Mr Jones  Europe    Latin[/FONT]
    [FONT=Courier New]                Europe[/FONT]
    [FONT=Courier New]Mr Smith  Russia              Art[/FONT]
     
    
  • GunJack
    GunJack Posts: 11,947 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Photogenic
    no, you deffo can't do it like that in a pivot unfortunately :(

    best is as you have it, which ain't so bad ;)
    ......Gettin' There, Wherever There is......

    I have a dodgy "i" key, so ignore spelling errors due to "i" issues, ...I blame Apple :D
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 353.5K Banking & Borrowing
  • 254.2K Reduce Debt & Boost Income
  • 455K Spending & Discounts
  • 246.6K Work, Benefits & Business
  • 602.9K Mortgages, Homes & Bills
  • 178.1K Life & Family
  • 260.6K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.