sum max constative based on criteria

Excel777

Well-known Member
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

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

maabadi

Well-known Member
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)

maabadi

Well-known Member
You're Welcome & Thanks for feedback

Replies
3
Views
90
Replies
1
Views
138
Replies
3
Views
100
Replies
0
Views
71
Replies
1
Views
111

Threads
1,132,910
Messages
5,655,906
Members
418,250
Latest member
Jebacmakro

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

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