Conditional Formatting to Highlight Subtotals

howard

Well-known Member
Joined
Jun 26, 2006
Messages
6,601
Office Version
  1. 2021
Platform
  1. Windows
I would like highlighlight my subtotals in blue using condtional formatting.

It would be appreciated if someone could assist me-see Sample data below

Conditional Formatting Subtotals.xls
ABCDEFG
5CityCampaignMonthCostQuantityRedeemedResultingSalesProfit/(Loss)
6CapeTownInternetApril36,000299142,324106,324
7CapeTownDirectMailJanuary66,0007837,128(28,872)
8CapeTownInternetJuly9,900276131,376121,476
9CapeTownDirectMailOctober37,5006129,036(8,464)
10CapeTownRadioSpotApril36,000299142,324106,324
11CapeTownDirectMailJanuary66,0007837,128(28,872)
12CapeTownLocalAdsJuly9,900276131,376121,476
13CapeTownDirectMailApril28,500178,092(20,408)
14CapeTownDirectMailOctober26,400455216,580190,180
15CapeTownTotal316,200875,364559,164
Sheet1
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Try like this

Excel Workbook
ABCDEFG
6CityCampaignMonthCostQuantity RedeemedResulting SalesProfit/(Loss)
7Cape TownInternetApril36,000299142,324106,324
8Cape TownDirect MailJanuary66,0007837,128-28,872
9Cape TownInternetJuly9,900276131,376121,476
10Cape TownDirect MailOctober37,5006129,036-8,464
11Cape TownRadio SpotApril36,000299142,324106,324
12Cape TownDirect MailJanuary66,0007837,128-28,872
13Cape TownLocal AdsJuly9,900276131,376121,476
14Cape TownDirect MailApril28,500178,092-20,408
15Cape TownDirect MailOctober26,400455216,580190,180
16Cape Town Total316,200875,364559,164
Sheet5
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A71. / Formula is =RIGHT($A7,5)="Total"Abc
 
Upvote 0
Hi Peter

Thanks for the help, much appreciated

Regards

Howard
 
Upvote 0

Forum statistics

Threads
1,224,587
Messages
6,179,735
Members
452,939
Latest member
WCrawford

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