Is there a way to do keyword searches for a pivot table?

Like, say I have a comments/feedback field, where employees can say anything they want to. I want to do a keyword search for things like "pay", "raise", "money", etc to see how often those keywords come up...would that be possible or is there another type of function than a pivot table that would do this?

Thanks!

like
Posting as :
works at
You are currently posting as works at

Yeah* - it's called "partial check" and it's fairly easy to do it.

You said "how often those keywords come up", which implies you want to count them (not necessarily list every occurence). Here it's not clear what happens if there are two keywords in the same cell (does it count 1 or 2?). Assuming counting the cells itself:

=COUNTIFS(range,"*"&"keyword"&"*")

If you want to LIST the occurrences:

=FILTER(range,ISNUMBER(
SEARCH("keyword",range)))

*Just one quick point: This work for any cell/group of cells in excel, not only pivot tables (I'm not aware of anything specific for pivot tables, but ideally I don't think people should be using it, sooo)

like

Np

So, the first formula (the =COUNTIFS() one) should work for you. You can always write the keyword in a cell and reference that cell instead of using "keyword" - just remember that if you reference the cell, you don't need the "".

like

Sub SplitWords()
Dim cell As Range
Dim words As Variant
Dim i As Long, j As Long
Dim dict As Object
Set dict = CreateObject("Scripting.Dictionary")
For Each cell In Range("E1:E" & Cells(Rows.Count, "E").End(xlUp).Row)
words = Split(cell.Value, " ")
For i = LBound(words) To UBound(words)
If Not dict.Exists(words(i)) Then
dict.Add words(i), 1
Else
dict(words(i)) = dict(words(i)) + 1
End If
Next i
Next cell
Range("H1").Value = "Word"
Range("I1").Value = "Frequency"
j = 2
For Each word In dict.Keys
Range("H" & j).Value = word
Range("I" & j).Value = dict(word)
j = j + 1
Next word
Columns("I:I").Select
ActiveWorkbook.Worksheets("Sheet1").Sort.SortFields.Clear
ActiveWorkbook.Worksheets("Sheet1").Sort.SortFields.Add Key:=Range("I2:I" & Cells(Rows.Count, "I").End(xlUp).Row), _
SortOn:=xlSortOnValues, Order:=xlDescending, DataOption:=xlSortNormal
With ActiveWorkbook.Worksheets("Sheet1").Sort
.SetRange Range("H1:I" & Cells(Rows.Count, "I").End(xlUp).Row)
.Header = xlYes
.MatchCase = False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End With

End Sub

This macro will split the text in column E into individual words and create a pivot table that shows the frequency of each word. The pivot table will be sorted in descending order based on the frequency of each word.

To use this macro, you need to open your Excel file and press **Alt + F11** to open the Visual Basic Editor. Then, click on **Insert** and select **Module**. Copy and paste the code above into the module. Finally, close the Visual Basic Editor and go back to your Excel file. Press **Alt + F8** to open the Macro dialog box. Select the **SplitWords** macro and click **Run**.

I hope this helps! Let me know if you have any other questions.

Related Posts

Do partners know each other’s compensation? I see partners selling engagements for vastly different numbers b/w shorter ‘interesting’ strategy work and longer ‘boring’ transformations. Thoughts?

like

Good morning,

I have a zoom interview coming up and I'm not sure how to go about properly asking about compensation if it is not my desired salary/pay. Does anyone have any tips about how to do so?

like

Hi Fishes,
I got my Tata Consultancy offer letter 9.50 LPA two months ago, with that I put down my papers in CTS, now the problem is I got two good Offers Uplers - 14 LPA and Larsen & Toubro Infotech -13 LPA
can i ask TCS to match this offer, if so how can i ask them?
My joining date is 19Sep

Y.O.E -3.6 Yrs
TECH-STACK: react js , frond end developer

like

What is the band given to people with 13 years of experience in Wipro. And what is the maximum salary range.

like

Hi Fishes ,

How much can I expect as CTC ( fixed plus bonus ONLY excluding esops) from one of the FAANGs with around 8.5 years of work ex with a senior data engineer profile.

It will be really helpful if you could share your insights.

Thanks in advance.

like
like

Hi I had an offer from CGE for Associate Consultant B1, I negotiated the CTC with the HR on it and the new offer is for Associate II/A5 can anyone explain the meaning of these positions?

like

Is it ok to send the offer letter to a different organisation for the salary negotiation. They are saying it is the new policy and want to have the attachment of the offer hand that I am holding.

Can anyone please suggest?

like

Fear I may have lowballed myself in initial discussions with HR and now expecting a formal offer. Honestly think 10k more would be more fair. What’s the best way for me to negotiate this after the formal offer is presented?

like

Hi fishes, what is the compensation of operations manager (Grade 9) in flipkart.

