Fill in the format according to the top line line code

Excelpromax123

Board Regular
Joined
Sep 2, 2021
Messages
167
Office Version
  1. 2010
Platform
  1. Windows
Hello forum members. I want to color in a format according to a row code representing the top row. My file codes are sorted from the largest number and together and decreasing to 0 (Example from 99 to 0 ). thank you

1670762281123.png


 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Do you mean conditional formatting like this ?

1670763460277.png


Colos.xlsx
DEFGH
1
2
3
4nox1x2x3x4
599A1123
699A2123
799A3123
898A4123
998A5123
1098A6123
1198A7123
1298A8123
1397A9123
1497A10123
1597A11123
1697A12123
1797A13123
1897A14123
1996A15123
2096A15123
2196A15123
2296A15123
2396A15123
2496A15123
2596A15123
2696A15123
2796A15123
2895A15123
2995A25123
3095A26123
3195A27123
3295A28123
3395A29123
3495A30123
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D5:H34Expression=$D5<>$D4textNO
 
Upvote 0
Solution
Do you mean conditional formatting like this ?

View attachment 80640

Colos.xlsx
DEFGH
1
2
3
4nox1x2x3x4
599A1123
699A2123
799A3123
898A4123
998A5123
1098A6123
1198A7123
1298A8123
1397A9123
1497A10123
1597A11123
1697A12123
1797A13123
1897A14123
1996A15123
2096A15123
2196A15123
2296A15123
2396A15123
2496A15123
2596A15123
2696A15123
2796A15123
2895A15123
2995A25123
3095A26123
3195A27123
3295A28123
3395A29123
3495A30123
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D5:H34Expression=$D5<>$D4textNO
Thank You !
 
Upvote 0

Forum statistics

Threads
1,216,099
Messages
6,128,813
Members
449,469
Latest member
Kingwi11y

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