Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Pick the low number in a column of Numbers

I have a column of numbers that are the results from formulas. in the absence
of enter values, the results column (say D) show several zeros.

I use =min(d1:d16) placed in column E to return the lowest value in the
colunm D which is ussually zero.

What I want to do is ignore the zeros and pick the lowest numer that is not 0.

=IF(e12<=0,e12,SMALL(d5:d12,2)) works for a column of negative numbers,
because they are all less than zero.

I can't seem to get the formula right For Positive integers.

Help please
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default Pick the low number in a column of Numbers

suppose u have values in range d5:d12 ...

Try this =SMALL(D5:D12,COUNTIF(D5:D12,0)+1)


On May 29, 9:59*pm, boxarox wrote:
I have a column of numbers that are the results from formulas. in the absence
of enter values, the results column (say D) show several zeros.

I use =min(d1:d16) placed in column E to return the lowest value in the
colunm D which is ussually zero.

What I want to do is ignore the zeros and pick the lowest numer that is not 0.

=IF(e12<=0,e12,SMALL(d5:d12,2)) works for a column of negative numbers,
because they are all less than zero.

I can't seem to get the formula right For Positive integers.

*Help please


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Pick the low number in a column of Numbers

Thanks for the speedy reply. Your formula works nicely

"muddan madhu" wrote:

suppose u have values in range d5:d12 ...

Try this =SMALL(D5:D12,COUNTIF(D5:D12,0)+1)


On May 29, 9:59 pm, boxarox wrote:
I have a column of numbers that are the results from formulas. in the absence
of enter values, the results column (say D) show several zeros.

I use =min(d1:d16) placed in column E to return the lowest value in the
colunm D which is ussually zero.

What I want to do is ignore the zeros and pick the lowest numer that is not 0.

=IF(e12<=0,e12,SMALL(d5:d12,2)) works for a column of negative numbers,
because they are all less than zero.

I can't seem to get the formula right For Positive integers.

Help please



  #4   Report Post  
Posted to microsoft.public.excel.misc
Ken Ken is offline
external usenet poster
 
Posts: 590
Default Pick the low number in a column of Numbers

Maybe???

=IF(SMALL(D1:D16,1)=0,SMALL(D1:D16,2),MIN(D1:D16))

"boxarox" wrote:

I have a column of numbers that are the results from formulas. in the absence
of enter values, the results column (say D) show several zeros.

I use =min(d1:d16) placed in column E to return the lowest value in the
colunm D which is ussually zero.

What I want to do is ignore the zeros and pick the lowest numer that is not 0.

=IF(e12<=0,e12,SMALL(d5:d12,2)) works for a column of negative numbers,
because they are all less than zero.

I can't seem to get the formula right For Positive integers.

Help please

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
randomly pick a number from a set of predetermined numbers Ram Excel Discussion (Misc queries) 6 September 11th 07 09:49 PM
How do I pick the only number in a column and copy it to another? Mawaller Excel Discussion (Misc queries) 3 June 21st 07 12:41 AM
How do I pick the only number in a column and copy it to another? JMay Excel Discussion (Misc queries) 0 June 20th 07 11:29 PM
Can Excel pick random numbers from 1-300 and not repeat numbers? Julian Excel Discussion (Misc queries) 1 June 7th 06 07:17 AM
Possible to pick out the lowest eight numbers in a row? Christian Borchgrevink-Vigeland Excel Discussion (Misc queries) 4 December 23rd 04 03:53 PM


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