Solved

Excel: Change current formula to count and average

Posted on 2011-02-18
3
278 Views
Last Modified: 2012-05-11
Experts:

I have a formulas that I need to have modifies into a "count" and one formula for an "Average". This is the current formula below

=OFFSET('Executive Rollup Data'!BP60,0,MATCH(TODAY(),'Executive Rollup Data'!BP60:$DT60)-2,1,1)


Thoughts?

Thanks experts!
0
Comment
Question by:Maliki Hassani
  • 2
3 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
ID: 34930131
Hello LANCE,

that formula simply defines a range, it doesn't do anything with it....

If you want to AVERAGE the values in the range you can enclose it in an AVERAGE function, i..e

=AVERAGE(OFFSET('Executive Rollup Data'!BP60,0,MATCH(TODAY(),'Executive Rollup Data'!BP60:$DT60)-2,1,1))

and you can do the same with COUNT, i.e.

=COUNT(OFFSET('Executive Rollup Data'!BP60,0,MATCH(TODAY(),'Executive Rollup Data'!BP60:$DT60)-2,1,1))

COUNT just counts numbers, if you want to count any entries (numeric or text) switch to COUNTA

regards, barry
0
 
LVL 50

Expert Comment

by:barry houdini
ID: 34930148
.....actually, I'm talking rubbish (wouldn't be the first time)

The OFFSET function is only giving you a single value so it won't make much sense to AVERAGE or COUNT that, can you explain what you want to do in a little more detail

regards, barry
0
 

Author Comment

by:Maliki Hassani
ID: 34930223
Your first anser helped thanks!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
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…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

735 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