Row selections

divapaxo

Board Regular
Joined
Feb 4, 2005
Messages
110
Hi All

could someone please advise how i can get my pivot table to only
return rows where column A contains the wording TOTAL

thank you
:confused:
 

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.
Hi. Welcome to the Board.

A pivot table will not work well with substrings. By "contains the word TOTAL" do you mean
1) the value of the Cell is TOTAL or
2) that the value of the cell is possibly TOTAL DUE or TOTALQTY, or other variations of TOTAL.

If the answer above is 1), then you want to create a page field. You can then filter the pivot table to display only the TOTAL items.

If the answer to the above is 2), then you want to create a column in your source data that you can then use as a page field. If possible:
Insert a new column B
Enter the formula in Cell B2 =IF(ISERROR(SEARCH("total",A2)),0,1)
Search() is not case-sensitive. You can now use this column as a page field to display only those rows where the formula above returns a 1 (meaning it found "Total" somewhere in the A Cell next to it.

Hope this helps.
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,730
Members
448,987
Latest member
marion_davis

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