Hi there! I am trying to collect the frequency of diagnosis from a datbase, the problem is these are al written reports. I want to count the frequency of No adenoma found, however I also need the frequency of adenomas found.
I used:
=(LEN(A2)-LEN(SUBSTITUTE(A2;"adenoma";"")))/LEN("adenoma") to find the frequency of the word adenoma. However in the same text there is also a mention of No polyps or adenoma, this results in a false addition of one adenoma. I tried getting the amount of no adenomas by replacing "adenoma" with "No* adenoma" and subtracting it from the adenoma frequency column. But this adjusted formula would not count the phrase: No polyps or adenoma.
Any tips on how to solve this?
Thanks!
Bookmarks