IF THEN & Average.//Ishan

decentlydoped

New Member
Joined
Dec 19, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I want to use a formula which can detect the values for the whole column(which gets updated everyday), if that value is true then it will average the values of all those respective other columns having the value. for example: for the whole column C, every cell having value 2 its respective values in column M will get averaged.
Column C having values 1 to 6.
Every number from 1 to 6 in column C has respective data in column M for the month. The sheet gets updated everyday. So, I wish to average the data in column M for all the respective values in column C and should get updated everyday by its own.
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Structured table or not, you should still be able to use AVERAGEIF

23 12 19.xlsm
CMNOP
1Column C valueAverage
2586130.5
3262238
4385348
5154422
6233586
7422619
8214
9619
10254
1117
1221
13222
14280
15311
16
17
Average
Cell Formulas
RangeFormula
P2:P7P2=AVERAGEIF(C2:C1000,O2:O7,M2:M1000)
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,215,086
Messages
6,123,035
Members
449,092
Latest member
ikke

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