A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

#DIV/0! error using Avgerage



 
 
Thread Tools Display Modes
  #1  
Old February 2nd, 2009, 05:50 PM posted to microsoft.public.excel.worksheet.functions
Naomi
external usenet poster
 
Posts: 44
Default #DIV/0! error using Avgerage

I have a formula that takes a array that includes number grades, drops the
lowest grade and averages them. If there is no data in cell yet i get a
#DIV/0! error is there a way to copy this formula to following cells without
data in them yet and not get this error. The formula Im using is:
=AVERAGE(IF(C13:E13MIN(C13:E13),C13:E13))
  #2  
Old February 2nd, 2009, 06:05 PM posted to microsoft.public.excel.worksheet.functions
JE McGimpsey
external usenet poster
 
Posts: 2,468
Default #DIV/0! error using Avgerage

One way:

=IF(COUNT(C13:E13)3,"",AVERAGE(LARGE(C13:E13,{1,2 })))


Note, with the formula you're using now, someone who got two or more of
the same low grades would have them BOTH/ALL dropped.


In article ,
Naomi wrote:

I have a formula that takes a array that includes number grades, drops the
lowest grade and averages them. If there is no data in cell yet i get a
#DIV/0! error is there a way to copy this formula to following cells without
data in them yet and not get this error. The formula Im using is:
=AVERAGE(IF(C13:E13MIN(C13:E13),C13:E13))

  #3  
Old February 2nd, 2009, 06:08 PM posted to microsoft.public.excel.worksheet.functions
Roger Govier[_3_]
external usenet poster
 
Posts: 2,297
Default #DIV/0! error using Avgerage

Hi Naomi

the formula is an array formula, so needs to be entered or amended using
Control+Shift+Enter (CSE)
When you use CSE, Excel encloses the formula within curly braces { }. Do
not type them yourself
{=AVERAGE(IF(C13:E13MIN(C13:E13),C13:E13))}

--
Regards
Roger Govier

"Naomi" wrote in message
...
I have a formula that takes a array that includes number grades, drops the
lowest grade and averages them. If there is no data in cell yet i get a
#DIV/0! error is there a way to copy this formula to following cells
without
data in them yet and not get this error. The formula Im using is:
=AVERAGE(IF(C13:E13MIN(C13:E13),C13:E13))


  #4  
Old February 2nd, 2009, 06:10 PM posted to microsoft.public.excel.worksheet.functions
Max
external usenet poster
 
Posts: 8,574
Default #DIV/0! error using Avgerage

