Help with VLOOkUP MIN Conditional Formatting

Copper Contributor

30 rows of data. Column A = Names Column B = Yes, No, or N/A Column C = Number (Accounting format). What I'm trying to Achieve:  If Column B = Yes OR N/A; then in Column C, identify the Lowest Number (excluding zero), and bold,  underline the lowest number AND highlighted the cell with a color (e.g. yellow). I need help building this formula. 

4 Replies

so you can highlight column C and go into Conditional Formatting and select 'Based on custom formula' and then use a formula like:

=C1=LET(a, FILTER(C:C,(B:B="Yes")+(B:B="N/A"),0), MINIFS(a,a,"<>0"))

then set the formatting based on what you want (underline, bold, yellow...)
HOWEVER if this sheet is large or gets large this may result in very poor performance. I would recommend adding a cell or Named item that calculates that min value
i.e. the LET(a, FILTER(C:C,(B:B="Yes")+(B:B="N/A"),0), MINIFS(a,a,"<>0"))
and then just refer to that in the conditional formatting.  For example if you put the above in cell Z1 then the formula in conditional formatting would be:

best response confirmed by Darlene1270 (Copper Contributor)



With e.g. Excel 2013 you can try this rule for conditional formatting.

conditional format.JPG

Thank you! @mtarler 

Thank you! this worked perfectly!