Finding the Minimum number greater then zero in a table

qawhaq

New Member
Joined
Nov 17, 2002
Messages
15
Is there a quick formula that will allow the minimum number greater the zero ina tabel to be found? MIN() returns zero if there are any in the table. I cannont change the table as doing so will alter other calculations on other tabs of the sheet any ideas?
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Here is another NON-ARRAY formula that will work:

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

Note, however, that this formula will return the #NUM! error if all values in A1:A10 are less than or equal to 0. The array formula listed above will return 0 as the answer . . .

--Tom
 
Upvote 0
Scott R said:
Mark W. said:
Or, simply...

{=MIN(IF(A1:A10,A1:A10))}

This will return negative values.
qawhaq wants positive values only.


Hmmm... you may have a point; however, qawhaq's concern was that he was returning zero which suggested to me that there weren't any negative values in his domain. If there are negative values, then my formula (as you correctly pointed out) won't do the job!
 
Upvote 0
I am trying to run this formula: {=MIN(IF(B:B>0,B:B))} off of a column that is formula driven. The formula returns 0. Is there another MIN(IF( formula that will work for a column that is formula driven?
 
Upvote 0

Forum statistics

Threads
1,223,374
Messages
6,171,699
Members
452,418
Latest member
kennettz

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top