+ Reply to Thread
Results 1 to 6 of 6

How to do a Cross-Tab in Excel 2007?

  1. #1
    Registered User
    Join Date
    07-06-2009
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    7

    How to do a Cross-Tab in Excel 2007?

    Is there any way to do these in Excel 2007 WITHOUT a Pivot Table? I'd like to teach my Stats AP students how to do these without having them learn Pivot tables. What I'd like is to take data that looks like this

    Gender SAT
    M 1300
    F 1200
    M 1400
    F 1300
    F 1500
    M 1000

    And to turn it into a two-way Frequency Table like this

    <1200 > >=200
    M _____% ____%
    F _____% ____%

    Is this possible without going through and counting the number of cells in each pair of categories manually? Thanks very much.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: How to do a Cross-Tab in Excel 2007?

    Hello,

    you can use Countifs for that, if you don't want to create a pivot table.

    =COUNTIFS($A$2:$A$7,$E2,$B$2:$B$7,F$1)

    This formula is in F2 of the attached file, copied down and across.

    cheers,
    Attached Files Attached Files

  3. #3
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: How to do a Cross-Tab in Excel 2007?

    To express the result as a percentage, change the formula to

    =COUNTIFS($A$2:$A$7,$E2,$B$2:$B$7,F$1)/COUNTA($A$2:$A$7)

    and format the cell as %

    cheers

  4. #4
    Registered User
    Join Date
    07-06-2009
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: How to do a Cross-Tab in Excel 2007?

    Quote Originally Posted by teylyn View Post
    To express the result as a percentage, change the formula to

    =COUNTIFS($A$2:$A$7,$E2,$B$2:$B$7,F$1)/COUNTA($A$2:$A$7)

    and format the cell as %

    cheers
    Thanks very much!

  5. #5
    Registered User
    Join Date
    01-06-2012
    Location
    Netherlands, Amsterdam
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: How to do a Cross-Tab in Excel 2007?

    Hi,

    Could someone please tell me how you can get exactly the same results as displayed above in pivot table format (with the different criterias <1200 and >=1200 displayed in different columns)

    I tried to display the results by using a pivot table, but I didn't succeed.

    Thanks in advance..

    Kind regards,
    Timo
    Last edited by Timo1986; 01-06-2012 at 05:30 AM.

  6. #6
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: How to do a Cross-Tab in Excel 2007?

    Welcome to the Forum, unfortunately:

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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