LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Returning 2nd smallest value in a range

Hi Rachel,

Suppose the range of numbers is as follows in range D5:D11

1
1
0

5
6
1

In cell E5, enter the following formula
=IF(OR(COUNTIF($D$5:$D5,D5)<1,COUNTBLANK(D5)=1),1 000,1) and copy down till
E11

Now you can array enter (Ctrl+Shift+Enter) the following formula
=SMALL(IF(($E$5:$E$11=1),D5:D11),2)


--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Rachel7" wrote in message
...
I'm using the SMALL formula to return 2nd smallest value in a range of
cells. Is there a way of the formula excluding empty cells, zero value
cells
& cells with same values in?
Thanks in advance




 
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
Finding 2nd smallest number in range Rachel7 Excel Worksheet Functions 8 February 12th 09 02:33 PM
Returning the smallest value above a certain criteria Andrea K Excel Worksheet Functions 4 September 28th 08 06:48 PM
Find X number of smallest values in a range Steve Haack Excel Worksheet Functions 1 August 14th 07 05:02 AM
Formatting smallest number in a range? penglvr Excel Worksheet Functions 3 June 9th 06 05:27 PM
Getting the 2nd largest or smallest valuesin a range Michael Rekas Excel Discussion (Misc queries) 5 January 31st 05 07:48 AM


All times are GMT +1. The time now is 09:57 AM.

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"