Basic and Advanced Conditional Formatting
Basic and Advanced Conditional Formatting
Product
Computer
Laptop
Headphone
Hard Disk
Keyboard
Product
Hard Disk
3. Highlight Entire Column
Ques highlight the description in red fill if the amount is more than 1000
EXAMPLE 3
Folio Number Country Investment Type Due (Rs.) Date of Transfer
780 INDIA debenture interest 369 42644
745 INDIA deposit interest 969 42220
715 INDIA debenture interest 99 42106
550 INDIA interest on unclaimed 105 42705
700 GERMANY deposit interest 57 42119
632 USA debenture interest 121 42825
471 INDIA debenture interest 78 42098
868 USA interest on unclaimed 111 42766
Ques Highlight the Folio number in Black Colour Background and White Colour Text if
Investment Type is Debentures Interest.
EXAMPLE 5
Bill No. Bill Date Party Name Due Days Due Amount
INV/SAL/12-15/101 1/11/2015 Vishal enterprise 181 30000
INV/SAL/12-15/102 2/14/2014 Roushan Telecom 99 125000
INV/SAL/12-15/103 3/16/2014 Andrew & Sons 117 20000
INV/SAL/12-15/104 4/3/2014 Vishal enterprise 147 32000
INV/SAL/12-15/105 1/22/2014 Rose Enterprise 84 46000
INV/SAL/12-15/106 5/2/2014 Andrew & Sons 6 54000
INV/SAL/12-15/107 5/15/2014 Rose Enterprise 57 88000
INV/SAL/12-15/108 3/20/2014 Roushan Telecom 37 45000
INV/SAL/12-15/109 6/22/2014 Vishal enterprise 70 110000
INV/SAL/12-15/110 2/2/2014 Rose Enterprise 19 22000
Ques highlight party name in black colour background and white colour text if date is
less than 1-6-2014
EXAMPLE 7
DATE CATEGORY DESCRIPTION AMOUNT
20/11/2013 Household Cell phone 750
20/11/2013 Household Electricity 1235
20/11/2013 Pets Food 370
20/11/2013 Transportation Fuel 780
20/11/2013 Household Garbage 125
20/11/2013 Food Groceries 1150
20/11/2013 Personal Health/Fitness club 450
20/11/2013 Household Internet 550
20/11/2013 Transportation Maintenance/Repairs 1650
20/11/2013 Entertainment Movies 350
20/11/2013 Pets Other 50
20/11/2013 Household Television 340
1. Highlight entire table in yellow color if the amount is in between 500 to 1000
with green fill by using conditional formatting.
EXAMPLE 9
Emp_ID Salesman State Company YTD Sales Last Sales
EM-1132 Rama Rajasthan Tata 70660 205.22
EM-1077 Krishna Gujarat Reliance 92185 686.11
EM-1088 Prakash Rajasthan Bata 29796 84.57
EM-1070 Kanupriya Gujarat Tata 86452 715.39
EM-1095 Jyoti Tamil Nadu Reliance 85153 491.64
EM-1100 Raja Uttarakhand Bata 28449 701.1
EM-1102 Sujoy West Bengal Tata 47675 549.36
EM-1069 Sunipa West Bengal Reliance 82126 739.4
EM-1149 Deep Tamil Nadu Bata 79089 415.03
EM-1134 Sangeeta Tamil Nadu Tata 32625 120.12
Highlight the ID field in Black Colour background and Bold, Italic White Colour Text,
using Conditional Formatting when the State is Rajasthan as well as the YTD Sales is
greater than equals to 50,000
EXAMPLE 11
salesman location april may june commission
tapan dey kolkata 90300 79102 90361 12988.15
riya sen asansol 88377 118865 87339 14729.05
albert peter kolkata 79026 122713 98244 14999.15
abhishek pandey durgapur 109585 95616 115294 16024.75
soma chatterjee durgapur 114270 85038 83458 14138.3
rittika singh kolkata 84027 84183 101240 13472.5
ajit kumar asansol 107091 67190 103786 13903.35
Ques highlight the salesman name with light green fill who gets maximum commission
EXAMPLE 13
salesman location april may june commission
tapan dey kolkata 90300 79102 90361 12988.15
riya sen asansol 88377 118865 87339 14729.05
albert peter kolkata 79026 122713 98244 14999.15
abhishek pandey durgapur 109585 95616 115294 16024.75
soma chatterjee durgapur 114270 85038 83458 14138.3
rittika singh kolkata 84027 84183 101240 13472.5
ajit kumar asansol 107091 67190 103786 13903.35
1. Highlight the Salesman Name with light red fill who gets minimum commission.
Example 15
number
Ques 1 format the cell range in such a way so that if anyone enters any value
in the above range which is similar to previous values then it will highlighted in RED color
EXAMPLE 2
date category description amount
20/Nov/13 household cell phone 750
20/Nov/13 household electricity 1235
20/Nov/13 pets food 370
20/Nov/13 transportation fuel 780
20/Nov/13 household garbage 125
20/Nov/13 food groceries 1150
20/Nov/13 personal health/fitness club 450
20/Nov/13 household internet 550
20/Nov/13 transportation maintenance/repai 1650
20/Nov/13 entertainment movies 350
20/Nov/13 pets other 50
20/Nov/13 household television 340
Ques highlight entire table in red fill if the amount is less than 700
EXAMPLE 4
Bill No. Bill Date Party Name Due Days
INV/SAL/12-15/1 1/11/2015 Vishal enterprise 181
INV/SAL/12-15/1 2/14/2014 Roushan Telecom 99
INV/SAL/12-15/1 3/16/2014 Andrew & Sons 117
INV/SAL/12-15/1 4/3/2014 Vishal enterprise 147
INV/SAL/12-15/1 1/22/2014 Rose Enterprise 84
INV/SAL/12-15/1 5/2/2014 Andrew & Sons 6
INV/SAL/12-15/1 5/15/2014 Rose Enterprise 57
INV/SAL/12-15/1 3/20/2014 Roushan Telecom 37
INV/SAL/12-15/1 6/22/2014 Vishal enterprise 70
INV/SAL/12-15/1 2/2/2014 Rose Enterprise 19
Ques highlight bill number in red fill if date is greate than 1-4-2014
EXAMPLE 6
Bill No. Bill Date Party Name Due Days
INV/SAL/12-15/1 1/11/2015 Vishal enterprise 181
INV/SAL/12-15/1 2/14/2014 Roushan Telecom 99
INV/SAL/12-15/1 3/16/2014 Andrew & Sons 117
INV/SAL/12-15/1 4/3/2014 Vishal enterprise 147
INV/SAL/12-15/1 1/22/2014 Rose Enterprise 84
INV/SAL/12-15/1 5/2/2014 Andrew & Sons 6
INV/SAL/12-15/1 5/15/2014 Rose Enterprise 57
INV/SAL/12-15/1 3/20/2014 Roushan Telecom 37
INV/SAL/12-15/1 6/22/2014 Vishal enterprise 70
INV/SAL/12-15/1 2/2/2014 Rose Enterprise 19
Ques highlight entire table in yellow colour background and red colour text if date is
between 1-2-2014 to 31-5-2014
EXAMPLE 8
Bill No. Bill Date Party Name Due Days
INV/SAL/12-15/1 1/11/2015 Vishal enterprise 181
INV/SAL/12-15/1 2/14/2014 Roushan Telecom 99
INV/SAL/12-15/1 3/16/2014 Andrew & Sons 117
INV/SAL/12-15/1 4/3/2014 Vishal enterprise 147
INV/SAL/12-15/1 1/22/2014 Rose Enterprise 84
INV/SAL/12-15/1 5/2/2014 Andrew & Sons 6
INV/SAL/12-15/1 5/15/2014 Rose Enterprise 57
INV/SAL/12-15/1 3/20/2014 Roushan Telecom 37
INV/SAL/12-15/1 6/22/2014 Vishal enterprise 70
INV/SAL/12-15/1 2/2/2014 Rose Enterprise 19
Apply Conditional Formatting on Bill No which falls due within 70 to 100 days
that Bill No will be appear in Bold & Red in color.
EXAMPLE 10
Customer Code Customer Name Phone No. Car No.
BRP-132 Mr. Suvankar Kar (033)-24345688 WB-1236
BRP-125 Mrs. Nivedita Nath (033)-24333876 WB-3256
BRP-126 Md. Saharior Shaikh (033)-24569872 WB-1265
BRP-138 Miss. Moumita Das (033)-24335698 WB-3278
BRP-180 Mr. Tapas Hudait (033)-24568974 WB-2001
BRP-225 Mrs. Debasree Misra (033)-24347568 WB-1268
Configure Customer Name field in such a way so that the customer whose Down P
between 8000 to 10000, their name will be shown in red color.
EXAMPLE 12
commission salesman location april may
tapan dey kolkata 90300 79102
riya sen asansol 88377 118865
albert peter kolkata 79026 122713
abhishek pandey durgapur 109585 95616
soma chatterjee durgapur 114270 85038
rittika singh kolkata 84027 84183
ajit kumar asansol 107091 67190
1. Highlight the Salesman Name with light green fill who gets second highest commission
EXAMPLE 14
commission Bill No. Bill Date Party Name Due Days
INV/SAL/12-15/1 1/11/2015 Vishal enterprise 181
INV/SAL/12-15/1 2/14/2014 Roushan Telecom 99
INV/SAL/12-15/1 3/16/2014 Andrew & Sons 117
INV/SAL/12-15/1 4/3/2014 Vishal enterprise 147
INV/SAL/12-15/1 1/22/2014 Rose Enterprise 84
INV/SAL/12-15/1 5/2/2014 Andrew & Sons 6
INV/SAL/12-15/1 5/15/2014 Rose Enterprise 57
INV/SAL/12-15/1 3/20/2014 Roushan Telecom 37
INV/SAL/12-15/1 6/22/2014 Vishal enterprise 70
INV/SAL/12-15/1 2/2/2014 Rose Enterprise 19
Ques highlight party name in yellow colour background and red colour text whose due am
Due Amount
30000
125000
20000
32000
46000
54000
88000
45000
110000
22000
Due Amount
30000
125000
20000
32000
46000
54000
88000
45000
110000
22000
Due Amount
30000
125000
20000
32000
46000
54000
88000
45000
110000
22000
Down Payment
8000
4000
3700
12000
9000
9500
Due Amount
30000
125000
20000
32000
46000
54000
88000
45000
110000
22000