You could trap with IF(ISERROR, indicatively like this, array-entered:
=IF(ISERROR(Average(...)),"",Average(...))
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:22,500 Files:370 Subscribers:66
xdemechanik
---
"Naomi" wrote:
I have a formula that takes a array that includes number grades, drops the
lowest grade and averages them. If there is no data in cell yet i get a
#DIV/0! error is there a way to copy this formula to following cells without
data in them yet and not get this error. The formula Im using is:
=AVERAGE(IF(C13:E13MIN(C13:E13),C13:E13))

  #5  
Old February 2nd, 2009, 06:13 PM posted to microsoft.public.excel.worksheet.functions
Roger Govier[_3_]
external usenet poster
 
Posts: 2,297
Default #DIV/0! error using Avgerage

Note, with the formula you're using now, someone who got two or more of
the same low grades would have them BOTH/ALL dropped.


Very good point, John.

--
Regards
Roger Govier

"JE McGimpsey" wrote in message
...
One way:

=IF(COUNT(C13:E13)3,"",AVERAGE(LARGE(C13:E13,{1,2 })))


Note, with the formula you're using now, someone who got two or more of
the same low grades would have them BOTH/ALL dropped.


In article ,
Naomi wrote:

I have a formula that takes a array that includes number grades, drops
the
lowest grade and averages them. If there is no data in cell yet i get a
#DIV/0! error is there a way to copy this formula to following cells
without
data in them yet and not get this error. The formula Im using is:
=AVERAGE(IF(C13:E13MIN(C13:E13),C13:E13))


  #6  
Old February 2nd, 2009, 06:13 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default #DIV/0! error using Avgerage

What if there is more than 1 instance of the minimum grade? Should each
minimum grade be excluded?

--
Biff
Microsoft Excel MVP


"Naomi" wrote in message
...
I have a formula that takes a array that includes number grades, drops the
lowest grade and averages them. If there is no data in cell yet i get a
#DIV/0! error is there a way to copy this formula to following cells
without
data in them yet and not get this error. The formula Im using is:
=AVERAGE(IF(C13:E13MIN(C13:E13),C13:E13))



  #7  
Old February 2nd, 2009, 06:26 PM posted to microsoft.public.excel.worksheet.functions
Naomi
external usenet poster
 
Posts: 44
Default #DIV/0! error using Avgerage

No even if there is a duplicate minimum number grade only one needs to be
dropped

"T. Valko" wrote:

What if there is more than 1 instance of the minimum grade? Should each
minimum grade be excluded?

--
Biff
Microsoft Excel MVP


"Naomi" wrote in message
...
I have a formula that takes a array that includes number grades, drops the
lowest grade and averages them. If there is no data in cell yet i get a
#DIV/0! error is there a way to copy this formula to following cells
without
data in them yet and not get this error. The formula Im using is:
=AVERAGE(IF(C13:E13MIN(C13:E13),C13:E13))




  #8  
Old February 2nd, 2009, 06:35 PM posted to microsoft.public.excel.worksheet.functions
Naomi
external usenet poster
 
Posts: 44
Default #DIV/0! error using Avgerage

Works Perfect...Thanks So Much!!!


"JE McGimpsey" wrote:

One way:

=IF(COUNT(C13:E13)3,"",AVERAGE(LARGE(C13:E13,{1,2 })))


Note, with the formula you're using now, someone who got two or more of
the same low grades would have them BOTH/ALL dropped.


In article ,
Naomi wrote:

I have a formula that takes a array that includes number grades, drops the
lowest grade and averages them. If there is no data in cell yet i get a
#DIV/0! error is there a way to copy this formula to following cells without
data in them yet and not get this error. The formula Im using is:
=AVERAGE(IF(C13:E13MIN(C13:E13),C13:E13))


  #9  
Old February 2nd, 2009, 06:40 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default #DIV/0! error using Avgerage

Try this:

=SUM(C13:E13,-MIN(C13:E13))/MAX(COUNT(C13:E13)-1,1)

If all the cells are empty it will return 0.

--
Biff
Microsoft Excel MVP


"Naomi" wrote in message
...
No even if there is a duplicate minimum number grade only one needs to be
dropped

"T. Valko" wrote:

What if there is more than 1 instance of the minimum grade? Should each
minimum grade be excluded?

--
Biff
Microsoft Excel MVP


"Naomi" wrote in message
...
I have a formula that takes a array that includes number grades, drops
the
lowest grade and averages them. If there is no data in cell yet i get
a
#DIV/0! error is there a way to copy this formula to following cells
without
data in them yet and not get this error. The formula Im using is:
=AVERAGE(IF(C13:E13MIN(C13:E13),C13:E13))






  #10  
Old February 3rd, 2009, 02:26 AM posted to microsoft.public.excel.worksheet.functions
Naomi
external usenet poster
 
Posts: 44
Default #DIV/0! error using Avgerage

I have one other question. The person im making this for has added columns
that might have zeros in them that will need to be included in this formula
as well. How would i modify this formula to not only include the lowest
number and zeros as well

Thanks in advance for the help


"JE McGimpsey" wrote:

One way:

=IF(COUNT(C13:E13)3,"",AVERAGE(LARGE(C13:E13,{1,2 })))


Note, with the formula you're using now, someone who got two or more of
the same low grades would have them BOTH/ALL dropped.


In article ,
Naomi wrote:

I have a formula that takes a array that includes number grades, drops the
lowest grade and averages them. If there is no data in cell yet i get a
#DIV/0! error is there a way to copy this formula to following cells without
data in them yet and not get this error. The formula Im using is:
=AVERAGE(IF(C13:E13MIN(C13:E13),C13:E13))


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:50 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.