sum max constative based on criteria

Excel777

Well-known Member
Joined
Jul 3, 2009
Messages
912
Office Version
  1. 2019
Hi all
i use this formula to count max constative positive and negative numbers,
MAX(FREQUENCY(IF($AI$16:$AI$3000="WIN",ROW($AI$16:$AI$3000)),IF($AI$16:$AI$3000<>"",IF($AI$16:$AI$3000<>"WIN",ROW($AI$16:$AI$3000)))))
MAX(FREQUENCY(IF($AI$16:$AI$3000="LOSS",ROW($AI$16:$AI$3000)),IF($AI$16:$AI$3000<>"",IF($AI$16:$AI$3000<>"LOSS",ROW($AI$16:$AI$3000)))))
i need a formula to sum max constative positive and negative numbers,
any help
thanks
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
then What is your numbers columns that you want sum?
If your SumRange Column is AM Then:
Excel Formula:
=SUMIF($AI$16:$AI$3000,"Win",$AM$16:$AM$3000)
Excel Formula:
=SUMIF($AI$16:$AI$3000,"Loss",$AM$16:$AM$3000)
 
Upvote 0

Forum statistics

Threads
1,215,012
Messages
6,122,682
Members
449,091
Latest member
peppernaut

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