How to Summarize Text Data in Excel – 3 Steps

The dataset showcases Products and their Groups. To summarize all products:

Summarize Text Data in Excel


Step 1 – Create a Pivot Table

  • Select the whole dataset and go to “Insert”.
  • Select “Pivot Table”.

  • The “PivotTable from table or range” window will be displayed.
  • Select “Existing Worksheet” and choose a location in your workbook.
  • Check “Add this data to the Data Model”.
  • Click OK.

Summarize Text Data in Excel

The pivot table is created in the same worksheet.

Summarize Text Data in Excel


Step 2 – Apply the DAX Formula to the Selected Range

  • Right-click and place the cursor over “Range”.
  • Choose “Add Measure”.

  • In the “Measure” window, enter a name in “Measure Name”.
  • Enter the formula and click OK.
=CONCATENATEX(Range,[Products],",")

Summarize Text Data in Excel

  • A new field is added to the pivot table.
  • Check the boxes shown below.

  • Data is summarized in the pivot table.

Summarize Text Data in Excel


Step 3 – Remove the Grand Total from Final Output

  • Select any cell in the pivot table and choose “Off for Rows and Columns” in “Design”.

Summarize Text Data in Excel

This is the output.

Summarize Text Data in Excel

Read More: How to Summarize Subtotals in Excel


Things to Remember

  • The VLOOKUP and SUMIF functions are used to summarize data with numeric values. To summarize text data you cannot use the VLOOKUP function.

Download Practice Workbook

Download the practice workbook.


Related Articles


<< Go Back to Summarize Data In Excel | Data Analysis with Excel Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Wasim Akram
Wasim Akram

Wasim Akram holds a BSc degree in Industrial and Production Engineering from Ahsanullah University of Science and Technology. Over the past 2 years, he has been actively contributing to the ExcelDemy project, where he has authored more than 150 articles. Now, he is working as an Excel VBA and Content Developer. He likes learning new things about Microsoft Office, especially Excel VBA, Power Query, Data Analysis, and Excel Statistics. He is also very interested in machine learning and... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo