Excel 2016: Formula Simplication

ajay_gajree

Well-known Member
Joined
Jul 16, 2011
Messages
518
Code:
=IF(L90+M90>7,1,0)
+IF(L91+M91>7,1,0)
+IF(L92+M92>7,1,0)

I want to use a formula to count a range of a pair of cells if they are greater than 7 when added together

Possibly I wish to do this for 15 to 25 pairs of consecutive cells

Is there an easier way than adding a row as above for each row of cells?

Hope that is clear!
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Try:
Code:
=COUNTIF($L$90:$M$92,">"&7)
Adjust range to suit
 
Upvote 0
Try (adjusting the ranges to suit)

=SUMPRODUCT(--(L90:L100+M90:M100>7))
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,198
Members
453,022
Latest member
RobertV1609

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