In Excel, I have the following formula =(MIN(H69,H52,H35,H18)*(1/H18))*10
that is supposed to return the MIN
of a range, and divide it by the current cell (*(1/H18) ), then multiply by 10.
I am having difficulty with adding a type of NULLIF statement. I want to be able to have (the possibility for) blank rows, and have the MIN function ignore zero/blank fields while selecting the next lowest value (all are between 1.0-0.1).
Is there a modifier i can apply to the MIN function to make it not compare zeroes in the MIN set? Is there a better function than MIN
to use?
Here is the arrangement:
MIN
's set goesH69,H52,H35,H18
using commas is that these are embedded, individual cells that are arranged for visual presentation as well. Using a range, or colon/semi-colon operators don't appear to work for this purpose (see pic).If an argument is supplied to the function as a reference to a cell, or an array of cells, the MIN function will ignore blank cells and text or logical values contained within the supplied cell range.
You can use an array formula:
=MIN(IF(A1:A100>0,A1:A100))
You will need to hit ctrl+shift+enter to activate this formula.
You could use
=SMALL(A1:A3,COUNTIF(A1:A3,0)+1)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With