View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Access Joe Access Joe is offline
external usenet poster
 
Posts: 54
Default Count a range of cells using an IF

Hey everyone,

Excel 2000

I have a range of cells like so (each number is in it's own cell)
50 20 30 60 90 30

The FIRST cell (in this case, "50") is the 'recommended value'. What I want
to do is create a function that looks at all the other 'variable' cells (20,
30, 60....) as one whole range and checks to see if any one of them are less
than the recommended value of 50. If so, I want to see a count of how many
'variables' were less than 50. So in this example, I would like to see the
answer of "3", because there are three variables in that range of cells that
are less than 50.

Hope that makes sense. Assuming it would be some kind of IF / COUNTIF, but
can't figure out how to do it.

Thanks so much!
J