Given a table of dates and values.
How to average by day of week?
I found AVERAGEIF to average and TEXT(E4, "dddd") to convert to day of week.
But how to combine those two functions?
| Date | Value |
|---|---|
| 1/1/2001 | 1 |
| 1/2/2001 | 2 |
| 1/3/2001 | 3 |
| 1/4/2001 | 3 |
| 1/5/2001 | 6 |
| 1/6/2001 | 3 |
| Day of Week | Average |
|---|---|
| Sunday | |
| Monday | |
| Tuesday | |
| Wednesday | |
| Thursday | |
| Friday | |
| Saturday |



HSTACK()function.