How to average absolute values in Excel?
If you have a list of values which contain both positive numbers and negative numbers, and now, you want to calculate the average of the absolute values of these numbers in the worksheet. Do you have any good ideas to solve this problem?
Change Sige of Vlaues (quickly change negative to positive values, or vice versa...)
Excel Productivity Tools
Office Tab: Bring powerful tabs to Office (include Excel), just like Chrome, Safari, Firefox and Internet Explorer. Save you half the time, and reduce thousands of mouse clicks for you. 30-day Unlimited Free Trial
Kutools for Excel: Save 70% of your time and solve 80% Excel problems for you. 300+ advanced features designed for 1500+ work scenario, make Excel much easy and increase productivity immediately. 60-day Unlimited Free Trial
Generally speaking, you may use the ABS function to get the absolute values of all the numbers, and then apply AVERAGE function to calculate the result. Please do as follows:
1. Next to your data, enter this formula: =ABS(A2), see screenshot:
2. Then drag the fill handle over to the range that you want to apply this formula, and all the values have been converted to the absolute values. See screenshot:
3. Then, you can apply the AVERAGE function by type =AVERAGE(B2:B13) (B2:B13 is the range you want to calculate their average) into a cell to get the average of these absolute values, see screenshot:
Maybe the above method is a little troublesome, here are some simple formulas also can help you.
1. Enter this array formula: =AVERAGE(ABS(A2:A13)) into a blank cell next to the data, see screenshot:
2. Then press Ctrl + Shift + Enter keys together to calculate the result.
Note: If you want to ignore 0 or blank cells when average the absolute values, you can use this array formula: =AVERAGE(IF(A2:A13<>"",ABS(A2:A13))), and remember to press Ctrl + Shift + Enter keys.
With Kutools for Excel's Change Sign of Values utility, you can change all negative values into positive first and then apply =AVERAGE function to get the average.
|Kutools for Excel, with more than 120 handy Excel functions, enhance your working efficiency and save your working time.|
After free installing Kutools for Excel, please do as below:
1. Select the values and then click Kutools > Content > Change Sign of Values. See screenshot:
2. In the popped out dialog, check Change all negative values to positive option . See screenshot:
3. Then select a blank cell to type =AVERAGE(L1:L15) (L1:L15 is the values you want to get average) and press Enter to get the average.
You maybe interested in this:
|If there are some values which include both positive and negative values, how can you sum their absolute values up? Generally, you may change the negative values to positive first, and them sum them. But with Kutools for Excel's Sum absolute values, you can directly sum the absolute values as quickly as you can.|
Excel Productivity Tools
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
To post as a guest, your comment is unpublished.· 1 years agoThanks for the helpful article. Interesting that =AVERAGEIF($A$5:$A$1000,$A8,ABS($AH$5:$AH$1000)) gives an error, while =AVERAGE(IF($A$5:$A$1000=$A8,ABS($AH$5:$AH$1000))) does not. Is it that because AVVERAGEIF is expecting only a cell reference range?