Aug 16 2017
06:45 AM
- last edited on
Jul 25 2018
09:55 AM
by
TechCommunityAP
Aug 16 2017
06:45 AM
- last edited on
Jul 25 2018
09:55 AM
by
TechCommunityAP
Hello, I'm trying to calculate the difference in a column of cells from the number 40 when the number is greater than 40 and then get the total of the differences. I can't seem to group or nest the right formula to achieve this. Any help?
Aug 16 2017 07:10 AM
Aug 16 2017 07:44 PM
Here are two other options:
=SUMPRODUCT((A1:A10>40)*(A1:A10-40))
or
=SUM(IF(A1:A10>40,A1:A10-40,0))
The latter is an array formula and must be confirmed with Ctrl-Shift-Enter.