Hi,
I am sure this is simple but I can't figure it out. Any help is appreciated.
I have a huge spread sheet where I want to count the number of columns that have data.
So, Column A1 should be a count of Columns B,C, D, E, &F if and only if those columns contain text content.
the result should be something like this
A b c d e f
1 blue
2 blue red
3 blue red yellow
0
5 blue red yellow orange black
Currently my formula in column A is
=countif(B1:F1,"*")
i have also tried =5-countblank(b1:f1)
and
=counta(b1:f1)
none of these work with all three formulas the result returned is 5
the problem is the contents of each of the cells contain a single quotation mark = ' so my formulas read that as text content.
I tried doing a find ' replace [blank] but then Excel can't find the ' but it finds it to count it.
so maybe i need some sort of countif not statement? dunno. It's making my head hurt.
Please help.
Many thanks!
I am sure this is simple but I can't figure it out. Any help is appreciated.
I have a huge spread sheet where I want to count the number of columns that have data.
So, Column A1 should be a count of Columns B,C, D, E, &F if and only if those columns contain text content.
the result should be something like this
A b c d e f
1 blue
2 blue red
3 blue red yellow
0
5 blue red yellow orange black
Currently my formula in column A is
=countif(B1:F1,"*")
i have also tried =5-countblank(b1:f1)
and
=counta(b1:f1)
none of these work with all three formulas the result returned is 5
the problem is the contents of each of the cells contain a single quotation mark = ' so my formulas read that as text content.
I tried doing a find ' replace [blank] but then Excel can't find the ' but it finds it to count it.
so maybe i need some sort of countif not statement? dunno. It's making my head hurt.
Please help.
Many thanks!