differences in groups of numbers

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello there-

I have a column of 10 numbers. The last row of the column is a control
value. I would like to know the easiest way to see if any of the previous 9
numbers in a column divided by the control number is .6 or less. I tried OR
function and it works, but I will be dealing with bigger columns of up to 100
numbers to compare to a control number and the OR function in this case would
be cumbersome.

PM
 
Assume your numbers are in A1:A100 and your control number is in A101, this
function counts the number of entries meeting this condition:

=SUMPRODUCT(--(A1:A100/A101<0.6))
 
=SUM(A1:A9)/A10<0.6

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
Bob - Your formula simply sums the values and divides by the control number.
I believe (unless I read wrong) he wanted to check if each individual number
divided by the control number is less than .6, in which case my formula would
have to be used:

=SUMPRODUCT(--(A1:A100/A101<0.6))
 
Thanks Dave. Just out of curiosity, what is the purpose of the two dashes
(--) in the formula?
 
Re-reading, I think you are right. I missed the emphasis of any. Pit, mine
was much simpler :-)

Bob
 

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

Back
Top