LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
Roseland
 
Posts: n/a
Default Excel needs an AVERAGEIF function similar to SUMIF. Please!

Excel 2003 SP2

I'm trying to take a numerical average of a selection of cells, defined by
the value of another column of the row the data is in.

Here's an example:

group score
a 6
b 4
b
a 6
c
b 8
c 6

total 6
count 2
avg 3

I want to know what the average for all scores in group "c". I can add them
all up using SUMIF, and I can count the number of "c"s using COUNTIF, but if
I have a blank cell (as in the example above) the average is incorrect. How
can I find the average for all "c"s where there is data in the adjacent cell?
(thus making the average in the above example 6!)

Many thanks.


----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...lic.excel.misc
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
TRYING TO SET UP EXCEL SPREADSHEET ON MY COMPUTER MEGTOM New Users to Excel 5 October 27th 05 03:06 AM
How do I use the TODAY function with the SUMIF function? Lisa B. Excel Worksheet Functions 2 September 30th 05 08:51 PM
SUMIF excel function not working AMXAH Excel Worksheet Functions 2 September 9th 05 11:21 PM
SumIF function ACDenver Excel Discussion (Misc queries) 2 August 17th 05 09:47 PM
SUMIF function yak10 Excel Worksheet Functions 0 February 12th 05 05:12 PM


All times are GMT +1. The time now is 06:35 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"