like

How much does Nagarro offer for staff engineer?
YOE - 7.9
Tech - QA manual/Automation
CCTC - 11.5

like

Hi Fishes, Please share your suggestions for the below. Schneider electrical (or) Comcast (or) CTS (or) SCB Which one will be preferable considering market recession - job security - WLB - benefits. All offered decent CTC. TIA. Schneider Electric Tata Consultancy CTS Comcast Standard Chartered

Accenture global SC - 17fixed 3var + 2JB Exp -4.7 any scope to negotiate further? If yes how much? Accenture

I am also looking for other opportunities if any of you can help refer

like

What is a starting salary for a senior consultant that does energy transformation consulting at other consulting companies? I know GH underpays lower than market, but I’m having a hard time gauging how much more. Not enough reports on Glassdoor for my company and city. Please mention YOE and whether you live in a city with a higher COL. Senior consultant is equivalent to the next level up after entry level at GH.

like

I am in Canada, Band 8 in IBM consulting and received an offer for Senior Manager in Deloitte Advisory at 145K base plus 10k signon. How do you rate this offer?

like

Is 80k cash + 20k company share a good deal for a junior dev role in the bay area?🙏

like

Guys please suggest which company should i join
Optum(uhg) - 22 Lpa
IBM - 22 Lpa
Epam Anywhere - 24 lpa
YOE : 6.2yrs
~TIA

Feeling grateful & proud as I reached my goal ($50K by 25) 5 months early. But I can’t help feeling a bit overwhelmed. In the lifelong scheme of things, $50K doesn’t seem like much. I worked really hard and sacrificed a lot (including mental health) to get to this but it seems a little tiring knowing I still have so long to go. I recently moved out and in with my BF so my expenses are split, but nonetheless they are still expenses. Any tips on continuing this journey and keeping the drive?

Post Photo
likehelpfulfunny

Google onsite to HC rate? Is it around 50%? Do you need to get 3 leaning hires to make it to HC?

like

Does the stub bonus after A2A promote have any variability? I know BAML hasn’t announced yet so looking at past examples

like

More Posts

How is the work life balance in a big 4 firm for a senior in the tax department year round?

Fti 🐠, what is the salary band for a senior director in forensic and litigation consulting?

like

Asian straight hair males - What is your solution to haircut? I’m in river north.

like

Question for anyone who might know - it appears to me Rasmussen releases a poll every week day or close to that, but day to day their margins swing three percent or more, which I think is outside the margin of error (can’t speak for every single poll). How is that kind of change possible from day to day?

like

What are your favorite restaurants/activities that are a quick drive from the city?

like

I burst into tears Friday as I said goodbye to the best TA ever! She is now a kindergarten teacher in another district. It took me an hour to get over it and I know the other teachers and admin thought I was crazy. Change happens. But when there are no subs available and no one has an answer for Monday….what will I do? 18 students are 10 to many for me to teach by myself. And when I ask, they say there is someone, just not sure when the sub can start. Thanks for letting me vent!

like

Hi

I have a current CTC of 6.6 and Mastercard is offering 8.9 (including variable ) . I also have an offer from infosys of 10 ( including variable). Which one should I pick considering work life balance and
appraisal.My entire doubt is that will they bring me on market rate after appraisals as currently they are not offering very good hike.

I will be joining HR team


Anyone looking for reference in Cognizant.
Please share your resumes with role, location and experience to
Arjun.muralidhar@cognizant.com

Skills: Adobe Analytics, AWS database, Azure, PySpark, Data engineer , Databricks, Cloud data architect, Dataops, GCP, IBM, ILM, Informatica, Java developer, K2, python, MicroStrategy, OBIEE, SAP BODS, SAP MDG, Spark, Scala , Stibo

Post Photo
likefunny

What is the average yearly hike at Informatica ? And do they retain you if you're demanding 27 LPA (current CTC is 17 LPA) because you've got a comparable offer?

I really like the culture and flexibility over here, and don't wanna leave, but I wanna earn more.

like
like

Final round! Panel interview w an assignment to present some ideas on how to increase customers for 1 of 5 key audience segments.
I’m most familiar with 1 as it’s the audience I work with at current job. Not enough info/experience with other 2 segments. Remaining segments I know enough but not as confidently.

Will it look like I took the easy way out if I chose my segment? They know it’s my current audience and has been for 8 yrs. Would love to hear your thoughts!

like

I have 8 years of experience in Teradata; 4 years of experience in UNIX; 2 years of experience in VBA; 1 tool patented; Total 8.4 years of IT exp. What should be my current salary?

like

Hi Fishes,
How long will the HR take to release offer letter in
Coforge after sharing documents and updating PI details in portal. After doing all these is there possibilities that HR will not consider my candidature. It’s been 15days now I have shared the documents Coforge

