Subtotals into same line

grischaa

New Member
Joined
Dec 27, 2022
Messages
1
Office Version
  1. 2013
Platform
  1. Windows
I have to "translate" a report from a new data source which doesn't match the original. In the old data source, I had Mega Segments in Column C (Groups, Wholesale, Retail, etc), and the new one in Column B has a much more atomized segmentation (Leisure Groups, Corporate Groups, etc) with their own values. I need to translate the new 28 segments into the old 11 segments, and have the columns "subtotal" these new segments:

1672194553225.png


The report uses 2022-M12 as date, and goes on for 12 months. I would need a new report showing the totals of each "translated" segment for each of the 11 Mega Segments. In the example above, I would need a 2022-M12 line to have GROUP as Segment, and have a total of the 5 Groups lines from Column C, as follows:

1672195032679.png
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest

Forum statistics

Threads
1,215,237
Messages
6,123,803
Members
449,127
Latest member
Cyko

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