Google Spreadsheet,Count IF包含一个字符串 [英] Google Spreadsheet, Count IF contains a string

查看:89
本文介绍了Google Spreadsheet,Count IF包含一个字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个这样的列:

你会使用什么设备?

What devices will you be using?

iPad
Kindle & iPad
No Tablet
iPad
iPad & Windows

我如何计算说iPad的人数?

How do I count the amount of people that said iPad?

此公式适用于完全匹配,但不包含其他值:

This formula does work for exact matches but not if it contains an additional value:

=(COUNTIF(A2:A51,"=iPad")/COUNTA(A2:A51))*1

建议?

推荐答案

它现在可能已经解决了,但我跑过去并想通过输入

It will likely have been solved by now, but I ran accross this and figured to give my input

=COUNTIF(a2:a51;"*iPad*")

重要的是,Google文档中的参数分隔使用; 而不是

The important thing is that separating parameters in google docs is using a ; and not a ,

这篇关于Google Spreadsheet,Count IF包含一个字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