Average IF excluding a specific value.

lewryanjack

New Member
Joined
Jun 10, 2018
Messages
1
Hi,

This is my first post. I own a finance company and am trying to determine the % increase / decrease in my fees from year to year. I have this figured out on a month to month basis. However, I am trying to run the month to date average for all the months. The months where no data has yet posted shows a value of -100%. I would like to exclude cells from my average that have -100% while running the average for all 12 monthhs. If I would like to take the average of all the cells below, but exclude the cells in the average showing -100% how would I do this. I only have data through May so technically the average would be for 5 months. Please see below. I appreciate any help.

Thank you.

Lewis

[TABLE="width: 1184"]
<tbody>[TR]
[TD][TABLE="width: 210"]
<tbody>[TR]
[TD="class: xl178, width: 135"]Month[/TD]
[TD="class: xl179, width: 145"]% Change Prior Year[/TD]
[/TR]
[TR]
[TD="class: xl173"]Janary[/TD]
[TD="class: xl180"]-4.68%[/TD]
[/TR]
[TR]
[TD="class: xl173"]February[/TD]
[TD="class: xl180"]-1.75%[/TD]
[/TR]
[TR]
[TD="class: xl173"]March[/TD]
[TD="class: xl180"]-9.37%[/TD]
[/TR]
[TR]
[TD="class: xl173"]April[/TD]
[TD="class: xl180"]-14.29%[/TD]
[/TR]
[TR]
[TD="class: xl173"]May[/TD]
[TD="class: xl180"]-10.66%[/TD]
[/TR]
[TR]
[TD="class: xl173"]June[/TD]
[TD="class: xl180"]-100.00%[/TD]
[/TR]
[TR]
[TD="class: xl173"]July[/TD]
[TD="class: xl180"]-100.00%[/TD]
[/TR]
[TR]
[TD="class: xl173"]August[/TD]
[TD="class: xl180"]-100.00%[/TD]
[/TR]
[TR]
[TD="class: xl173"]September[/TD]
[TD="class: xl180"]-100.00%[/TD]
[/TR]
[TR]
[TD="class: xl173"]October[/TD]
[TD="class: xl180"]-100.00%[/TD]
[/TR]
[TR]
[TD="class: xl173"]November[/TD]
[TD="class: xl180"]-100.00%[/TD]
[/TR]
[TR]
[TD="class: xl173"]December[/TD]
[TD="class: xl180"]-100.00%[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Assuming your January data starts in B2;

Code:
=AVERAGEIF(B2:B13,">-1",B2:B13)*1

B2 = -4.68% (January)
B13 = -100.00% (December)
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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