How to Create Multiple Reports from One Sheet

newbie18

New Member
Joined
Jul 30, 2018
Messages
12


I have a large sales data report containing several groups of customers. I would like to automatically generate individual usagereports (separate files so not by tab) for each group every month and save themon a shared drive. I would like to alsohave each report automatically be customized with different headers (based oncustomers’ request); however, I could evade this if it is not possible.



Here is an example of my sales data. The group name column is what I would like touse to generate the reports. Is there amacro or method to do this? I know that Ican achieve this process by creating a pivot table, and then splitting out thedata by group into different tabs, but I would like to customize each report (ifpossible) and produce individual reports to save it in different folders.



Customer IDItem IDDocument Date ID
Accounting Year DESCCalendar Month DESCCalendar Year IDQty SoldPrice Paid EachSalesGroup Name
2091039970757042598/12/2019Fiscal 2020August 201920191$ 36.00$ 36.00ABC
209103998UN57585118/12/2019Fiscal 2020August 201920190$ 1.52$ 1.52DEF
209103999UN57585298/12/2019Fiscal 2020August 201920190$ 1.76$ 1.76GHI
2091042890757042598/12/2019Fiscal 2020August 201920191$ 36.00$ 36.00JKL
<colgroup><col width="86" style="width: 65pt; mso-width-source: userset; mso-width-alt: 3072;"> <col width="70" style="width: 53pt; mso-width-source: userset; mso-width-alt: 2503;"> <col width="114" style="width: 85pt; mso-width-source: userset; mso-width-alt: 4039;"> <col width="135" style="width: 101pt; mso-width-source: userset; mso-width-alt: 4807;"> <col width="128" style="width: 96pt; mso-width-source: userset; mso-width-alt: 4551;"> <col width="99" style="width: 74pt; mso-width-source: userset; mso-width-alt: 3527;"> <col width="56" style="width: 42pt; mso-width-source: userset; mso-width-alt: 1991;"> <col width="118" style="width: 89pt; mso-width-source: userset; mso-width-alt: 4209;"> <col width="92" style="width: 69pt; mso-width-source: userset; mso-width-alt: 3271;"> <col width="191" style="width: 143pt; mso-width-source: userset; mso-width-alt: 6798;"> <tbody> </tbody>
 

Some videos you may like

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Logit

Well-known Member
Joined
Aug 31, 2016
Messages
3,964
.
Yes, this is doable.

First you'll want a macro that searches Column J (Group Name) and copies all rows with the term ABC. Repeat the process for each of the other unique names.

Those copied rows will be pasted into a separate sheet set aside for each unique name.

Then you'll need another macro that saves each sheet as a separate workbook in the location you desire.

Plenty of example macros on this forum and the 'net.
 

Watch MrExcel Video

Forum statistics

Threads
1,127,529
Messages
5,625,351
Members
416,096
Latest member
forevans

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
Top