like

How can companies justify cutting research and development expenses when they literally have no future without it

like

Is anyone from this bowl working at 6sense?

If yes, please share some info regarding work culture, Work life balance, job security and employee benefits.

Thanks in advance, fishes.

like

any good product based companies for sap basis ?

like

Hows the WLB of AM at Deloitte USI?

like

Hi,
After technical rounds, HR asked me to submit the documents and BGC related forms. I sent the all documents, it's been one week and no call back. Usually how much time they will take ?

like

Additional Posts in Excel Genius

How do I look up values from a column in a row? E.g. Values in A1:A6 in B2:F2?

like

Best websites to get more of a handle on Excel as a beginner-intermediate?

like

I’m calculating a bunch of totals and averages by category on one worksheet by filtering data in different categories from another worksheet. However, when I change the filters, the previously..(cont)

Need help building an electric schedule for a production schedule with a Gantt chart style view (sort of)

Currently have an excel list with resource (production line), start date and time, and then also the name of the item being produced.

Any ideas how to tackle this??

I’m thinking a stacked bar chart with the vertical categories to be my resources and horizontal the date/time and then each individual bar to be the name of the item being produced.

Thank you for the help Excel Gods 🙏

like

This is dumb, but. How can I pull and average the numbers in column b associated with the 4 values in column a? So, (sum of all As/total number of As) without filtering?

Post Photo
like

I created a macro to help me save time on this onetime task and now whenever I open my excel, a blank excel opens with the name of the macro. How do I get rid of it?

like

I’m verrrrrry new to excel and am going crazy because is there not a way to “clip” text in cells like you can in google sheets? I read about a “fill” option, but then noticed that cells that aren’t filled just repeat text. 😂🤯

like

Recently made a job switch and have been using a lot more excel. Any free resources to help build a solid foundation / fee based courses to help improve my skills?

like

HELP!
I have raw sales data on one tab, which includes a sales rep ID number. My second tab has that sales rep ID number in column 1 and the rep name in column 2. How can I get the rep name added to the correct line items in the raw data?

I am trying to recreate this without the numbers at the end. Any advice?

Post Photo
likehelpful

Help me save the day: have a massive excel file (600k rows) with duplicate records (column a, b and c are duplicate, not a duplicate if a and b are the same though). How can I filter for just these records? If it didn’t crash excel I could concat into one column, Conditional format for duplicates, and sort by color. What’s a work around?

likehelpful

How do I easily find any cells that are hard coded vs formula? I have 10,000 rows of data and column F is supposed to be a formula based on columns C and D, without clicking into all 10k cells in column F how can I make sure formulas are there and not accidentally hand keyed over?

like

How do I compare two sheets to make sure they are identical?

like

Vlook up isn't recognizing a couple of cells even though it's feeding off a pivot and when I check with an " if =" it comes up as being the same.
Any advice on what I need to check?
Thanks

like

How do I change line style@back to default on excel? Accidentally click on one, and now it wants to use that style every time. I just want to be able to use the ones in the typical drop down

like

Anybody use a personal computer for work? How's your experience been, any horror stories/watch-outs?

like

Would anyone be willing to teach me vlookup?

like

How can I extract just the year into a new cell from a “yyyymmdd” cell (labeled PD here) that isn’t recognized as a date? I basically need to sort this data by year. Thanks in advance!

Post Photo
like

Hi Group, seems like it should be basic format, but I just can not get it to work. a list of data and want to alternate shade (blue,white,blue,etc) each line but if I have multiple lines I want to group together and they all shade the same. I want to group by the same data in column A, and the number of rows that are the same could vary. So let’s say row 1& 2 same entry in column A(blue) row 3 different (white) row 4,5,6 same as each other different to other rows (blue) etc… help 🙏

like

New to Fishbowl?

Download the Fishbowl app to
unlock all discussions on Fishbowl.
That was just a preview…
Sign Up to see all discussions
  • Discover what it’s like to work at companies from real professionals
  • Get candid advice from people in your field in a safe space
  • Chat and network with other professionals in your field
Sign up in seconds to unlock all discussions on Fishbowl.

Already a user?
Login here

Share

Embed this post

Copy and paste embed code on your site

Preview

Download the
Fishbowl app

See what’s happening in your industry
from the palm of your hand.

A phone with Fishbowl app

Scan your QR code to download
Fishbowl app on your mobile

Download app

Sign up for free to view this conversation on Fishbowl

By continuing you agree to Terms of Use and Privacy Policy

Already have an account? Log in

Sign up for free to continue using Fishbowl

By continuing you agree to Terms of Use(New) and Privacy Policy(New)
Messaging rates may apply

Already have an account? Log in

For account settings, visit Fishbowl on Desktop Browser or

General

Legal