Averages with Cells of Same Value

jsparks

New Member
Joined
Apr 8, 2013
Messages
1
Hello, this is my first time posting here so I hope it works. I have received a lot of help here on other issues.

I have a group of data:
2.142.56384.0
2.242.56341.0
2.342.56342.0
2.442.56341.0
3.524.35306.0
3.624.35280.0
3.724.35255.0
3.824.35251.0
3.924.35251.0
4.024.35251.0
4.915.64906.0
5.015.64898.0
5.115.64890.0
5.215.64880.0
5.315.64881.0
6.54.54536.0
6.64.54522.0
6.74.54515.0
6.84.54509.0
6.94.54509.0
7.04.54509.0
7.50.04256.0
7.60.04256.0
7.70.04256.0
7.80.04256.0
7.90.04256.0
8.00.04256.0
8.104256
8.204256
8.304256
8.404256
8.504256
8.604256

<colgroup><col><col><col></colgroup><tbody>
</tbody>
Essentially, what I need to do is write a visual basic function that will output the average of the left and right column, when the middle column is the same. For example, the output for this data would look like this:
2.342.56352.0
3.824.35265.7
5.115.64891.0
6.84.54516.7
8.104256.0

<colgroup><col><col><col></colgroup><tbody>
</tbody>
I am kind of lost here, any help would be very appreciated.

Thanks!
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Forum statistics

Threads
1,203,507
Messages
6,055,809
Members
444,826
Latest member
aggerdanny

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