Average data in multiple non-contiguous ranges in Excel
In Excel, you can use the function AVERAGE to calculate the average value in a selected range. But sometimes, the values are in non-contiguous ranges which needed to be calculated, in this case, how can you quickly average these values in multiple ranges including zero or excluding zero in Excel.
Average data in multiple non-contiguous ranges including zero
If you want to average data in multiple range which are non-contiguous, supposing, you want to average the ranges A1:B7, C2:D5 and E2:F6 as below screenshot shown, you can do as below steps:
1. Add the ranges one by one into the AVERAGE function.
Type or copy this formula:
Using commas to separate the non-contiguous ranges in the formula, you can add as many ranges as you need.
Press Enter key.
2. Define a range name to non-contiguous ranges
If you do not want to add multiple range references to the AVERAGE function, you can give a range name to the ranges you want to calculate firstly. Holding Ctrl key to select the ranges you want to average, then go to the Name box (at the left of formula bar), type a name, then press Enter key to define. See screenshot:
Then type this formula in a cell
Press Enter key.
Tip: If you are in trouble with remembering complex formulas, here the Auto Text tool of Kutools for Excel can save all formulas you used in a pane for you, then, you can reuse them in anywhere anytime, what you only need to do is change the references to match your real need. Click for free download it now.
Average data in multiple non-contiguous ranges excluding zero
If you want to average the values in non-contiguous ranges excluding 0, you can use below formula:
Sum every other or nth row/column in Excel As we all know, we can apply the Sum function to add a list of cells, but sometimes we need to sum every other cell for some purpose, and Excel has no standard function allow us to sum every nth cell. In this situation, how could we sum every other or nth row / column in Excel?
Summarize data from worksheets / workbooks into one worksheet Supposing you have a workbook which contains multiple worksheets, and each worksheet has the identical layout. And now you need to merge the multiple worksheets and calculate the final results into a master worksheet, how could you consolidate or summarize data from multiple worksheets or workbooks into a master worksheet?