Pivottable formatting - borders based on first item in "Column" section

Wooly88

New Member
Joined
Jan 28, 2019
Messages
2
Hi All,

I have a pivottable with multiple items in the column section. I have tried modifying the pivottable using the Pivottable styles editor but can't seem to get what I want to achieve to work and would appreciate any advice

I have put a picture below with two examples (with made up data)

As you can see I have two items in the "Column" section. "Country of origin" on the first row, followed by a "number" on the second row.
I want to put borders down the side of each column based on where the Country column ends rather than on every single column. I have done an example in the second table below on what I want to achieve but I want it to work with data moving as the pivot table.

Any advice is really appreciated

T87f8VE.jpg
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Just to add, I have used "Second Column Stripe" format to make the line go through the data, but I really want to make it go all the way up including the headings/subheadings. I've tried using the "Column Subheading 1" (and 2 and 3) but this puts lines at the end of each cell rather than in line with the content.
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,254
Members
452,623
Latest member
Techenthusiast

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