I am trying to count the number of times the values in A1:A1000 are greater than those in B1:B1000. Can someone please tell me how to achieve this using a COUNTIF function?
Thank You!
I am trying to count the number of times the values in A1:A1000 are greater than those in B1:B1000. Can someone please tell me how to achieve this using a COUNTIF function?
Thank You!
Try: =SUMPRODUCT(--(A1:A1000>B1:B1000))
Dom
"May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."
Use code tags when posting your VBA code: [code] Your code here [/code]
Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.
Hi,
![]()
Please Login or Register to view this content.
Excellent, thanks very much.
Is it possible to achieve the same result using COUNTIFS?
Thanks
Hi Andrew,
In short, no.
You want a comparison like the comparison 1 picture attached, but you could can liken COUNTIF (or COUNTIFS) to the comparision 2 picture attached.
I've only got 2003 here at the moment so can't play but I don't think so.
Dom
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks