Share via

Using a text filter in a pivot table

Anonymous
2010-10-21T14:03:16+00:00

Hi, I'm trying to perform some analysis on a huge chunk of data - most I can achieve using pivot tables - the last piece however requires me to look at cell vales and count if a particlar word appears in the text.

This is easy from a table view - I can just use text filter "contains" = the word, however I can't see how to do it in a pivot table - if I can at all!!!

Thanks

Dave

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2010-10-21T14:53:00+00:00

Here is one way...Looking for 'word' in cell H1

=--NOT(ISERROR(SEARCH("word", H1)))


If this post answers your question, please mark it as the Answer... Jim Thomlinson

Was this answer helpful?

5 people found this answer helpful.
0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Anonymous
    2010-10-21T14:29:29+00:00

    thanks Jim - helper column?

    How do I express:

    If H1 contains "word",1 else 0

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2010-10-21T14:15:53+00:00

    You need a helper column in your source data that calculates the existence of the word. Have it return 1 or 0 and then just sum the helper column in your pivot.


    If this post answers your question, please mark it as the Answer... Jim Thomlinson

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments