1
I have two columns with data and I'd like to count all the rows where the value in the first column are greater than the values in the second column.
The best I could find was using cell references, something like this:
=COUNTIF($D$2:$D$289, ">"&$E$2)
but obviously it is not what I need.
However, I did try the following:
=COUNTIF($D$2:$D$289, ">"&$E$2:$E$289)
but I get an error...
Can you advise please?
Thanks.
Thank you Peter. I get an "Error parsing formula" error message. Maybe that's because I work on Google Spreadsheets?? – dushkin – 2018-07-20T15:31:12.090
@dushkin then you should not tag with Excel. – Scott Craner – 2018-07-20T16:15:22.660
@duskin, see update answer – PeterT – 2018-07-20T16:36:57.633
@ScottCraner Scott, since there is much common between the two, I was hoping the excel guys could help me as well. – dushkin – 2018-07-20T16:44:54.993
@PeterT I made the change. Still Error (as you may see in the question image I've uploaded)... I also tried it on a separate other very tiny range of two columns - and still error... :( – dushkin – 2018-07-20T16:47:01.513
I used your example data and the
SUMPRODUCT
formula works for me. See above. – PeterT – 2018-07-20T17:49:12.423@PeterT Peter, the final formula should have only single = instead of two as in you answer for google :) Thanks a lot! – dushkin – 2018-07-20T18:05:32.180