- To post as a guest, your comment is unpublished.· 2 years agoYou are right.
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...)
- Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
- More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
- Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
- Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
- Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
- Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
- More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.
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.|
You are guest
or post as a guest, but your post won't be published automatically.
- To post as a guest, your comment is unpublished.· 2 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?