bomberman411
Board Regular
- Joined
- Oct 23, 2007
- Messages
- 169
Hello all,
I have a weird problem that I can't figure out... might be a fluke in Excel, I just don't know.
In my spreadsheet, I have 3 different/separate cells to calculate totals that I need. All 3 checks the same long column for different things:
- one to check for zeros ("0") using
- one to check for question marks ("?) using
- one to check for dashes ("-) using
All of these use to work fine, but recently I have noticed something. When I add a "?", the total is incremented like it should. BUT if I write a "-", I have BOTH totals (total for the question marks & total for dashes) increment at the same time...? I really don't know what could be wrong.
Please help.
I have a weird problem that I can't figure out... might be a fluke in Excel, I just don't know.
In my spreadsheet, I have 3 different/separate cells to calculate totals that I need. All 3 checks the same long column for different things:
- one to check for zeros ("0") using
Code:
=COUNTIF($F$11:$F$5000;0)
Code:
=COUNTIF($F$11:$F$5000;"?")
Code:
=COUNTIF($F$11:$F$5000;"-")
All of these use to work fine, but recently I have noticed something. When I add a "?", the total is incremented like it should. BUT if I write a "-", I have BOTH totals (total for the question marks & total for dashes) increment at the same time...? I really don't know what could be wrong.
Please help.