count variances without variance column?

gobblechops

New Member
Joined
Apr 27, 2017
Messages
40
Office Version
  1. 365
Platform
  1. Windows
Hi all,

How can I count the variances between 2 columns with a variance greater than 0, without the need for a column with the actual variance?

Currently using =SUMPRODUCT(--($L$61:$L$70>0)) to count the variances greater than zero in column L (column J minus column K) but which formula can I use to do the same thing using the variances between column J & K without the requirement for the calculated variance in column L?

Thanks!
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
how about
=SUMPRODUCT(--(J1:J11-K1:K11>0))

Book1
FGHIJK
12
212
323
464
566
666
777
876
978
Sheet1
Cell Formulas
RangeFormula
F1F1=SUMPRODUCT(--(J1:J11-K1:K11>0))


showing the results in a separate column

do you also need if below zero ?

Book1
FGHIJKLMN
12
212-1
323-1
4642
5660
6660
7770
8761
978-1
Sheet1
Cell Formulas
RangeFormula
F1F1=SUMPRODUCT(--(J1:J11-K1:K11>0))
M2:M9M2=J2-K2
 
Last edited:
Upvote 0
Solution

Forum statistics

Threads
1,214,839
Messages
6,121,892
Members
449,058
Latest member
Guy Boot

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top