Average just of the minus

poikl

Active Member
Joined
Jun 8, 2002
Messages
484
Platform
  1. Windows
Hi, Can you please help me with formula to just show the average LOSS and separately the average GAINS in a column C which posts both, gains and losses?

ColA ColB ColC
10/20/2024161.88821.54322
10/22/2024157.9199-3.96828
10/27/2024162.77014.85012
10/31/2024159.2427-3.52736
11/3/2024160.3451.1023
11/7/2024157.9199-2.42506
11/10/2024158.58130.66138
11/14/2024157.9199-0.66138
11/17/2024158.58130.66138
11/21/2024157.6995-0.88184
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Following from the above, if you have the AVERAGEIFS function ..

24 11 22.xlsm
CDEF
1Av GainAv Loss
21.543221.76368-2.292784
3-3.96828
44.85012
5-3.52736
61.1023
7-2.42506
80.66138
9-0.66138
100.66138
11-0.88184
AVERAGEIFS
Cell Formulas
RangeFormula
E2E2=AVERAGEIFS(C2:C11,C2:C11,">0")
F2F2=AVERAGEIFS(C2:C11,C2:C11,"<0")
 
Upvote 0

Forum statistics

Threads
1,223,992
Messages
6,175,823
Members
452,672
Latest member
missbanana

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