Solved

Excel: Change current formula to count and average

Posted on 2011-02-18
3
274 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

747 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

13 Experts available now in Live!

Get 1:1 Help Now