Display multiple values under single column heading in pivot table

theyaaz

New Member
Joined
Feb 28, 2023
Messages
4
Office Version
  1. 2016
Platform
  1. Windows
I would like to create a pivot table that looks like this:

Pivot Table Issue - Sample.xlsx
ABCDEFGHIJKLMN
1JanuaryFebruaryMarchAprilMayJuneJulyAugustSeptemberOctoberNovemberDecemberTotal
2Felix S
3 Yearly Salary$ 56,000.00$ 56,000.00$ 56,000.00$ 56,000.00$ 56,000.00$ 56,000.00$ 56,000.00$ 56,000.00$ 56,000.00$ 56,000.00$ 56,000.00$ 56,000.00$ 56,000.00
4 Monthly Overtime$ 50.00$ 300.00$ 150.00$ 200.00$ -$ -$ 500.00$ 450.00$ -$ 150.00$ 50.00$ 250.00$ 2,100.00
5 Monthly Salary$ 4,716.67$ 4,966.67$ 4,816.67$ 4,866.67$ 4,666.67$ 4,666.67$ 5,166.67$ 5,116.67$ 4,666.67$ 4,816.67$ 4,716.67$ 4,916.67$ 58,100.00
6Sarah P
7 Yearly Salary$ 67,000.00$ 67,000.00$ 67,000.00$ 67,000.00$ 67,000.00$ 67,000.00$ 67,000.00$ 67,000.00$ 67,000.00$ 67,000.00$ 67,000.00$ 67,000.00$ 67,000.00
8 Monthly Overtime$ -$ -$ 100.00$ 150.00$ -$ -$ -$ 50.00$ -$ -$ -$ 50.00$ 350.00
9 Monthly Salary$ 5,583.33$ 5,583.33$ 5,683.33$ 5,733.33$ 5,583.33$ 5,583.33$ 5,583.33$ 5,633.33$ 5,583.33$ 5,583.33$ 5,583.33$ 5,633.33$ 67,350.00
Desired
Cell Formulas
RangeFormula
N8:N9,N4:N5N4=SUM(B4:M4)
B9:M9,B5:M5B5=(B3/12)+B4


But I cannot seem to display multiple values in rows by month. They only alternate columns like this:

Pivot Table Issue - Sample.xlsx
ABCDEFG
1Column Labels
2JanuaryFebruary
3Row LabelsSum of Yearly SalarySum of Monthly OvertimeSum of Monthly SalarySum of Yearly SalarySum of Monthly OvertimeSum of Monthly Salary
4Felix S56000504716.666667560003004966.666667
5Sarah P6700005583.3333336700005583.333333
6Grand Total123000501030012300030010550
Pivot


Is this possible using a pivot table? Thank you.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Think you will find this easier to do if the name is in a different cell to the function:

Name in column A
Function (Yearly salary etc...) in column B

When creating the pivot table you need to place the function part underneath the name in the rows section. Then the date/ months part in the columns.
 
Upvote 0
Solution
Think you will find this easier to do if the name is in a different cell to the function:

Name in column A
Function (Yearly salary etc...) in column B

When creating the pivot table you need to place the function part underneath the name in the rows section. Then the date/ months part in the columns.

That worked great thank you! I used power query to unpivot my columns and got a pivot table that looks like this:

Pivot Table Issue - Sample.xlsx
ABCDEFGHIJKLMN
3Sum of ValueColumn Labels
4Row LabelsJanuaryFebruaryMarchAprilMayJuneJulyAugustSeptemberOctoberNovemberDecemberGrand Total
5Felix S$ 60,766.67$ 61,266.67$ 60,966.67$ 61,066.67$ 60,666.67$ 60,666.67$ 61,666.67$ 61,566.67$ 60,666.67$ 60,966.67$ 60,766.67$ 61,166.67$ 732,200.00
6Monthly Overtime$ 50.00$ 300.00$ 150.00$ 200.00$ -$ -$ 500.00$ 450.00$ -$ 150.00$ 50.00$ 250.00$ 2,100.00
7Monthly Salary$ 4,716.67$ 4,966.67$ 4,816.67$ 4,866.67$ 4,666.67$ 4,666.67$ 5,166.67$ 5,116.67$ 4,666.67$ 4,816.67$ 4,716.67$ 4,916.67$ 58,100.00
8Yearly Salary$ 56,000.00$ 56,000.00$ 56,000.00$ 56,000.00$ 56,000.00$ 56,000.00$ 56,000.00$ 56,000.00$ 56,000.00$ 56,000.00$ 56,000.00$ 56,000.00$ 672,000.00
9Sarah P$ 72,583.33$ 72,583.33$ 72,783.33$ 72,883.33$ 72,583.33$ 72,583.33$ 72,583.33$ 72,683.33$ 72,583.33$ 72,583.33$ 72,583.33$ 72,683.33$ 871,700.00
10Monthly Overtime$ -$ -$ 100.00$ 150.00$ -$ -$ -$ 50.00$ -$ -$ -$ 50.00$ 350.00
11Monthly Salary$ 5,583.33$ 5,583.33$ 5,683.33$ 5,733.33$ 5,583.33$ 5,583.33$ 5,583.33$ 5,633.33$ 5,583.33$ 5,583.33$ 5,583.33$ 5,633.33$ 67,350.00
12Yearly Salary$ 67,000.00$ 67,000.00$ 67,000.00$ 67,000.00$ 67,000.00$ 67,000.00$ 67,000.00$ 67,000.00$ 67,000.00$ 67,000.00$ 67,000.00$ 67,000.00$ 804,000.00
13Grand Total$ 133,350.00$ 133,850.00$ 133,750.00$ 133,950.00$ 133,250.00$ 133,250.00$ 134,250.00$ 134,250.00$ 133,250.00$ 133,550.00$ 133,350.00$ 133,850.00$ 1,603,900.00
Sheet8
 
Upvote 0

Forum statistics

Threads
1,213,536
Messages
6,114,211
Members
448,554
Latest member
Gleisner2

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