# SUM.IF and AVERAGE in same formula?

#### johannordgren

##### New Member
Hi y'all.

So I've made a SUMIF formula that follows:
SUM.IF(C:C;"Monday";D:D)

Im wonderng if i is possible to add an averagecount into this formula, so I dont have to use anoher column.
--> Count numer of recurring "monday" and count the average of the result from the formula above? You with me?

Thank you!

### Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
try the averageif() function

You with me?

Hi, it's a confusing description! Do you want to count the rows where column C = "Monday" and column D = "average value in column D where column is a Monday"?

If so.
=COUNTIFS(C:C,"Monday",D:D,AVERAGEIFS(D:D,C:C,"Monday"))

If not - maybe have another go at describing what you want along with a scaled down example and the expected results for that example.

Replies
11
Views
513
Replies
3
Views
351
Replies
1
Views
256
Replies
3
Views
226
Replies
2
Views
371

Threads
1,207,423
Messages
6,078,443
Members
446,338
Latest member
AliB

### 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