#1 Roulette Forum & Message Board | www.RouletteForum.cc

IT & Software => Coding for Roulette => Topic started by: maestro on Oct 10, 11:46 AM 2012

Title: just question about excel
Post by: maestro on Oct 10, 11:46 AM 2012
what i wanna do is say i have area from a1 to d10 with numbers i would like to be able to get a formula into the cell which counts how many times 3 or more numbers appear into defined area...example say in cell h5 i wanna see results as a count how many times 3,4,5 appeared in area a1 to d10  so if number 3 appeared 1 time,4 appeared 1time and 5 appeared 1time then result in cell has to be 3 times...thanks
Title: Re: just question about excel
Post by: mattymattz on Oct 10, 11:56 AM 2012
should be able to use the COUNTIF function...

=COUNTIF(a1:d10,OR(3,4,5))

something like that

Title: Re: just question about excel
Post by: Stepkevh on Oct 10, 11:59 AM 2012
thsi will do what you want :-)
Title: Re: just question about excel
Post by: maestro on Oct 10, 12:33 PM 2012
thank you very much...stepkevh your one works but is not what i wanted and matty i did try yours but return o value...say i have 1 cell and four numbers arround the cell and i have area a1:p40 with numbers ,i am trying to count sum of  how many times them 4 numbers hit whitin area..
Title: Re: just question about excel
Post by: Stepkevh on Oct 10, 12:39 PM 2012
so you want to search for 4 given numbers in the area A1 : P40 ?
Title: Re: just question about excel
Post by: maestro on Oct 10, 12:43 PM 2012
yes
Title: Re: just question about excel
Post by: maestro on Oct 10, 12:51 PM 2012
i worked it out ....thanks very much
Title: Re: just question about excel
Post by: Stepkevh on Oct 10, 12:55 PM 2012
no problem