How to exclude 0 from MIN formula Excel

Dario picture Dario · May 16, 2013 · Viewed 100.9k times · Source

i need to know how can i exclude 0 from rows and get the MIN Value.

But also i need to exlude the F1 Cell.

Ex:

A  B  C    D  E   F
1  0  18  20  0  150  = 18

but if i do this In excel with =MIN(A1,B1,C1,D1,E1) return 0.

Any help is appreciated.

Answer

Chief Wiggum picture Chief Wiggum · May 16, 2013

Enter the following into the result cell and then press Ctrl & Shift while pushing ENTER:

=MIN(If(A1:E1>0,A1:E1))