#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Nested Function

Hi, I am trying complete a project where I need to use nested functions. The
scenario is I have 4 amounts that are grades. The lowest grade is dropped,
and the remaining 3 are averaged to give the grade. I have to use the SUM,
MIN and COUNT function within the same cell address to get the answer.
Here is where I'm stuck...
=SUM(B4:E4)-MIN(B4:E4)
I'm not sure how to use the COUNT function to give me a 3 since all 4 cells
will have amounts? Plus how will I get the above to give me an average? ANy
help appreciated so I can sleep. :-)
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 55
Default Nested Function

---look like this ?
The lowest grade is dropped,
and the remaining 3 are averaged to give the grade.

average grade=(SUM(B4:E4)-MIN(B4:E4))/3

same with me, need more sleep....

"mrfrenchy" wrote:

Hi, I am trying complete a project where I need to use nested functions. The
scenario is I have 4 amounts that are grades. The lowest grade is dropped,
and the remaining 3 are averaged to give the grade. I have to use the SUM,
MIN and COUNT function within the same cell address to get the answer.
Here is where I'm stuck...
=SUM(B4:E4)-MIN(B4:E4)
I'm not sure how to use the COUNT function to give me a 3 since all 4 cells
will have amounts? Plus how will I get the above to give me an average? ANy
help appreciated so I can sleep. :-)

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,688
Default Nested Function

I've seen this exact same question before. This must stump some students!

I'm not sure how to use the COUNT function to give me a 3 since all 4
cells
will have amounts?


Well, think about it. You have 4 numbers but you want to exclude the
minimum. So, if COUNT(B4:E4) = 4 then you need to subtact 1 for the minimum.

The answer that's expected:

=(SUM(B4:E4)-MIN(B4:E4))/(COUNT(B4:E4)-1)

Now, here's how you would do this in the real world:

=AVERAGE(SMALL(B4:E4,{2,3,4}))

However, you'd be assuming that there are in fact 4 numbers in the range. If
you want to be really robust about it:

=IF(COUNT(B4:E4)=0,0,IF(COUNT(B4:E4)1,(SUM(B4:E4)-MIN(B4:E4))/(COUNT(B4:E4)-1),SUM(B4:E4)))

Biff

"mrfrenchy" wrote in message
...
Hi, I am trying complete a project where I need to use nested functions.
The
scenario is I have 4 amounts that are grades. The lowest grade is
dropped,
and the remaining 3 are averaged to give the grade. I have to use the
SUM,
MIN and COUNT function within the same cell address to get the answer.
Here is where I'm stuck...
=SUM(B4:E4)-MIN(B4:E4)
I'm not sure how to use the COUNT function to give me a 3 since all 4
cells
will have amounts? Plus how will I get the above to give me an average?
ANy
help appreciated so I can sleep. :-)



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 55
Default Nested Function

in order to complete it and have an average of exactly for 3 of 4, dont leave
the cells as blank, so you have a rated grade not a blank grade....same as
our teachers did...so we can sleep...thanks..

"mrfrenchy" wrote:

Hi, I am trying complete a project where I need to use nested functions. The
scenario is I have 4 amounts that are grades. The lowest grade is dropped,
and the remaining 3 are averaged to give the grade. I have to use the SUM,
MIN and COUNT function within the same cell address to get the answer.
Here is where I'm stuck...
=SUM(B4:E4)-MIN(B4:E4)
I'm not sure how to use the COUNT function to give me a 3 since all 4 cells
will have amounts? Plus how will I get the above to give me an average? ANy
help appreciated so I can sleep. :-)

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 55
Default Nested Function

thanks bifff. must be in a real world...no blanks...got ot go....

"Biff" wrote:

I've seen this exact same question before. This must stump some students!

I'm not sure how to use the COUNT function to give me a 3 since all 4
cells
will have amounts?


Well, think about it. You have 4 numbers but you want to exclude the
minimum. So, if COUNT(B4:E4) = 4 then you need to subtact 1 for the minimum.

The answer that's expected:

=(SUM(B4:E4)-MIN(B4:E4))/(COUNT(B4:E4)-1)

Now, here's how you would do this in the real world:

=AVERAGE(SMALL(B4:E4,{2,3,4}))

However, you'd be assuming that there are in fact 4 numbers in the range. If
you want to be really robust about it:

=IF(COUNT(B4:E4)=0,0,IF(COUNT(B4:E4)1,(SUM(B4:E4)-MIN(B4:E4))/(COUNT(B4:E4)-1),SUM(B4:E4)))

Biff

