Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-29-2024, 07:25 AM
p45cal's Avatar
p45cal p45cal is offline Countif multiple criteria in text string Windows 10 Countif multiple criteria in text string Office 2021
Expert
 
Join Date: Apr 2014
Posts: 962
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
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 10:54 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