Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 92
Default 2nd lowest Value in Array

I need to return the 2nd lowest value in a contiguous number array but I want
to exclude zero values, how can I write this formula?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default 2nd lowest Value in Array

One way

=SMALL(IF(A1:A10<0,A1:A10),2)

needs to be entered with ctrl + shift & enter


--
Regards,

Peo Sjoblom


"Dale" wrote in message
...
I need to return the 2nd lowest value in a contiguous number array but I
want
to exclude zero values, how can I write this formula?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default 2nd lowest Value in Array

"Peo Sjoblom" wrote...
One way

=SMALL(IF(A1:A10<0,A1:A10),2)

needs to be entered with ctrl + shift & enter


Standard quibble: condition should be 0. If negative and positive
values are 'valid', zero values should be as well.

Anyway, this could be done without array formulas using

=SMALL(A1:A10,COUNTIF(A1:A10,"<=0")+2)

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
How do I sum the lowest n numbers in an array with n variable? remahte Excel Discussion (Misc queries) 1 March 29th 07 01:23 AM
2nd lowest number in an array Greg Excel Worksheet Functions 6 May 24th 06 07:47 PM
Average of an array of entries, minus the lowest entry ingersollg Excel Worksheet Functions 8 May 26th 05 04:05 PM
Range vs. lowest #, 2nd lowest #, 3rd lowest #, etc jwebb Excel Discussion (Misc queries) 2 March 9th 05 12:38 PM
How can I get the lowest price, second lowest etc. from a range o. Robin Excel Worksheet Functions 2 November 9th 04 12:23 PM


All times are GMT +1. The time now is 02:42 AM.

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"