Pivot - Rows showing as subgroups instead of main groups

Vcoppens

Board Regular
Joined
Apr 16, 2012
Messages
90
Hi,
I have never encountered this and I am puzzled.

I have a table with a column with past due DAYS.

There are 4 extra columns with a formula that determines:
Column 1: IF(AND(A2>=30,A2<=59),"30-59","")
Column 2: IF(AND(A2>=60,A2<=189),"60-189","")
Column 3: same formula but then "190-364"
Column 4: same formula but then "365+"

When I try to create a pivot table instead of having 4 row labels with specific headers such as below and thus allowing me to count the number of items and sum the total of those items
- 30-59 10 $2000
- 60-189 2 $1000
- 190-364 1 $ 500
- 365+

I have
-
-
-
365+
- 190-365
-60-189
-
-30-59


I have searched to what the reason could be but to no prevail.

The picture below shows the result and that is obvious not what I was looking for.

Thank you very much,

Has anyone experience this before? And how to solve it.
Screenshot 2023-01-19 145640.jpg
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
The left is a basic table.
Days delinquent is the given data.
Formulas are added in the columns 30-59; 60-189; 190-364; 365+

The pivot should reflect 4 rows and per row in each column:
The total amount
The number of past dues

However it only show 30-59 as the main row, the other data 60-189 shows as a sub row and the data from 190-364 and 365+ is not showing. In addition I do not need the data from days that are not past due. In this case 16 days is not past due but it is still adding the 500 to the total ....

Thank you,

Screenshot 2023-01-19 153629.jpg
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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