COMPARE AND COUNT VALUES

  • Thread starter Thread starter Ron
  • Start date Start date
R

Ron

I have the high temperatures for the month in column B
and the average temperature for the date in column D. I
want to compare the high temperature in column B against
the average temperature in column D and count the
occurrences for the month where the high temperature
exceeded the average.

Thanks
 
Hi
one way (if your data starts in row 2)
=SUMPRODUCT(--(B2:B100>D2:D100))
 
Ron

Another way is to use FREQUENCY

Select a number of cells same as the number of average temperatures, and
enter
=FREQUENCY(B1:B1000,D1:D50)
and enter as an array formula, Ctrl-Shift-Enter.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 

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