Min formula excluding 0

stephen.smith

Board Regular
Joined
Jul 7, 2010
Messages
119
Hi guys i am performing a min formula on a series of data but cells that have a 0 value are throwing my formula, any help??
e.g. =min(D3:D100) this is the formula i am using
however i dont want to include any cells with values that have a 0.
Thanks again
 

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"
Try

=MIN(IF(D3:D300>0,D3:D300))

confirmed with CTRL + Shift + Enter, not just Enter.
 
Upvote 0
try :-

=SMALL(IF((d3:d100)>0,d3:d100),2)

confirmed with control , shift enter.thanks

Kaps
 
Upvote 0
I am also trying to do something similar but all the formulas seem to just give me the smallest number excluding zero, and not changing at all for the second smallest number, am I doing something wrong? this is what I wrote:
=SMALL(IF(('Hidden Entry'!B2:B800)>0,'Hidden Entry'!B2:B800),3)
I also tried:
=MIN(IF('Hidden Entry'!B2:B800>0,'Hidden Entry'!B2:B800))
 
Upvote 0

Forum statistics

Threads
1,215,646
Messages
6,125,999
Members
449,279
Latest member
Faraz5023

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