The law of averages ???

Jimmy110

Board Regular
Joined
Feb 28, 2022
Messages
63
Office Version
  1. 365
Platform
  1. Windows
Hi,

Could anyone help me with a little problem?? I have a column with weight data from 3 different target ranges....10kgs / 12kgs / 15kgs.

Currently I'm having to work out the average by selecting all the relevant 10kgs weights (Could be as low as 9.7 or as high as 10.9) and look at the info bar at the bottom, then repeat for all the 12kgs weights, (again, looking for any measurement that's from about 11.7 to 12.9) then finally the same for the 15kg range.

Is there a formula that would do it for me to save time?

I've added an example file.... weight data is in column A, my manually calculated averages are just typed into cells C2, C3 & C4..... but could they contain a formula to return those values automatically?

(something to point out, is not all of the weight ranges are grouped together....for example the 15kgs data starts at A47-A54, then more appears at A143, to the end of the data)



Any help appreciated.....

Cheers

James
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
all the relevant 10kgs weights (Could be as low as 9.7 or as high as 10.9)

You could try AVERAGEIFS() - for example:

Excel Formula:
=AVERAGEIFS(A:A,A:A,">=9.7",A:A,"<=10.9")
 
Upvote 0
Solution
perfect! That works a treat....thank you so much for helping....its saved me loads of time!
 
Upvote 0

Forum statistics

Threads
1,223,790
Messages
6,174,600
Members
452,574
Latest member
hang_and_bang

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