Conditional formatting - highlighting min amount

Joined
Dec 8, 2017
Messages
16
Hi,

I'm after some help please.

I have 4 columns with amounts and #N/A in them and a column next to in showing the Min. I want to highlight the Min amount from those 4 columns.


Column K to N is where I want to highlight the Min --- column O is the Min


=K2:N2=MIN(IF(ISERROR($K$2:$N$2),0,$K$2:$N$2))

This formula isn't highlighting all the rows ?
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Try this...

Select cell K2 and add your conditional formatting

=K2=MIN(IF(ISERROR($K2:$N2),0,$K2:$N2))

Applies to:
=$K$2:$N$2

This should apply the conditional formatting to each cell in that row.

If you want to apply it to multiple rows, change the "Applies to" selection.

At the moment, you have the min set up to specifically only look at row 2, rather than relevant row.
 
Upvote 0
amount1amount2amount3amount4min
945649456
56292helper table >>>>>>>>>>>>>>>>>>>5629
6#N/A4#N/A461E+0841E+08
-3-7-8-1-8-3-7-8-1
6595651E+089
545445454
cond format formula in A2
=A2=$E2painted across and down
E2 is picking up the min of the helper table
which deals with both #n/a and blank cells
note thr last row with two 4's
all the mimimums have been highlighted correctly

<colgroup><col span="12"><col><col><col><col span="3"></colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,461
Messages
6,124,954
Members
449,198
Latest member
MhammadishaqKhan

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top