Go Premium for a chance to win a PS4. Enter to Win

x
Solved

# Take average of differences between two subsets in same array, not just difference between two averages

Posted on 2016-07-26
Medium Priority
58 Views
I had this question after viewing Excel Formula Help - Benchmark Subset of Array Against Another Subset in Same Array.

I have a data set in dynamic array form that includes YYYYQ, MSA name plus national data, and value. I would like average quarterly differences between each MSA and national market value without using VBA. This is not taking the average of each then subtracting one from another, but rather calculating each difference then averaging the quarterly differences.
0
Question by:dhansen_

LVL 53

Expert Comment

ID: 41731046
Hi,

Could you create a short example in a new file to outline your thoughts

Regards
0

LVL 25

Accepted Solution

Brian B earned 2000 total points
ID: 41733169
Spelling out how it would work as above will help, But meanwhile, it sounds like you need an array formula with the average of the difference of the two arrays. Something like this:

average({array1-array2})
0

Author Closing Comment

ID: 41750993
Thanks for your help. This ended up being the solution I used.
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabilâ€¦
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
###### Suggested Courses
Course of the Month6 days, 7 hours left to enroll