ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   countif problem. (https://www.excelbanter.com/new-users-excel/48651-countif-problem.html)

psion

countif problem.
 
I wrote a formula in a cell that contains the following:

=countif(f5:f268," char(32)") / countif(e5:e268," char(32)")

I have verified that any unused cells have blanks spaces in them.

Both columns have data in the same rows so the counted value for each
column should be the same but it isnt. All cells contain only numbers or
letters and the cells format is general.

Any suggestions??

Bob Phillips

Not sure I get it, but try

=countif(f5:f268,""&char(32)) / countif(e5:e268,""&char(32))

"psion" wrote in message
...
I wrote a formula in a cell that contains the following:

=countif(f5:f268," char(32)") / countif(e5:e268," char(32)")

I have verified that any unused cells have blanks spaces in them.

Both columns have data in the same rows so the counted value for each
column should be the same but it isnt. All cells contain only numbers or
letters and the cells format is general.

Any suggestions??




psion

OK... Ive fixed the problem(but Im still unsure why it is happening).
What I did to fix the problem is re-enter any cell that contain only
numerical data. Alphanumeric was ok...

Bob Phillips wrote:
Not sure I get it, but try

=countif(f5:f268,""&char(32)) / countif(e5:e268,""&char(32))

"psion" wrote in message
...

I wrote a formula in a cell that contains the following:

=countif(f5:f268," char(32)") / countif(e5:e268," char(32)")

I have verified that any unused cells have blanks spaces in them.

Both columns have data in the same rows so the counted value for each
column should be the same but it isnt. All cells contain only numbers or
letters and the cells format is general.

Any suggestions??






All times are GMT +1. The time now is 11:37 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com