I've assumed:
Less than 31 days
31 to 45 Days
46 to 70 Days
71 to 99 Days
>99 Days
since 30 days and 100 days would not fit in any category. You'll have to tweak if I've guessed wrongly.
Add a column with the formula in row 2:
=INDEX({"<31";"31-45";"46-70";"71-99";">99"},MATCH(B2,{0;31;46;71;100},1))
and copy down. Give the column a header, say Group.
Then add a pivot table including this new column as part of its source data, include Group in the (top of the) Row Labels section of the pivot.
See attached.
I imagine there are more columns than you're showing in your real data; just add the columns you want to see to the Row Labels section of the pivot.





Reply With Quote

Bookmarks