+ Reply to Thread
Results 1 to 8 of 8

How To Show The Values On Pivot Table

  1. #1
    Forum Contributor
    Join Date
    01-16-2015
    Location
    Istanbul
    MS-Off Ver
    Office 365
    Posts
    928

    How To Show The Values On Pivot Table

    Data is on Sheet1.

    I tried to create column names from the cell values on the column A with pivot table as you see on Sheet2.

    Like; 1-2, 2-3, 3-4, 4-5, ...

    And I want the values on the column B are shown below those column names.

    But I didn't make it work. It shows the values as count, sum, max, min. etc. (on Pivot Table)

    I want just values.

    I also tried Copy-Paste, Paste Special & Transpose but then the column names are not merged. For example there are several 1-2 columns.

    How to do that?

    Note : Pivot Table is not necessary.
    Attached Files Attached Files
    Last edited by zanshin777; 07-07-2020 at 03:34 PM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: How To Show The Values On Pivot Table

    Here's what I did.
    First, I got the unique values from Col 1 (Remove Duplicates) and transposed them into row 1.
    Then in D2 copied across and down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    See attached sheet. Is that what you wanted?

    PS. I don't think it's possible with a pivot table.
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Contributor
    Join Date
    01-16-2015
    Location
    Istanbul
    MS-Off Ver
    Office 365
    Posts
    928

    Re: How To Show The Values On Pivot Table

    When I copy paste your formula It always shows the same values. (Sheet3)

    ???


    Edit : While copying and pasting the cell D1 does not change for some reason. But when I apply the fill to the formula It works.

    Thank you very much. It works.
    Attached Files Attached Files
    Last edited by zanshin777; 07-08-2020 at 08:37 AM.

  4. #4
    Forum Contributor
    Join Date
    01-16-2015
    Location
    Istanbul
    MS-Off Ver
    Office 365
    Posts
    928

    Re: How To Show The Values On Pivot Table

    I realized there is something wrong with your formula.

    Then I applied COUNTA the range extracted with your formula and the column B and the results are different.

    The range extracted with your formula : 63
    Column B : 51

    So your formula generated some extra values.

    What's the problem?

    ???

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: How To Show The Values On Pivot Table

    If you use COUNTA on a range that contains formulas, it counts all cells that contain formulas. If you manually count the numbers in the extracted range, you get 51.
    If you need to count them try
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Valued Forum Contributor Haluk's Avatar
    Join Date
    02-14-2019
    Location
    Turkiye
    MS-Off Ver
    2010 - 64 Bit on Windows-11 (22 H2) 64 Bit
    Posts
    1,150

    Re: How To Show The Values On Pivot Table

    As far as I understand, I can suggest the following code but first; column headers in Sheet1 should be changed as Column1 and Column2

    After the column headers are updated manually as stated above, you can run the below macro;

    Please Login or Register  to view this content.

    Sample file is attached...
    Attached Files Attached Files
    Last edited by Haluk; 07-08-2020 at 05:56 PM.

  7. #7
    Forum Contributor
    Join Date
    01-16-2015
    Location
    Istanbul
    MS-Off Ver
    Office 365
    Posts
    928

    Re: How To Show The Values On Pivot Table

    Thank you very much Haluk.

    It works perfectly.

  8. #8
    Valued Forum Contributor Haluk's Avatar
    Join Date
    02-14-2019
    Location
    Turkiye
    MS-Off Ver
    2010 - 64 Bit on Windows-11 (22 H2) 64 Bit
    Posts
    1,150

    Re: How To Show The Values On Pivot Table

    You're welcome...

+ 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. Pivot Table does not show all values
    By dflak in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 11-15-2018, 03:29 PM
  2. Pivot table - Show values as - question
    By vemix in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 11-19-2013, 11:31 AM
  3. Why do identical values show up twice in Pivot Table?
    By desperatepivot in forum Excel General
    Replies: 5
    Last Post: 07-12-2011, 05:58 AM
  4. Pivot table - show values as
    By vesapo in forum Excel General
    Replies: 11
    Last Post: 11-29-2010, 11:55 AM
  5. Pivot Table to show row values
    By JimmyA in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-23-2009, 10:06 AM
  6. Show values only in a pivot table
    By ymze in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-07-2005, 03:05 PM
  7. [SOLVED] Do not show rows with no values in Pivot Table
    By Mark in forum Excel General
    Replies: 0
    Last Post: 04-19-2005, 02:06 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