How to Create Pivot Table with Values as Text (with Easy Steps)

The following figure shows a table and a pivot table created from the table. The table has no numeric data, containing a list of some employees, their location, and gender. Though the table has no numeric values, it is possible to create a useful pivot table by counting the items.

Create Pivot table pivot table values as text


Step 1 – Creating a Pivot Table from Text Data

  • Select the data range.
  • Go to the Insert tab.
  • Select PivotTable.
  • Choose From Table/Range.

  • A box will appear. Select New Worksheet to create a pivot table in a separate worksheet.
  • Press OK.

Create Pivot table pivot table values as text

  • Excel will create a new pivot table.

Create Pivot table pivot table values as text


Step 2 – Dragging Columns to PivotTable Fields

  • Drag the Sex column to the Columns field.
  • Drag the Location column to the Rows field and Values field.
  • Excel will automatically show the Count of Location when you drag the Location column to Values Field.

Drag Columns to Fields-pivot table values as text

  • Excel will return the following output.


How to Use a Pivot Table to Show Non-Numeric Values as a Percentage

  • Drag the Location column to the Values field.

Drag Columns to Fields-pivot table values as text

  • Select the drop-down icon next to the new result you got.
  • Select Value Field Settings.

  • A Value Field Settings box will appear. Go to Show Values As.
  • Choose % of Column Total.
  • Click OK.

Drag Columns to Fields-pivot table values as text

  • Excel will show the count of locations as a percentage as well in the output now.

Drag Columns to Fields-pivot table values as text

Read More: How to Calculate Median in Excel Pivot Table


Download Practice Workbook

Download this workbook and practice while going through the article.


<< Go Back to Pivot Table Value Field Settings | Pivot Table in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Kawser Ahmed
Kawser Ahmed

Kawser Ahmed is a Microsoft Excel Expert, Udemy Course Instructor, Data Analyst, Finance professional, and Chief Editor of ExcelDemy. He is the founder and CEO of SOFTEKO (a software and content marketing company). He has a B.Sc in Electrical and Electronics Engineering. As a Udemy instructor, he offers 8 acclaimed Excel courses, one selected for Udemy Business. A devoted MS Excel enthusiast, Kawser has contributed over 200 articles and reviewed thousands more. His expertise extends to Data Analysis,... Read Full Bio

4 Comments
  1. Is there a way we can compare 2 pivot tables with similar information to spit out the difference betwen the two ?

  2. Hi, I just want to ask, I’m making a template for the company I am currently working (Bank here in the Philippines). I’m making a template to check if clients have submitted all necessary documents to open an account. I have made a table already. so in column a are list of sample accounts and for columns b onwards are for the required documents. i’ve made a drop down for those so we will only input either “ok” or x. is there a way i can summarize for example, account of john doe, all documents marked with x? thanks.

    • Hi there!

      I am assuming that you want the following result.
      get the summary data from a dataset
      Then follow the steps below.

      First, apply the following formula in cell E2 and copy it down.
      =TEXTJOIN(",",TRUE,IF(B2:D2="X",$B$1:$D$1,""))

      Then, filter out the blank cells from column E.

      Next, hide columns B to D.

      Now you can print the summary data.

      Please let us know if this is what you needed. If not then tell us more about it so that we may help. And thank you for being with us.

      Regards
      Md. Shamim Reza (Exceldemy Team)

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo