Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Lowest number above 0

If I have a list of numbers in colum "A".

A1: 10
A2: 20
A3: 00
A4: 15
A5: 50
A6: 25
I can get my answer by using this formula
=SMALL(A1:A5,COUNTIF(A1:A5,0)+1)

However, if I want the smallest number between certain cells like A1, A3, A4
which would give me an answer of 10, is that posible??

Thanks in advance

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Lowest number above 0

There is a trick to using SMALL with disjoint ranges.

Define a Named Range, say "sampl", of A1, A3, A4.
If there is at most one zero in the range, then:

=IF(SMALL(sampl,1)=0,SMALL(sampl,2),SMALL(sampl,1) )

will return the minimum not including that zero.
--
Gary''s Student - gsnu200718


"Abnerz" wrote:

If I have a list of numbers in colum "A".

A1: 10
A2: 20
A3: 00
A4: 15
A5: 50
A6: 25
I can get my answer by using this formula
=SMALL(A1:A5,COUNTIF(A1:A5,0)+1)

However, if I want the smallest number between certain cells like A1, A3, A4
which would give me an answer of 10, is that posible??

Thanks in advance

  #3   Report Post  
Posted to microsoft.public.excel.misc
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default Lowest number above 0

You could try:
=SMALL((A1,A3,A4,A5,A7),INDEX(FREQUENCY((A1,A3,A4, A5,A7),0),1)+1)


"Abnerz" wrote:

If I have a list of numbers in colum "A".

A1: 10
A2: 20
A3: 00
A4: 15
A5: 50
A6: 25
I can get my answer by using this formula
=SMALL(A1:A5,COUNTIF(A1:A5,0)+1)

However, if I want the smallest number between certain cells like A1, A3, A4
which would give me an answer of 10, is that posible??

Thanks in advance

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Lowest number above 0

Thank you both, wither way gave me the answer that I needed.

Regards

"JMB" wrote:

You could try:
=SMALL((A1,A3,A4,A5,A7),INDEX(FREQUENCY((A1,A3,A4, A5,A7),0),1)+1)


"Abnerz" wrote:

If I have a list of numbers in colum "A".

A1: 10
A2: 20
A3: 00
A4: 15
A5: 50
A6: 25
I can get my answer by using this formula
=SMALL(A1:A5,COUNTIF(A1:A5,0)+1)

However, if I want the smallest number between certain cells like A1, A3, A4
which would give me an answer of 10, is that posible??

Thanks in advance

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
Lowest number The Countryman Excel Worksheet Functions 5 January 5th 07 01:08 AM
lowest number in a set EXCLUDING zero Bad Kitty Excel Worksheet Functions 2 November 3rd 06 10:34 PM
find the lowest value in a row and add a number to it Kim Excel Worksheet Functions 4 September 28th 05 05:27 PM
lowest number above 0 One-Leg Excel Discussion (Misc queries) 9 May 27th 05 09:24 AM
how to subtract the very next LOWEST number maxkofe New Users to Excel 2 December 5th 04 06:06 PM


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