COUNTIF to compare one range versus another range

  • Thread starter Thread starter Phil
  • Start date Start date
P

Phil

Okay I know how array formulas work but I'm having trouble with the
following. I want to count the number of times each value in column D
is less than each corresponding value in column B. What I have is

{=COUNTIF(D2:D100, "<B2:B100")}

but it doesn't work (it always returns 0).

Any ideas?
 
Back
Top