Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

calculating counts and averages

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Calculating counts and averages from a selection of data only

Calculating counts and averages from a selection of data only

ResolvedVersion 2007

Jim has attended:
Excel Advanced course

Calculating counts and averages from a selection of data only

Hi,

I have a large spreadsheet of data listing weekly search engine rankings for a website for 450+ keywords.

I've already set up COUNTIFs for the number of keywords ranking in top 5, top 8 and top 10 respectively for each week: Eg. =COUNTIF(range,"<6")

I've also an average ranking per week.

However, a number of these keywords have been marked as "priority". Currently this is denoted by an X in an adjacent column (which can then be filtered).

I need to run the same COUNTIF and Average formulas again but only using these selected priority terms.

Is there a way to do both of these tasks without separating out the priority data from the rest of the database? Something like:

“IF a keyword in this range is a priority and in the Top 5 then count it?”

(For the number of top terms)

“Count all keywords in this range that are a priority and work out the average”

(For the average ranks of the priority keywords)

RE: Calculating counts and averages from a selection of data onl

Hi Jim

Thank you for your question. It looks like you might find Countifs
useful as it lets you use multiple criteria.


The syntax is similar to COUNTIF but you keep going, so:

=COUNTIFS(range1, condition1, range2, condition2,...)

All conditions must be TRUE before an item is counted.

Let me know if this works for you.

Kind regards,
Andrew

 

Training courses

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Excel tip:

Find cells that match a format

In Excel you may wish to find cells that contain a specific formatting such s colour.

Select Edit > Find, click on Options and then Format...choose the formatting that you want found and click on OK

Choose one of the Find buttons to find.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.