How to calculate a Column average excluding some cells???

SebastianColombia

New Member
Joined
Oct 21, 2013
Messages
12
First of all, good morning/afternoon/evening:

Im having a difficult time with this, basically I will show you with an example what I am trying to do: Let´s say I have to columns: Column "A" with numeric data and column "B" where Im going to calculate the column average, excluding the matching row.

ColumnA ColumnB
2 6 (6 would the the column "A"´s average excluding 2, because it is in the same row)
4 5,3 (5,3 would the the column "A"´s average excluding 4, because it is in the same row)
6 4,6 (4,6 would the the column "A"´s average excluding 6, because it is in the same row)
8 4 (4 would the the column "A"´s average excluding 8, because it is in the same row)

Is it clear what Im trying to achieve. I have hundreds of thousands of data, so I would be exhausting to do it manually. I would really appreciate if you could help me!!!!.

Thank you very much!!
 

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.
Why don't you just insert a few helper columns. You can use a formula similar to this
Rich (BB code):
=MID(A1,2, 99)
in order to string out the all numbers but the first one....then use another formula to string out other numbers....continue the same process for x amount of numbers etc.... Then you can calculate the average from the new columns
 
Last edited:
Upvote 0
Why don't you just insert a few helper columns. You can use a formula similar to this
Rich (BB code):
=MID(A1,2, 99)
in order to string out the all numbers but the first one....then use another formula to string out other numbers....continue the same process for x amount of numbers etc.... Then you can calculate the average from the new columns


mrmmickle1 thanks for answering!!! I can tell that something happened with the spaces in my example!! What Im trying to do is getting the entire column average, without taking the cell in front, so that I can drag down the formula and calculate the total column average excluding the matching rows.....I dont know if it´s clear what Im trying to do :(

Thanks for answering!
 
Upvote 0

Forum statistics

Threads
1,223,162
Messages
6,170,431
Members
452,326
Latest member
johnshaji

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