Hello Everyone,
Does anyone know if there is a way to do a pivot table with merge cells? I have a file that has merge cells and would hate to unmerge them because I need them for presentation. Thanks.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Pivot Tables with merge cells (2003)
The real issue is the that columns A-C do not a have a column label which is required. A1, B, C1 need a column label.
The second issue only “indirectly” is caused by the merged cells. The merged cells themselves are not really the issue. The issue is that with merged cells, only the upperleft cell has anything in it, the other cells are blank. In your example
A3= “Appliance”, A4:A8 are blank
B3=”Kitchen aid”, B6= “GE Prifofile”, B4:B5, B7:B8 are blank.
If you fix 1 you can create your pivot without any problem, but if you intend all the values to relate to “Appliance” and rows 4:5 to relate to Kitchen aid and 6:8 to relate to “GE Prifofile” you must indicate this in your data table.
What you can do is keep the merged cells and create intermediate cells with the full info. In G2 and H2 enter the column labels. In G3:
=IF(TRIM(A3)=””,G2,A3)
Copy G3 to G4:H8. Now Cols G and H are how A and B should be. now do a pivot table using cols C-H and it should be more of what you want.
Steve
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.
Notifications