简体   繁体   English

模糊“ Countif” Excel公式

[英]Fuzzy 'Countif' excel formula

I have reports I'm running for learning outcomes for students, tagged as AAA 123 - CLO 1 - 7.17.17 for example. 我有报告说我正在为学生争取学习成果,例如标记为AAA 123 - CLO 1 - 7.17.17

The dataset I import will have variations on that string, keeping constant however, the CLO 1 , CLO 2 etc (as these are the numbered CLOs for a particular course. 我导入的数据集将对该字符串有所变化,但是保持不变,但CLO 1CLO 2等(因为这些是特定课程的编号CLO)。

I have a countif formula setup, but it only works if update the formulas each time to reflect the new string ie changing AAA 123 - CLO 1 - 7.17.17 to BBB 345- CLO 1 - 7.18.17 for example. 我有一个countif公式设置,但是仅当每次都更新公式以反映新字符串BBB 345- CLO 1 - 7.18.17 ,例如,将AAA 123 - CLO 1 - 7.17.17BBB 345- CLO 1 - 7.18.17

My question is, can I write a formula to just parse the CLO 1 part of the string as those characters are always present? 我的问题是,我可以编写一个公式来仅解析字符串的CLO 1部分,因为这些字符始终存在吗?

Thank you! 谢谢!

=COUNTIF(A1:A100, "*CLO 1*")

应该做

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM