Excel中函数 if ifs count countif countifs 的区别是啥
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Excel中函数 if ifs count countif countifs 的区别是啥相关的知识,希望对你有一定的参考价值。
参考技术A if是单条件判别,ifs是多条件判别,countif是符合单条件判别后的个数计算,countifs就是多个条件的。EXCEL IF 函数 模糊查询
A列都是产品名,比如衬衫,长袖衬衫,短袖衬衫,短裙,长裙 搜索A列的产品名,凡是含有“衬衫”的一律在B列对应行输出“衬衫”,凡是含有“裙”字的一律输出“裙子”在B列对应行,请教一下怎么写函数,本来用IF函数: =IF($A8="衬衫","衬衫",IF($A8="裙","裙...
输入以下公式
=IF(COUNTIF(A8,"*衬衫*")>0,"衬衫",IF(COUNTIF(A8,"*裙*")>0,"裙子",IF(COUNTIF(A8,"*外套*")>0,"外套","其他服装")))
=IF(H2="成交词","A")
-------------------------------------------------------
=IF(COUNTIF(B2,"*费用*")>0,"成交词",
IF(COUNTIF(B2,"*多少钱*")>0,"成交词",
IF(COUNTIF(B2,"*价格*")>0,"成交词",
IF(COUNTIF(B2,"*怎*")>0,"询问词",
IF(COUNTIF(B2,"*仪器*")>0,"询问词",
IF(COUNTIF(B2,"*去皱*")>0,"询问词",
IF(COUNTIF(B2,"*副作用*")>0,"询问词",
IF(COUNTIF(B2,"*原理*")>0,"询问词",
IF(COUNTIF(B2,"*超声刀*")>0,"询问词",
IF(COUNTIF(B2,"*除皱*")>0,"询问词",
IF(COUNTIF(B2,"*方法*")>0,"询问词",
IF(COUNTIF(B2,"*射频*")>0,"询问词",
IF(COUNTIF(B2,"*窍门*")>0,"其它",
IF(COUNTIF(B2,"*技巧*")>0,"其它",
IF(COUNTIF(B2,"*妙招*")>0,"其它","其它")))
----------------------------------------------------------------
=IF(COUNTIF(H2,"*其它*")>0,"C",
IF(COUNTIF(H2,"*成交词*")>0,"A",
IF(COUNTIF(H2,"*询问词*")>0,"B",
"D")))
-------------------------------------------------------------------
IF(COUNTIF(H2,"*超声刀*")>0,"询问词",
以上是关于Excel中函数 if ifs count countif countifs 的区别是啥的主要内容,如果未能解决你的问题,请参考以下文章