Pivot table

normpam

Active Member
Joined
Oct 30, 2002
Messages
355
Is it possible to get a Pivot table to summarize sums based on text within cells. Such as:
TfgyytCostcoggy. $560
GyygTargetyttt6. $200
Yg5Costcohyy5. $450

to get sums of all entries that contain Target or Costco?
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
One option is to divide the text into columns with the following formulas:

varios 03dic2021.xlsm
ABCDEF
1TextConceptValuePivot:
2TfgyytCostcoggy. $560Costco560ConceptsSum Value
3GyygTargetyttt6. $200Target200Costco1010
4Yg5Costcohyy5. $450Costco450Target200
5Total1210
Hoja4
Cell Formulas
RangeFormula
B2:B4B2=IF(ISNUMBER(SEARCH("Costco",A2)),"Costco",IF(ISNUMBER(SEARCH("Target",A2)),"Target",""))
C2:C4C2=MID(A2,FIND("$",A2),99)+0
 
Upvote 0

Forum statistics

Threads
1,215,681
Messages
6,126,191
Members
449,298
Latest member
Jest

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top