"mrfrenchy" wrote in message
...
Hi, I am trying complete a project where I need to use nested functions.
The
scenario is I have 4 amounts that are grades. The lowest grade is
dropped,
and the remaining 3 are averaged to give the grade. I have to use the
SUM,
MIN and COUNT function within the same cell address to get the answer.
Here is where I'm stuck...
=SUM(B4:E4)-MIN(B4:E4)
I'm not sure how to use the COUNT function to give me a 3 since all 4
cells
will have amounts? Plus how will I get the above to give me an average?
ANy
help appreciated so I can sleep. :-)






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Nested Function

amazing! I couldn't get the /COUNT function to work for me. Thanks, here
comes the Ace in the class. Cheers to you guys! Nighty Night!

"4pinoy" wrote:

in order to complete it and have an average of exactly for 3 of 4, dont leave
the cells as blank, so you have a rated grade not a blank grade....same as
our teachers did...so we can sleep...thanks..

"mrfrenchy" wrote:

Hi, I am trying complete a project where I need to use nested functions. The
scenario is I have 4 amounts that are grades. The lowest grade is dropped,
and the remaining 3 are averaged to give the grade. I have to use the SUM,
MIN and COUNT function within the same cell address to get the answer.
Here is where I'm stuck...
=SUM(B4:E4)-MIN(B4:E4)
I'm not sure how to use the COUNT function to give me a 3 since all 4 cells
will have amounts? Plus how will I get the above to give me an average? ANy
help appreciated so I can sleep. :-)

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Nested Function

Hi,

How about =(SUM(B4:E4)-MIN(B4:E4))/count(b4:e4)-1

Is this waht you need?
Mondo


"mrfrenchy" je napisal:

Hi, I am trying complete a project where I need to use nested functions. The
scenario is I have 4 amounts that are grades. The lowest grade is dropped,
and the remaining 3 are averaged to give the grade. I have to use the SUM,
MIN and COUNT function within the same cell address to get the answer.
Here is where I'm stuck...
=SUM(B4:E4)-MIN(B4:E4)
I'm not sure how to use the COUNT function to give me a 3 since all 4 cells
will have amounts? Plus how will I get the above to give me an average? ANy
help appreciated so I can sleep. :-)

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 55
Default Nested Function

after some sleep it look like this ?
The lowest grade is dropped,
and the remaining 3 are averaged to give the grade.
Formula condition to filled in amounts on 4 cells.
If one cell is blank means no amount....means grades incomplete and not
satisfied the averaging criteria...
HENCE : average grade
=IF(OR(B4="",C4="",D4="",E4=""), "INCOMPLETE GRADE NOT
VERIFIED",(SUM(B4:E4)-MIN(B4:E4))/3)

for visual effects on B4
click formatconditional formattingformula
tYpe in ) =B4=""
Click format Patterns click gray color
Copypaste from B4 to E4
gray means no amount or value

Note : A "0" typed in any cell means an amount.....

hope u dont need a bunch of nesting formula....


"mrfrenchy" wrote:

Hi, I am trying complete a project where I need to use nested functions. The
scenario is I have 4 amounts that are grades. The lowest grade is dropped,
and the remaining 3 are averaged to give the grade. I have to use the SUM,
MIN and COUNT function within the same cell address to get the answer.
Here is where I'm stuck...
=SUM(B4:E4)-MIN(B4:E4)
I'm not sure how to use the COUNT function to give me a 3 since all 4 cells
will have amounts? Plus how will I get the above to give me an average? ANy
help appreciated so I can sleep. :-)

  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Nested Function

zzzzzzzz??????

"mrfrenchy" wrote:

Hi, I am trying complete a project where I need to use nested functions. The
scenario is I have 4 amounts that are grades. The lowest grade is dropped,
and the remaining 3 are averaged to give the grade. I have to use the SUM,
MIN and COUNT function within the same cell address to get the answer.
Here is where I'm stuck...
=SUM(B4:E4)-MIN(B4:E4)
I'm not sure how to use the COUNT function to give me a 3 since all 4 cells
will have amounts? Plus how will I get the above to give me an average? ANy
help appreciated so I can sleep. :-)

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
Nested IF function melissat Excel Worksheet Functions 5 October 18th 06 11:40 AM
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Nested "If" Function Ms. P. Excel Worksheet Functions 8 August 19th 05 07:31 PM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
Countif Function -Nested Angi Excel Discussion (Misc queries) 7 May 4th 05 07:04 PM


All times are GMT +1. The time now is 01:22 PM.

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

About Us

"It's about Microsoft Excel"