Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to exclude 0 from MIN formula Excel

Tags:

excel

min

formula

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.

like image 299
Dario Avatar asked May 15 '13 22:05

Dario


1 Answers

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

=MIN(If(A1:E1>0,A1:E1))
like image 125
Chief Wiggum Avatar answered Oct 10 '22 02:10

Chief Wiggum