Conditional formatting -per row- but over entire table

CaraM

New Member
Joined
Apr 8, 2018
Messages
44
Office Version
  1. 365
Platform
  1. Windows
What's the fastest/easiest way, in a table where I will be adding rows, to highlight the lowest value per row but for every row in the table?

In my table below, I want to highlight the lowest price per item - as in row 2. Do I have to use format painter and copy to each row individually, and remember to do this when I add new rows, too?

I tried changing the range for the conditional format to all the rows for columns B-F, but that highlights the lowest price in the table, not the row.

Grocery.xlsx
ABCDEFG
1ItemWalmartKrogerAldiLidlTargetNeed?
2Almond Milk2.442.452.59X
3Wasa3.634.09
4Saltines1.74
5Animal *******s
6Pita chips
7Progresso soup2.381.49
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B2:F2Cell Valuetop 1 bottom valuestextNO
 
With the changed formula there should be no need to still check for blanks. Some other possible shortenings as well.

CaraM.xlsm
ABCDEFG
1ItemWalmartKrogerAldiLidlTargetNeed?
2Almond Milk2.442.452.59X
3Wasa3.634.092.85
4Saltines1.74
5Animal *******s
6Pita chips2.23/oz2.29/oz2.23/oz
7Progresso soup2.38/pkt1.49/pkt
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B2:F7Expression=--TEXTBEFORE(B2,"/",,,1)=MIN(IFNA(--(TEXTBEFORE($B2:$F2,"/",,,1)),"x"))textNO
 
Upvote 0

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