Split Excel File based on a column while retaining all other sheets

Sukesh

New Member
Joined
Mar 23, 2017
Messages
1
Urgent help required:


I have a excel file with 3 sheets, one sheet has the employee data dump. 2 other sheets have some analysis based on the data in employee data dump.


My analysis makes use of formulae such as 'Countifs', 'Sumifs' etc.


Now i want to split this file into several files based on the employee's department (a column in the data dump has employee's department).


The splits (output) should have all the 3 sheets in excel and it should be having the data of only 1 department and their analysis in other sheets. The sheets with analysis will be connected to the database with formulae.


Suggested Logic to Achieve this:


1) Create a copy of the excel file and save it with the first department name (Say D1).
2) Delete all the rows having any other department's name except D1.
3) Move on to next department (D2) and so on till one file is created for each department.


This way the connections between various sheets will be retained and the analysis shown would be specific to the department with which the file is named.


This is very urgent requirement, requesting help from experts.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Forum statistics

Threads
1,216,156
Messages
6,129,188
Members
449,492
Latest member
steveg127

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