Denormalization of data

PB_DEV10

New Member
Joined
Aug 9, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hello Gurus

I have an excel file as an input with project data. The data shows how many departments have worked on the project. The raw data looks like this:

Project nameProject descriptionDivisionDepartmentStart dateEnd date
Cash accountingCompanies that are not obliged to deliver annual accounts (Accounts Act) must be able to generate annual accounts themselves based on bank transactions.Division IT and digital; Division Management and consultancy; Division bank housing purchase and business developmentDigital customer services; Real Estate Management; ABC Bank1/11/20211/2/2022
Now as you can see the 3 divisions worked on the project: Division IT and digital, Division Management and consultancy and Division bank housing purchase and business development (seperated by semicolon) and their corresponding departments also seperated by semicolon.



I have division table already in my worksheet:

Division_PKDivision
1Division IT and digital
2Division Management and consultancy
3Division bank housing purchase and business development
And we have table also for department which connects to division.

Department_PKDepartmentDivision_FK
1Digital customer services1
2Real Estate Management2
3ABC Bank3


The desired output I need for this data is:

Project nameProject descriptionDivisionDepartment
Cash accountingCompanies that are not obliged to deliver annual accounts (Accounts Act) must be able to generate annual accounts themselves based on bank transactions.Division IT and digitalDigital customer services
Cash accountingCompanies that are not obliged to deliver annual accounts (Accounts Act) must be able to generate annual accounts themselves based on bank transactions.Division Management and consultancyReal Estate Management
Cash accountingCompanies that are not obliged to deliver annual accounts (Accounts Act) must be able to generate annual accounts themselves based on bank transactions.Division bank housing purchase and business developmentABC Bank
I dont know how to do this. Can someone help?
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Project nameProject descriptionDivisionDepartmentStart dateEnd date
Cash accountingCompanies that are not obliged to deliver annual accounts (Accounts Act) must be able to generate annual accounts themselves based on bank transactions.Division IT and digital; Division Management and consultancy; Division bank housing purchase and business developmentDigital customer services; Real Estate Management; ABC Bank1/11/20211/2/2022
Now as you can see the 3 divisions worked on the project: Division IT and digital, Division Management and consultancy and Division bank housing purchase and business development (seperated by semicolon) and their corresponding departments also seperated by semicolon.
Simply in the above table Split columns with headers Division and Department - Using Text to Column and semicolon as delimiter
Then play with data the way you want to play
 
Upvote 0

Forum statistics

Threads
1,224,739
Messages
6,180,676
Members
452,993
Latest member
FDARYABEE

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