Solved

Excel: Change current formula to count and average

Posted on 2011-02-18
3
279 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
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 demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

752 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