Solved

Microsoft Excel

Posted on 2013-06-12
2
119 Views
Last Modified: 2013-07-19
I have a need to create a template worksheet for use of calculating the average rating of some KPIs. On the template, I have created a formula which restricts the calculation to just a particular number. This number could increase depending on the department using the template. E.g., if I have say 4 different ratings on the template, the calculation will be based on those 4 ratings i.e =(4+4+4+4)/4.

What I would love to have on the template is the flexibility to increase the number of rows so that other indicators can be added to it which would then be used for the average calculation. E.g. though the template has just 4 rows, and calculation is based on those four rows, i want someone to be able to increase the number of rows to say 8 and then the average rating would automatically be calculated based on the 8 ratings.

The worksheet template is protected and formula is hidden so individuals can't make the changes themselves. That's why I'm wondering if there's anyway to make the template flexible.

Find attached a sample file.

Thanks!
PP.xlsx
0
Comment
Question by:lynanee
2 Comments
 
LVL 92

Accepted Solution

by:
Patrick Matthews earned 500 total points
Comment Utility
Have you tried using the AVERAGE() function?  It will average the numeric values in the indicated range, and ignore blanks and non-numbers (but will include zeroes).
0
 

Author Comment

by:lynanee
Comment Utility
Hi, thanks for this information. It works. But I have another challenge. There are different KPAs to be calculated and their averages are all on the same column. if extra rows are added above the row that the average function ends, how will the calculation be done?
Attached is a file that explains.
Thanks
PP.xlsx
PP.xlsx
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

A2 = A1 That kind of cell reference is relative.  If you copy it from A2 to B2, then B2 will get this: B2 = B1 That's all fine and good, but if you then insert a new row above row 2, you'll find: A3 = A1 B3 = B1 This is intentional. …
Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now