LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 661
Default Average exluding max and min values

I have a column of values that represent job completion times (i.e. 8:45,
9:26, etc). I am trying to calculate the average completion time excluding
the best and worst times (max and min values). Not sure now where I got this
original formula but it works:

=AVERAGE(IF(C3:C26<MAX(C3:C26),IF(C3:C26<MIN(C3: C26),IF(C3:C26<"",C3:C26,""))))

The problem seems to be in how the formula gets captured in the cell. I can
see that for those cells where it returns a valid value, when I click on the
cell (but am not editing yet), the formula bar shows the formula bounded by
braces { }. When you edit, they are not visible.

For those cells where I do not see the braces, the formula returns #VALUE!.
However, even in these instances, if you edit the cell and use the formula
button (fx), the dialogue box returns the correct final result.

Is the
(a) some special way to enter the braces (if I type in the { } myself it
makes the cell text and doesn't evaluate the formula)?
(b) a better formula?

Thanks.
 
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
A formula to AVERAGE IF but only average a set number of values [email protected] Excel Worksheet Functions 2 January 31st 08 08:28 PM
exluding missing data values from equation tam25 Excel Worksheet Functions 4 January 29th 07 10:08 AM
average values in non-contiguous cells, ignoring 0 values RWormdahl Excel Worksheet Functions 3 October 30th 06 01:06 AM
SUMIF exluding text Father Excel Worksheet Functions 10 December 29th 05 12:34 AM
Error Handling #N/A with AVERAGE Function - Average of values in Row Sam via OfficeKB.com Excel Worksheet Functions 13 July 31st 05 03:59 PM


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