sum max constative based on criteria

Excel777

Well-known Member
Joined
Jul 3, 2009
Messages
892
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
Joined
Oct 22, 2012
Messages
1,925
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
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)
 

Watch MrExcel Video

Forum statistics

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

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
Top