Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-29-2024, 05:06 AM
Alaska1 Alaska1 is offline Countif multiple criteria in text string Windows 7 64bit Countif multiple criteria in text string Office 2021
Competent Performer
Countif multiple criteria in text string
 
Join Date: Nov 2011
Posts: 110
Alaska1 is on a distinguished road
Default Countif multiple criteria in text string

I am using the countif statement in the attached file. I am able to pull the word fraud from the text in column C. I need to add multiple criteria to the formula. I tried adding right after the fraud, "*dispute*" but it keeps telling me there are too many arguments.



I have listed which text I want to select under the which topic. etc, Fraud, Service.
Attached Files
File Type: xlsx data test.xlsx (11.1 KB, 6 views)
Reply With Quote
  #2  
Old 06-29-2024, 07:25 AM
p45cal's Avatar
p45cal p45cal is online now Countif multiple criteria in text string Windows 10 Countif multiple criteria in text string Office 2021
Expert
 
Join Date: Apr 2014
Posts: 947
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

In cell D2:
Code:
=LET(x,IF(SEARCH(Words[Word],C2),Words[Type]),TAKE(FILTER(x,NOT(ISERR(x)),""),1))
Copy down.

2024-06-29_152139.jpg

I made a table of the words you're looking for and what type of case they're related to.
This table needs to be in the order so that when a comment contains 2 or more words you're looking for, the type of case you want to see as a preference comes above the others. You can add/delete rows from this table without needing to adjust the formulae.
See attached.
Attached Files
File Type: xlsx msofficeforums52614data test.xlsx (18.1 KB, 4 views)
Reply With Quote
  #3  
Old 06-30-2024, 02:12 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Countif multiple criteria in text string Windows 10 Countif multiple criteria in text string Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,915
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

Cross post Countif mulitple criteria in text string [SOLVED]
Please read A message to forum cross posters - Excelguru
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #4  
Old 06-30-2024, 03:11 AM
Alaska1 Alaska1 is offline Countif multiple criteria in text string Windows 7 64bit Countif multiple criteria in text string Office 2021
Competent Performer
Countif multiple criteria in text string
 
Join Date: Nov 2011
Posts: 110
Alaska1 is on a distinguished road
Default

Read the cross post. Will apply for future posts. Thank you!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Countif multiple criteria in text string COUNTIF with multiple criteria Marcia Excel 5 02-17-2019 08:16 AM
Countif multiple criteria in text string COUNTIF [criteria] + give % Tomas4 Excel 2 12-20-2016 10:28 AM
Sum Product Multiple Text and date Criteria ramki Excel 1 01-09-2012 01:16 AM
Countif multiple criteria in text string using a cell content as a string with COUNTIF geoffm Excel 1 08-16-2011 11:31 AM
Countif multiple criteria in text string Countif with 2 criteria ibrahimaa Excel 3 05-23-2011 11:23 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:03 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft