Pivot Table Issues

How to Display Text Instead of Sum or Count in an Excel PivotTable

John WilsonJohn Wilson Nov 2, 2026 869 views

Question details

The user needs a way to display original text strings in the Values area of a PivotTable instead of the default numerical aggregations like Count.

How to Display Text Instead of Sum or Count in an Excel PivotTable
Product
Excel
Device & OS
not provided
Scenario
Filtering data by specific categories (like a person's name) and needing to view the associated text data for that person in a single PivotTable row.
Observed behavior
When text fields are dragged into the Values area, the PivotTable automatically defaults to summarizing them as a 'Count', replacing the actual text with numbers.
Before you start

Ensure your source data is formatted as an official Excel Table (press Ctrl+T). This ensures that any formulas, Data Model queries, or custom workarounds will update dynamically when new data is added.

Solution 1Recommended

Use the Data Model and a DAX Measure

By adding your source data to the Excel Data Model, you can write a custom DAX measure to concatenate and display text strings in the values area.

Standard PivotTables cannot display unaggregated text natively. However, Excel's Data Model feature unlocks DAX (Data Analysis Expressions), which includes specific functions for text manipulation.

1
Add data to the Data Model

Select your source data table, go to the 'Insert' tab, and click 'PivotTable'. In the dialog box, check the box labeled 'Add this data to the Data Model' before clicking OK.

2
Create a new Measure

In the PivotTable Fields pane, right-click on your Table name at the top and select 'Add Measure'.

3
Input the DAX formula

Name your measure (e.g., 'TextValue'). In the formula box, type: =CONCATENATEX(Table1, Table1[YourTextColumn], ", ") - adjusting the table and column names to match your data. Click OK.

4
Add the Measure to Values

Drag your newly created measure into the 'Values' section of the PivotTable. The text will now be displayed instead of a count.

Use the Data Model and a DAX Measure
Multiple Text Values: If multiple text values exist for a single row item, the CONCATENATEX function will neatly separate them with the comma specified in the formula.
Free Microsoft Office alternative

Analyze Data Seamlessly with WPS Office

While standard PivotTables aggregate text into counts across all spreadsheet tools, WPS Office provides powerful dynamic array functions like TEXTJOIN and FILTER, allowing you to build custom text-based summary tables effortlessly. WPS Office is a highly compatible, free alternative to Microsoft Office.

  1. 1. Download and Install WPS Office: Get the free WPS Office suite from the official website and install it on your device.
  2. 2. Open your Spreadsheet: Launch WPS Spreadsheet and easily open your existing .xlsx files without losing formatting.
  3. 3. Apply Array Formulas: Utilize built-in functions like TEXTJOIN and FILTER to easily group and summarize your text data exactly as needed.
Fully compatible with Microsoft Excel (.xlsx) file formats and complex array formulas.Supports modern functions to summarize and display text data without PivotTable limitations.Free, lightweight, and fast-loading spreadsheet application.Familiar user interface ensuring seamless migration with zero learning curve.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my PivotTable show a count instead of my text?

PivotTables are fundamentally designed for mathematical data analysis. When a non-numeric (text) field is placed into the Values area, the program cannot sum or average the data, so it defaults to counting the number of text entries.

Can I use Conditional Formatting to display text in a PivotTable?

Yes, as a visual workaround, you can apply custom number formatting (such as ;;;"Your Text") to display a static text string based on a numerical value. However, this will only show predefined text and cannot dynamically pull varying text strings from your source data.

Will these workarounds slow down my Excel workbook?

Using the Data Model (DAX) or Power Query is highly efficient and optimized for large datasets. However, using thousands of complex array formulas (like TEXTJOIN combined with FILTER) on very large datasets may cause slight performance slowdowns.