View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CP CP is offline
external usenet poster
 
Posts: 64
Default COUNTIF(range,=range_name)

That works! Thanks so much!

"cp" wrote:

I'm working on interest rate scenarios. I have a range defined by cells
($n$20:$n$2000) with a formulas that chooses the lower of the current
interest rate or a named range (a singe cell) of "IR". Now I want to find
out how many are still below IR. I've tried
countif($n$20:$n$2000,"<IR")
but it returns 0.

It DOES work if instead of IR I enter the actual new rate (say, "4%"), but
since IR can change with the scenario, that doesn't seem efficient.

I appreciate your time and help!

-- cp