I need to create a countifs column A contains "String" & column B starts with "0:".
So far I have the following rows:
| A | B |
| dada | 0 |
| String | 0 |
| dada | 1 |
So that would mean that the only row that would be counted is row 2 which would give us a count of 1 since in row A it contains "String" and in Column B it starts with "0:".
I have the following, but keep ending up with a value of 0 for my count:
=COUNTIFS(A:A,"*" & "String" & "*",B:B, "*" & "0:" & "*")
Any ideas?
To match your description
=COUNTIFS(A:A,"*string*",B:B,"0:*")
...but in your example you have just zero in column B, so that won't be counted because it doesn't start with "0:"
Try it with a sumproduct:
=SUMPRODUCT(ISNUMBER(FIND("400",A:A))*(LEFT(D:D,1)="0"))
Mind you, your formula doesn't match your dataset.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.