Google Sheets Formula Help with Average of One Column for Values that Match Another

truenw

New Member
Joined
Oct 14, 2017
Messages
12
I would like to find a way to

In Column P, I would like to display the average of all Rows that show a matching date value for Column G, but to pull the average range from row N.

So...lets say, I have Rows 1, 2, 3, 4, 5 and in 1, 2, 4, the date in G is 4/1/20, then in rows 3 and 5, the date in G is 4/3/20. In column P, for each row, I want it to detect the date in G, then average the values in column N for all columns with a matching date value.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
The google formula for that should be the same as the excel formula, assuming data starts in row 2, enter this into P2 and fill down.

=AVERAGEIF(G:G,G2,N:N)
 
Upvote 0

Forum statistics

Threads
1,223,659
Messages
6,173,640
Members
452,525
Latest member
DPOLKADOT

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