+ Reply to Thread
Results 1 to 2 of 2

Pivot Table

Hybrid View

  1. #1
    bugmenot
    Guest

    Pivot Table

    This is my table

    ColumnNamess s1 s2 s3
    row1---------------------- 3 3 3
    row2---------------------- 5 5 4
    row3---------------------- 4 4 4
    row4---------------------- 3
    row5---------------------- 4 4 4
    row6---------------------- 4 4 4
    row7---------------------- 5 5 5
    row8---------------------- 4 4 4

    What I want to do is an output like below, which is showing the count of 3, 4 and 5 for each column.

    s1 s2 s3
    3- 1 2 1
    4- 4 4 5
    5- 2 2 1
    blank 1 0 0

    Thanks for helps.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Excel 2007 pivot table simple question (I guess) about transposing a table

    Hi,

    With your data in B1:D9 and the values 3,4,5 in say A12:A14, in B12 and copied to D14

    =COUNTIF(B$2:B$9,$A12)
    Not quite sure what the blanks refer to since a 1,0,0 doesn't seem consistent with your data.

    HTH
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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