Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default average without min qty

The below formula will exclude 0's and the minimum value and then return an
average. Please note that this is an array formula. You create array formulas
in the same way that you create other formulas, except you press
CTRL+SHIFT+ENTER to enter the formula. If successful in 'Formula Bar' you can
notice the curly braces at both ends like "{=<formula}"

=AVERAGE(IF(('05'!$B$2:$B$209=$A3)*('05'!$E$2:$E$2 09
MIN(IF(('05'!$B$2:$B$209=$A3)*('05'!$E$2:$E$2090) ,'05'!$E$2:$E$209))
),'05'!$E$2:$E$209))

If this post helps click Yes
---------------
Jacob Skaria


"Looping through" wrote:

Does any know how to exclude the min price in a list of numbers I am using a
sumproduct that works, but I want to exclude the mins to returns a slightly
higher price.

Can someone help?

=SUMPRODUCT(--('05'!$B$2:$B$209=$A3),--('05'!$E$2:$E$2090),('05'!$E$2:$E$209))/SUMPRODUCT(--('05'!$B$2:$B$209=$A3),--('05'!$E$2:$E$2090))

Thanks
Peter

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
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
Find monthly average but have average automatically configured kimbafred Excel Discussion (Misc queries) 2 August 8th 07 12:28 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
Weighed Average of a weiged average when there are blanks krl - ExcelForums.com Excel Discussion (Misc queries) 1 July 6th 05 07:37 PM
how does one convert text to a formula "average(A:A)" to =average( phshirk Excel Worksheet Functions 4 April 14th 05 01:20 AM


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