如何使用以0开头的数字countif ?
大家早上好。我在计算公式方面有困难。在我工作的公司的人力资源领域,我们使用表格来注册巴西各地提供的职位空缺,并在此表格中要求提供CPF(个人纳税人注册号-我们用来识别巴西人的号码)。该号码由11位数字组成,可以从任意数字开始,包括0。我想做一个简单的分析:确定有问题的候选人是否已经在我们的候选人基础中。我尝试使用COUNTIF来计算该列中特定值的数量。但是,它只适用于以数字1到9开头的cpf。以0开头的cpf没有被识别。我需要帮助。谢谢。
橄榄
Estou com, uma,困难,uma, fórmula。
Na área de RH da empresa que trabalho utilizos um formulário para cadastro em vagas ofofofofbrazil . e neste formulário solicitamos o número CPF (cadastro de Pessoa Física - número que utilizamos para identiar uma Pessoa no Brasil)。Este número
Gostaria de fazer uma análise simpleses:相同的候选对象名称与问题名称
对COUNTIF的临时用途(para a quantidade daquele valor específico),今天是一列。por
Gostaria de uma adjuda,请帮忙。Obrigado。
答案
-
保罗新来的 ✭✭✭✭✭✭
所查看的所有值都需要具有相同的数据类型。以1 - 9开头的数字被存储为数值,但以0开头的数字被存储为文本值(因此前导零不会丢失)。
为了适应这种情况,创建另一个文本/数字列(可以在设置后隐藏以保持工作表看起来干净)并使用
=[ID号列名]@row + ""
这将把所有内容转换为文本值。现在,您可以在这个助手列上运行COUNTIFS,并且应该得到正确的结果。
thinkspi.com
-
Paul你好,很抱歉这么晚才回复你。我无法用建议的解决方案解决这个问题。但是,我添加了一个带有数字1的辅助列,并将其与CPF列一起添加。这样就可以进行必要的计数和识别。非常感谢您的回复和帮助。大大的拥抱。
-
保罗新来的 ✭✭✭✭✭✭
-
Sadsoft ✭
-
吉纳维芙P。 员工管理
-
Sadsoft ✭
-
吉纳维芙P。 员工管理
太棒了!谢谢你告诉我
-
Sadsoft ✭
-
吉纳维芙P。 员工管理
你能发布你目前使用的公式吗?
如果您只使用COUNT,它将自动排除空白单元格。如果您使用COUNTIF,它将只计算您告诉它的值(例如,等于“This”的单元格,这将排除空白单元格)。
@cell告诉公式进行检查每一个细胞查看该特定单元格是否=该值。看到的:使用@cell和@row创建高效的公式
干杯!
吉纳维芙
-
Sadsoft ✭
-
吉纳维芙P。 员工管理
谢谢你的澄清!
由于您要特别查找空白单元格,因此公式将计算有多少个空白单元格。这是因为您正在搜索[Referência do documentento]@row,它是空白的。
如果单元格是空的,可以在开头添加IF语句返回Blank:
=我F(Referência do documentento) @row = "";“”;IF(COUNTIF([Referência do documentento]:[Referência do documentento];@cell = [Referência do documentento]@row) > 1;“模拟”;“NAO”))
=我F(Referência do documentento) @row = "";“”;COUNTIF([Referência do documentento]:[Referência do documentento];@cell = [Referência do documentento]@row))
欢呼,
吉纳维芙
帮助文章参考资料欧宝体育app官方888
类别
The easiest way to do this would be to create the Year field in the sheet summary and replace the 2023 in your formulas to be the sheet summary field.<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[{"tagID":254,"urlcode":"Formulas","name":"Formulas"}]},{"discussionID":102751,"type":"question","name":"CAPTURE VALUES FROM ONE SHEET AND POPULATE ON ANOTHER BASED ON A KEYWORD","excerpt":"Hi, I am trying to capture equipment number, year, make and model from my main sheet based on the status \"available for transfer\" and bring those values over to my calculation sheet to display on my dashboard. Below is what the main sheet looks like that I want to pull those values over to my other sheet based on the…","categoryID":322,"dateInserted":"2023-03-16T16:14:35+00:00","dateUpdated":null,"dateLastComment":"2023-03-17T14:57:05+00:00","insertUserID":159503,"insertUser":{"userID":159503,"name":"JSMITH2","url":"https:\/\/community.smartsheet.com\/profile\/JSMITH2","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/defaultavatar\/nWRMFRX6I99I6.jpg","dateLastActive":"2023-03-17T14:58:34+00:00","banned":0,"punished":0,"private":false,"label":"✭"},"updateUserID":null,"lastUserID":45516,"lastUser":{"userID":45516,"name":"Paul Newcome","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Paul%20Newcome","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/082\/nQPUTVFKKWDJ2.jpg","dateLastActive":"2023-03-17T17:39:32+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":7,"countViews":35,"score":null,"hot":3358052500,"url":"https:\/\/community.smartsheet.com\/discussion\/102751\/capture-values-from-one-sheet-and-populate-on-another-based-on-a-keyword","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/102751\/capture-values-from-one-sheet-and-populate-on-another-based-on-a-keyword","format":"Rich","tagIDs":[254],"lastPost":{"discussionID":102751,"commentID":367746,"name":"Re: CAPTURE VALUES FROM ONE SHEET AND POPULATE ON ANOTHER BASED ON A KEYWORD","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/367746#Comment_367746","dateInserted":"2023-03-17T14:57:05+00:00","insertUserID":45516,"insertUser":{"userID":45516,"name":"Paul Newcome","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Paul%20Newcome","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/082\/nQPUTVFKKWDJ2.jpg","dateLastActive":"2023-03-17T17:39:32+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions"}],"groupID":null,"statusID":3,"image":{"url":"https:\/\/us.v-cdn.net\/6031209\/uploads\/HC1H7CPZDJ1H\/image.png","urlSrcSet":{"10":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=10\/https:\/\/us.v-cdn.net\/6031209\/uploads\/HC1H7CPZDJ1H\/image.png","300":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=300\/https:\/\/us.v-cdn.net\/6031209\/uploads\/HC1H7CPZDJ1H\/image.png","800":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=800\/https:\/\/us.v-cdn.net\/6031209\/uploads\/HC1H7CPZDJ1H\/image.png","1200":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=1200\/https:\/\/us.v-cdn.net\/6031209\/uploads\/HC1H7CPZDJ1H\/image.png","1600":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=1600\/https:\/\/us.v-cdn.net\/6031209\/uploads\/HC1H7CPZDJ1H\/image.png"},"alt":"image.png"},"attributes":{"question":{"status":"accepted","dateAccepted":"2023-03-17T14:20:03+00:00","dateAnswered":"2023-03-16T20:06:54+00:00","acceptedAnswers":[{"commentID":367643,"body":"
How exactly were you wanting to populate it on your dashboard? Reports can be dropped onto dashboards and (if structured properly) used to populate graphs\/charts.<\/p>"}]}},"status":{"statusID":3,"name":"Accepted","state":"closed","recordType":"discussion","recordSubType":"question"},"bookmarked":false,"unread":false,"category":{"categoryID":322,"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions","allowedDiscussionTypes":[]},"reactions":[{"tagID":3,"urlcode":"Promote","name":"Promote","class":"Positive","hasReacted":false,"reactionValue":5,"count":0},{"tagID":5,"urlcode":"Insightful","name":"Insightful","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":11,"urlcode":"Up","name":"Vote Up","class":"Positive","hasReacted":false,"reactionValue":1,"count":0},{"tagID":13,"urlcode":"Awesome","name":"Awesome","class":"Positive","hasReacted":false,"reactionValue":1,"count":0}],"tags":[{"tagID":254,"urlcode":"Formulas","name":"Formulas"}]},{"discussionID":102693,"type":"question","name":"Can't compare two string values","excerpt":"So I'm using this formula to try and compare two \"String\" values. In this situation, some values in Column 2\/3 will be numerical only and some will have text. I have a helper column checking that both are string values but it still won't match. I've tried with collect and contains too. I'm trying to pull the value in…","categoryID":322,"dateInserted":"2023-03-15T20:20:17+00:00","dateUpdated":"2023-03-15T20:21:33+00:00","dateLastComment":"2023-03-17T13:48:58+00:00","insertUserID":150211,"insertUser":{"userID":150211,"name":"Joseph Pardo","url":"https:\/\/community.smartsheet.com\/profile\/Joseph%20Pardo","photoUrl":"https:\/\/lh3.googleusercontent.com\/a\/AGNmyxaIbo0Uv3Q9EGuX70wSNUPhiK0gPJ3Nw4KIpwMP=s96-c","dateLastActive":"2023-03-17T14:54:34+00:00","banned":0,"punished":0,"private":false,"label":"✭✭"},"updateUserID":150211,"lastUserID":86866,"lastUser":{"userID":86866,"name":"Jeff Reisman","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Jeff%20Reisman","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/3V8W2AM105QE\/nIDXI4I7VDS7W.JPG","dateLastActive":"2023-03-17T16:11:03+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"},"pinned":false,"pinLocation":null,"closed":false,"sink":false,"countComments":3,"countViews":38,"score":null,"hot":3357974355,"url":"https:\/\/community.smartsheet.com\/discussion\/102693\/cant-compare-two-string-values","canonicalUrl":"https:\/\/community.smartsheet.com\/discussion\/102693\/cant-compare-two-string-values","format":"Rich","tagIDs":[219,319,472],"lastPost":{"discussionID":102693,"commentID":367730,"name":"Re: Can't compare two string values","url":"https:\/\/community.smartsheet.com\/discussion\/comment\/367730#Comment_367730","dateInserted":"2023-03-17T13:48:58+00:00","insertUserID":86866,"insertUser":{"userID":86866,"name":"Jeff Reisman","title":"","url":"https:\/\/community.smartsheet.com\/profile\/Jeff%20Reisman","photoUrl":"https:\/\/us.v-cdn.net\/6031209\/uploads\/userpics\/3V8W2AM105QE\/nIDXI4I7VDS7W.JPG","dateLastActive":"2023-03-17T16:11:03+00:00","banned":0,"punished":0,"private":false,"label":"✭✭✭✭✭✭"}},"breadcrumbs":[{"name":"Home","url":"https:\/\/community.smartsheet.com\/"},{"name":"Formulas and Functions","url":"https:\/\/community.smartsheet.com\/categories\/formulas-and-functions"}],"groupID":null,"statusID":3,"image":{"url":"https:\/\/us.v-cdn.net\/6031209\/uploads\/2KVXXOV9K0V6\/image.png","urlSrcSet":{"10":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=10\/https:\/\/us.v-cdn.net\/6031209\/uploads\/2KVXXOV9K0V6\/image.png","300":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=300\/https:\/\/us.v-cdn.net\/6031209\/uploads\/2KVXXOV9K0V6\/image.png","800":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=800\/https:\/\/us.v-cdn.net\/6031209\/uploads\/2KVXXOV9K0V6\/image.png","1200":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=1200\/https:\/\/us.v-cdn.net\/6031209\/uploads\/2KVXXOV9K0V6\/image.png","1600":"https:\/\/us.v-cdn.net\/cdn-cgi\/image\/fit=scale-down,width=1600\/https:\/\/us.v-cdn.net\/6031209\/uploads\/2KVXXOV9K0V6\/image.png"},"alt":"image.png"},"attributes":{"question":{"status":"accepted","dateAccepted":"2023-03-17T14:57:55+00:00","dateAnswered":"2023-03-17T13:48:58+00:00","acceptedAnswers":[{"commentID":367730,"body":"