Highlight Row with different color in which the number is Lying

parankush

New Member
Joined
Jun 11, 2020
Messages
36
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
  5. 2013
  6. 2011
  7. 2010
  8. 2007
  9. 2003 or older
Platform
  1. Windows
  2. MacOS
  3. Mobile
  4. Web
I have a data table in which I have Name of party, Bill number, Bill date, Days, Bill Amount and outstanding amount.
What I want is, if the number of days fall under 30-45 the row should be colored with a particular color code and if it is more than 45 then with another specific color code.
The row should be coloured only ill column F.
Please help mw with it.
The color codes are as follows -
Range DateColor Code
More than 45Red - 255 Green - 204 Blue - 255
Between 30 to 45Red - 242 Green - 220 Blue - 219

The data set is
Name of the partyBill No.Bill DateDaysBILL AmountOutstanding
Amazon/ /1,32,7601,27,564
3362​
20/10/2022
54​
29,46924,273
3557​
31/10/2022
43​
37,70037,700
3644​
03/11/2022
40​
13,30813,308
4155​
01/12/2022
12​
1,9301,930
4264​
09/12/2022
4​
12,26912,269
Flipkart/ /4,1144,114
3878​
17/11/2022
26​
4,1144,114
Myntra/ /1,799878
4023​
24/11/2022
19​
1,799878
Cloudtail/ /4,0154,015
3634​
03/11/2022
40​
4,0154,015
Retailx/ /2,0372,037
4262​
09/12/2022
4​
2,0372,037
EZ Elc/ /8,2667,068
3629​
03/11/2022
40​
3,2092,011
3877​
17/11/2022
26​
2,2752,275
4263​
09/12/2022
4​
2,7822,782
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
The row should be coloured only ill column F.
only is what in column F

i dont seem to be able to set RGB on my version of conditional formatting

I'll look into that - it may need to have VBA to do the RGB , so i may not been able to help - sorry about that

Book6
ABCDEFGHIJK
1Name of the partyBill No.Bill DateDaysBILL AmountOutstanding
2Amazon/ /1,32,7601,27,564Range DateColor Code
3336210/20/225429,46924,273More than 45Red - 255 Green - 204 Blue - 255
4355710/31/224337,70037,700Between 30 to 45Red - 242 Green - 220 Blue - 219
5364411/3/224013,30813,308
6415512/1/22121,9301,930
7426412/9/22412,26912,269
8Flipkart/ /4,1144,114
9387811/17/22264,1144,114
10Myntra/ /1,799878
11402311/24/22191,799878
12Cloudtail/ /4,0154,015
13363411/3/22404,0154,015
14Retailx/ /2,0372,037
15426212/9/2242,0372,037
16EZ Elc/ /8,2667,068
17362911/3/22403,2092,011
18387711/17/22262,2752,275
19426312/9/2242,7822,782
20
Sheet3
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:F19Expression=$D2>45textYES
A2:F19Expression=$D2>=30textYES
 
Upvote 0
I went to this site
and setup the colour RGB value
then on conditional formatting - i used the colour picker to select the colour

Book6
ABCDEFGHIJKLMNO
1Name of the partyBill No.Bill DateDaysBILL AmountOutstanding
2Amazon/ /1,32,7601,27,564Range DateColor Code
3336210/20/225429,46924,273More than 45Red - 255 Green - 204 Blue - 255
4355710/31/224337,70037,700Between 30 to 45Red - 242 Green - 220 Blue - 219
5364411/3/224013,30813,308
6415512/1/22121,9301,930
7426412/9/22412,26912,269
8Flipkart/ /4,1144,114
9387811/17/22264,1144,114
10Myntra/ /1,799878
11402311/24/22191,799878
12Cloudtail/ /4,0154,015
13363411/3/22404,0154,015
14Retailx/ /2,0372,037
15426212/9/2242,0372,037
16EZ Elc/ /8,2667,068
17362911/3/22403,2092,011
18387711/17/22262,2752,275
19426312/9/2242,7822,782
20
Sheet3
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:F19Expression=$D2>45textYES
A2:F19Expression=$D2>=30textNO
 
Upvote 0

Forum statistics

Threads
1,215,647
Messages
6,126,005
Members
449,279
Latest member
Faraz5023

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