![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Location: dallas tx
Posts: 13
|
i have a column of numbers aht (average handle time) in seconds, and it is listed per
days of the week... for each of my agents, is there a formula to tkae the average and leave out the zero, if someone is absent.. 412 300 356 435 0 =#div/0!.. i want to be able to use one formula and get the average no matter if a zero is present or not.. is it possible..?? |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Portland, OR USA
Posts: 1,374
|
Can you provide a bit more detail, including the formula you use to calculate your average? If there are other numbers you use in your formula, please include them also.
Thank you. |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Mar 2002
Posts: 363
|
Try this:
=SUM(range)/COUNTIF(range,">0")
__________________
It's never too late to learn something new. Ricky |
|
|
|
|
|
#4 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
Aladin A personal note: I take it IML will notice this. |
|
|
|
|
|
|
#5 |
|
New Member
Join Date: Apr 2002
Location: dallas tx
Posts: 13
|
=SUM(H72,H149,H222,H294,H330)/MAX(1,COUNT(H72,H149,H222,H294,H330)-COUNTIF(H72,H149,H222,H294,H330,0))
is this right????? |
|
|
|
|
|
#6 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
{=AVERAGE(IF(range,range))}
where "range" is a cell range Note: This is an array formula which must be entered using the Control+Shift+Enter key combination. The outermost braces, { }, are not entered by you -- they're supplied by Excel in recognition of a properly entered array formula. |
|
|
|
|
|
#7 |
|
New Member
Join Date: Apr 2002
Location: dallas tx
Posts: 13
|
ok i am confused now...
i am not to familiar with big formulas as you can tell... |
|
|
|
|
|
#8 |
|
New Member
Join Date: Apr 2002
Location: dallas tx
Posts: 13
|
S.O.S?
help?? = ) |
|
|
|
|
|
#9 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
What's this...
H72,H149,H222,H294,H330 Aren't your numbers contiguous? |
|
|
|
|
|
#10 |
|
New Member
Join Date: Apr 2002
Location: dallas tx
Posts: 13
|
nope... those are my cells, that i want to get the average of... but one has a value of 0 (zero) so the average is wrong...
values 412,300,356,435 and 0.... i would like to find one formula that i would like to use on 30 different agents... with out going back and editing each forumla! [ This Message was edited by: Escher on 2002-04-09 12:16 ] |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|