Here's a way (there might be an easier one)...
{=MIN(IF(COLUMN(A3:Q3)={0,0,3,0,0,0,7,0,0,0,11,12,0,0,0,0,17},A3:Q3))}
Note: This is an array formula which must be
entered using the Control+Shift+Enter key
combination. The outermost braces, {}, are not
entered by you -- they're supplied by Excel in
recognition of a properly entered array formula.
Oops! Forgot to add the non-zero test! Use this...
{=MIN(IF((COLUMN(A3:Q3)={0,0,3,0,0,0,7,0,0,0,11,12,0,0,0,0,17})*A3:Q3,A3:Q3))}
Re: Oops! Forgot to add the non-zero test! Use this...
Mark --
It needs also an ISNUMBER test in case there are formulas returning "" in between columns of interest in row 3:
=MIN(IF((COLUMN(A3:Q3)={0,0,3,0,0,0,7,0,0,0,11,12,0,0,0,0,17})*ISNUMBER(A3:Q3),A3:Q3))
Aladin
Ahh! To true!!! Did I overcomplicate this thing? (nt)
Explain the logic of it to Rob will you? [NT]