#1   Report Post  
Posted to microsoft.public.excel.misc
UB UB is offline
external usenet poster
 
Posts: 120
Default Calculating Average

Hi I have date arranges in cells as

Cell# Column A Column B
1 Name1 10
2 20
3 SUM( 30)
4 Name 2 20
5 50
6 SUM(70)
7 <Blank
8 Name 3 20
9 SUM(20)

I have name of employee in Column A and there total marks in Column B in
Cell - SUM
What I want to do is to calculate the average for only those employees whose
name is enetered in Column, the average is calculated for the column B of
cells SUM.

Please advise
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default Calculating Average

How about something like:

=SUMIF(A1:A9,"""",B1:B9) / COUNTIF(A1:A9,"""")

"ub" wrote:

Hi I have date arranges in cells as

Cell# Column A Column B
1 Name1 10
2 20
3 SUM( 30)
4 Name 2 20
5 50
6 SUM(70)
7 <Blank
8 Name 3 20
9 SUM(20)

I have name of employee in Column A and there total marks in Column B in
Cell - SUM
What I want to do is to calculate the average for only those employees whose
name is enetered in Column, the average is calculated for the column B of
cells SUM.

Please advise

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default Calculating Average

Not sure I interpreted your needs correctly. Is the result you're expecting
16.667 or is it 40?

If you're looking for a result of 40, you're going to be better off putting
an indicator in column A like "Total" or other phrase that a formula can key
off of to do the counting of entries and identifying what to add and divide
by.

"ub" wrote:

Hi I have date arranges in cells as

Cell# Column A Column B
1 Name1 10
2 20
3 SUM( 30)
4 Name 2 20
5 50
6 SUM(70)
7 <Blank
8 Name 3 20
9 SUM(20)

I have name of employee in Column A and there total marks in Column B in
Cell - SUM
What I want to do is to calculate the average for only those employees whose
name is enetered in Column, the average is calculated for the column B of
cells SUM.

Please advise

Reply
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
Calculating Average Graham Excel Worksheet Functions 1 July 2nd 08 04:40 PM
Calculating the average Andy_Trow Excel Discussion (Misc queries) 3 July 27th 07 02:15 PM
calculating moving average odey1234 Excel Worksheet Functions 2 March 29th 05 02:06 PM
Calculating a Temporary Average Gail Gurman Excel Discussion (Misc queries) 4 January 25th 05 06:32 PM
Calculating a Temporary Average Gail Gurman Excel Discussion (Misc queries) 0 January 24th 05 08:06 PM


All times are GMT +1. The time now is 08:59 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"