Hey
Id like to know how to use the countif formula with multiple criteria and count just the first letter/number of a cell.
This is an example of what i have
color | number
In the color column i have a mix of colors, there can be dubplicates....
blue
red
blue
red
yellow
blue
yellow
yellow
in the number column i have a mix of differnt type of numbers....
1
1
2a
1a
2b
3
3
3a
so now my question is
I want to present in a cell how many cells in the column number starts with "1" and also have blue color column?
My solution is to use countif with multiple criteria
=COUNTIF(A:A,"Blue","B:B,"1*")
i am using the * symbol to indicate that i want to include rows that just have 1 and also rows 1a or 1bcd or whatever, it starts with 1.
But this does not seem to work very well...
It works in a way, but it skips, if there are values no values with a second letter or number... like it skips cells with just the number 1
And if i remove the * symbol it skips cells that does have a second letter/number.
Id like to know how to use the countif formula with multiple criteria and count just the first letter/number of a cell.
This is an example of what i have
color | number
In the color column i have a mix of colors, there can be dubplicates....
blue
red
blue
red
yellow
blue
yellow
yellow
in the number column i have a mix of differnt type of numbers....
1
1
2a
1a
2b
3
3
3a
so now my question is
I want to present in a cell how many cells in the column number starts with "1" and also have blue color column?
My solution is to use countif with multiple criteria
=COUNTIF(A:A,"Blue","B:B,"1*")
i am using the * symbol to indicate that i want to include rows that just have 1 and also rows 1a or 1bcd or whatever, it starts with 1.
But this does not seem to work very well...
It works in a way, but it skips, if there are values no values with a second letter or number... like it skips cells with just the number 1
And if i remove the * symbol it skips cells that does have a second letter/number.