ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   remove zero from min formula (https://www.excelbanter.com/excel-discussion-misc-queries/234366-remove-zero-min-formula.html)

Frenz

remove zero from min formula
 
I've done the below formula but would like to omit zeros. How should i
proceed from here...?
=MIN((IF(S3=0,K3,0)),(IF(AG3=0,Y3,0)),(IF(AU3=0,AM 3,0)),(IF(BI3=0,BA3,0)),(IF(BW3=0,BO3,0)),(IF(CK3= 0,CC3,0)))

JLatham

remove zero from min formula
 
Change all of your IF(CR=0 (wher CR is a column/row cell ID as S3, AG3, etc)
to
IF(CR<0 [which will account for negative and positive non-zero values] or
IF(CR0 [which would only examine positive non-zero values]

At least I think that's what you want.

"Frenz" wrote:

I've done the below formula but would like to omit zeros. How should i
proceed from here...?
=MIN((IF(S3=0,K3,0)),(IF(AG3=0,Y3,0)),(IF(AU3=0,AM 3,0)),(IF(BI3=0,BA3,0)),(IF(BW3=0,BO3,0)),(IF(CK3= 0,CC3,0)))



All times are GMT +1. The time now is 12:40 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com