Am just starting out with Excel, and am enjoying it immensely. I've been able to work through a lot of simple formulas, but am stuck on one that seems like it should be really easy.
I'm trying to get an "average difference" in a group of ascending numbers. Example:
150
220
265 Average Difference is ------
56.5
312
376
I also want to be able to add values to the end of the group, and have the "average difference" update as new entries are added.
I've checked all of Excel's help menu's and a number of websites to see if there was a function that would work for my problem, and I can't find any "cookiecutter" solutions. Your suggestion would work if I were comparing differences between two separate lists. Basically, the formula I'm looking for would be something like this:
(Final Entry minus First Entry) divided by (Total Number of Entries minus 1) = Average Difference, or to use my example in the original question -------
(376-150) / (5-1) = 56.5
I just don't know how to write the formula to make it work!
Assuming the values are in column A, the formula picks out the maximum value from the list, subtracts the minimum value, then divides the result by the number of values minus 1.
Perfect! This is EXACTLY what I was looking for. I said that I was new to Excel, but I also knew that it would be a fairly simple formula. I worked it out myself, but I had to add an additional column of values to make it work.
Thanks again, and welcome to the Forum. :smileyvery-happy::smileyvery-happy::smileyvery-happy:
RoHe
12 Elder
•
45230 Posts
•
172625 Points
347
0
Posted August 18th, 2006 23:00
http://www.exceltip.com/st/Calculating_the_Average_Difference_between_List_Price_and_Sale_Price_%09/795.html
Hint: click on spreadsheet on this page which is the link to an expanded sheet showing all the details.
Ron