Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default Eliminating 0 values when using the Small formula

Good morning:

I have a range of numbers that contain the value 0...

For instance assume each number is in a cell: 0,100,0,800,200,0,150,80

How could I write the SMALL formula to have 80 as the smallest value instead
of 0?

Thanks


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Eliminating 0 values when using the Small formula

Based on your sample with all values being positive:

=SMALL(A1:A8,COUNTIF(A1:A8,0)+1)

Or, array entered using the key combination of CTRL,SHIFT,ENTER (not just
ENTER):

=MIN(IF(A1:A80,A1:A8))

Biff

"MIchel Khennafi" wrote in message
...
Good morning:

I have a range of numbers that contain the value 0...

For instance assume each number is in a cell: 0,100,0,800,200,0,150,80

How could I write the SMALL formula to have 80 as the smallest value
instead of 0?

Thanks



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
Return Matched Numeric Values across Rows Sam via OfficeKB.com Excel Worksheet Functions 2 January 2nd 07 11:03 PM
automate replace values in formula galiant Excel Discussion (Misc queries) 2 July 9th 06 03:40 PM
Lookup Data in two seperate Spreadsheets Padraig Excel Worksheet Functions 6 June 28th 06 03:05 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


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