counting 0 in a row

R

RAF JANSSENS

hallo

i use a excel sheet to count the points gaint in an competition wit
model sail boats

i have this problem i kant solve


example of a row with the points


day1 day2 day3 day4 day5 total classement
4 2 6 4 0 10 2
0 0 1 1 0 2 1


the total collum counts the points and then takes the highest scor
from the total
the lower your points the better you are
the first to arrive gets one point the second two points the ther
three points etc..

in row two the guy was won two of the 5 events there and normaly he ha
won but due to the three times he was not there he is not classyfiet

how doe i count the two or three zero's in the row and put in th
classemet collum NC


greatings ra
 
I

Ian

=IF(COUNTIF(A11:E11,0)>1,"NC",your original calculation here)

From your message I assume one 0 is OK so I've set the formula to flag NC if
 
B

Bob Phillips

This may be over-complicating it a bit, but what it does is check if there
are more than 2 zeroes, if so it substitutes 99 for those zeroes

=SUM(IF(COUNTIF(A10:E10,0)>2,IF(A10:E10=0,99,A10:E10),A10:E10))-MAX(IF(COUNT
IF(A10:E10,0)>2,IF(A10:E10=0,99,A10:E10),A10:E10))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"RAF JANSSENS" <[email protected]>
wrote in message
news:[email protected]...
 
R

RAF JANSSENS

hallo


the proposed help isnt working

i put the tabel online in thiS directory

http://users.pandora.be/mycl/excel/


THE RESULT OF THE CALCULATION IS DUE IN THE COLLUM K


sorry that the sheet is in dutch but thats the language i ame speaking

hope somone find a sollution for this problem
the version of excel i ame using is 2000

regards ra
 
R

RAF JANSSENS

gallo

the three "***" are normalie zero's but this wil do
exept that i keep having aan failur message from excel if i past th
line into the colum K


traing to put everithing in dutch
hoping that it wil work then

regards ra
 
R

RAF JANSSENS

hallo

if i paste the formula in to the right cell i get an erro from excel

i think the version of excel is missing som things

that you all have and i don't

how kan i get the problem solved???

regards raf
 
B

Bob Phillips

RAF,

Do you have English or Dutch Excel?
Do you have English/American or Continental separators (, for English, ; for
continental)

If English language, English separators, you need to use

=IF(COUNTIF(F5:J5,0)>2,"NC",SUM(F5:J5)-MAX(F5:J5))

If English language, Continental separators, you need to use

=IF(COUNTIF(F5:J5,0)>2;"NC";SUM(F5:J5)-MAX(F5:J5))

If you have dutch langauge, you probabloy have continental separators, which
means you need

=IF(AANTAL.ANS(F5:J5,0)>2;"NC";SOM(F5:J5)-MAX(F5:J5))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"RAF JANSSENS" <[email protected]>
wrote in message
news:[email protected]...
 
R

RAF JANSSENS

hallo

dutch language and contineltal separations

ik kee having the same fold message


=IF(AANTAL.ANS(F5:J5,0)>2;"NC";SOM(F5:J5)-MAX(F5:J5))


excel keeps having te same problem with te red colord part in the
string
has someone trying the sheet on the website with the string on the
right place K5

http://users.pandora.be/mycl/excel/
it's down loadeble and without a virus i ame using antivir guard xp

if the problem is non existing with an other execl prog then the
problem is here with this version of excel

regards raf
 
R

Ron de Bruin

Hi Raf

in Dutch you must use

=ALS(AANTAL.ALS(F5:J5;0)>2;"NC";SOM(F5:J5)-MAX(F5:J5))
 
R

RAF JANSSENS

hallo


oef thanks it is working

not so simple the differens betwee al those excel program's
and language's

a great problem is solved thaks to you guy's



regards ra
 
R

Ron de Bruin

Hi Raf

I believe Bob send you a workbook with this formula?
Do you have errors in the formula cells when you open that workbook ??

Groeten Ron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top