Forum Discussion
svaydtla
Dec 03, 2021Copper Contributor
Calculating Average Prices
Would like to know how to calculate: The average closing prices on days with below average volume and an above average open price. Excel file attached for reference.
- Dec 03, 2021
=AVERAGE(IF(AVERAGE(E4:E1312)>(E4:E1312),IF(AVERAGE(F4:F1312)<(F4:F1312),D4:D1312)))
Is this what you are looking for? I have to enter formula with ctrl+shift+enter because i don't work with Office365 or 2021.
OliverScheurich
Dec 03, 2021Gold Contributor
=AVERAGE(IF(AVERAGE(E4:E1312)>(E4:E1312),IF(AVERAGE(F4:F1312)<(F4:F1312),D4:D1312)))
Is this what you are looking for? I have to enter formula with ctrl+shift+enter because i don't work with Office365 or 2021.
svaydtla
Dec 03, 2021Copper Contributor
OliverScheurich thank you. this is exactly what I needed. It works perfectly. I had the wrong combo originally hence why I needed help.
- OliverScheurichDec 03, 2021Gold Contributor
=AVERAGEIFS(D4:D1312,E4:E1312,"<"&AVERAGE(E4:E1312),F4:F1312,">"&AVERAGE(F4:F1312))
Glad it helped. You can as well apply above formula.