Average previous margins , overall average .

Sunline

Well-known Member
Joined
Oct 6, 2007
Messages
701
Office Version
  1. 2016
Platform
  1. Windows
Hello all,

I am hoping to get a function that can give me the results I have in col GD , (WOA) .

I have my cols sorted by Meet , Con , Class , Dist .

The results in col GD are the average of cols FK:FM . Next is example starting from row 2.

Find all Ascot , then Dead , then Mdn , then 1100 . Average first row . FK:FM .

The result moves to the next row 5.1 as in cell GD3 . Some rows may be blank .
Keep averaging until last entry of finding all Ascot , then Dead , then Mdn , then 1100 .

Then move to next which would be Ascot , Dead , MDN , 1400 . And so on .

If only one row and there is no previous data to average from then continue to find next series .

Hopefully this is an easy fix .

Thanks .
Excel Workbook
EJOPFKFLFMGD
1MeetConClassDistMG3MG2MG1WOA
2AscotDeadMDN110010.613.9
3AscotDeadMDN11005.1
4AscotDeadMDN11002.32.35.1
5AscotDeadMDN11007.49.63.24
6AscotDeadMDN11003.95.85
7AscotDeadMDN14002.12.1
8AscotDeadMDN14001.68.52.1
9AscotHeavyMDN14003.83.96.4
10AscotHeavyMDN14006.38.815.34.7
11AscotHeavyMDN14007.4
12AscotHeavyMDN14001.136.87.4
13NevadaGoodOPN HCP20002.9
14NevadaGoodOPN HCP20006.72.22.52.9
15NevadaGoodOPN HCP20003.71.61.33.5
16NevadaGoodOPN HCP20007.40.90.52.9
17ParisGoodRating 70 SW+P12000.311.3
18ParisGoodRating 70 SW+P12004.75.512.50.8
19ParisGoodRating 70 SW+P20005.111.50.2
20ParisGoodRating 70 SW+P200023.876.15.6
21ParisGoodRating 721200100.32
22ParisGoodRating 7214000.127.9
23ParisGoodRating 7214000.35.83.23.3
24ParisGoodRating 7514004.57.49.93.2
25ParisGoodRating 7514004.5
26ParisGoodRating 7514005.34.30.84.5
Sheet1
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

Forum statistics

Threads
1,223,713
Messages
6,174,043
Members
452,542
Latest member
Bricklin

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