Extract Information from a File

Pestomania

Active Member
Joined
May 30, 2018
Messages
333
Office Version
  1. 365
Platform
  1. Windows
Hi!

I am trying to identify a way to export information that is not in a standard format as it can change number of rows by process name. The only "standard" is when the "Process Name" restarts in the row, that is a new row record.

The script would need to run until there is no more processes in Column A because it could be 3 processes or 15 processes.

I would need it to run and create a table like the second upload below.

I tried to map below from Sheet 1 to Sheet 2:

For processes:
Sheet1 Column & NameSheet2 Column & NameFormat Changes?
Column A: Process NameColumn A: Process NameNo Format Change
Column A: DescriptionColumn S: DescriptionNo Format Change
Column B: Maximum Tolerable DowntimeColumn AG: Maximum Tolerable DowntimeNo Format Change
Column B: Impact if process is inactiveColumn AD: Disruption ImpactNo Format Change
Column B: DependenciesColumn M: DependenciesNo format change
Column B: InputColumn AA: InboundRemove bullet point (wingding Q)
Column B: OutputColumn AB: OutboundRemove bullet point (wingding Q)
Column B: Apps / SystemI am going to skip and go below to explain that as each is a new row
Column B: CommentsColumn AR: CommentsIf the word "Comments" is the response, change to "N/A" but otherwise no format change
Column A: Process Name Work AroundColumn AF: Disruption WorkaroundAll of the work arounds need to be as "wrap text" with no bullet points so that it all fits into one cell.


For apps / systems:
All Apps/Systems are a "new line" directly under the process name

Sheet1 Column & NameSheet2 Column & NameFormat Changes?
Column B: Application/SystemColumn A: Process NameIndent once
Column A: Process Name (the "parent process" tht the app belongs to)Column G: Parent ProcessInput the Process Name that the app is supporting into Column G
Column C: RTOColumn AN: RTONo Format Change
Column D: RPOColumn AO: RPONo Format Change


Sheet1:
Process Name File.xlsx
ABCD
7PROCESS NAMEDescription and Data
8PROCESS NAME:Maximum Tolerable Downtime (MTD): TimeFrame
9Impacts if process is inactive: Impact 1
10Process 1Dependencies: Dependency 1, Dependency 2, Dependency 3
11Input:
12Q All site functions
13Output:
14Process Description:Q All site functions, External
15Critical Applications and Systems:
16Description 1Application / SystemRTORPO
17App 1TimeframeTimeframe
18App 2TimeframeTimeframe
19App 3TimeframeTimeframe
20App 4TimeframeTimeframe
21App 5TimeframeTimeframe
22App 6TimeframeTimeframe
23
24
25Comments:
26
27N/A
28Process 1 WORK AROUND
29Workplace Outage:
30Q Outage 1 Workaround
31System Outage:
32Q Outage 2 Workaround
33Q Outage 3 Workaround
34Q Outage 4 Workaround
35Q Outage 5 Workaround
36Limited Staff Availability:
37Q Outage 6 Workaround
38PROCESS NAME:Maximum Tolerable Downtime (MTD): TimeFrame
39Impacts if process is inactive: Impact 2
40Process 2Dependencies: Dependency 1, Dependency 2, Dependency 3
41Input:
42Q Operations converted into a forecast. Requirements handed down from Corp.
43Output:
44Process Description:Q Finance
45Critical Applications and Systems:
46Description 2Application / SystemRTORPO
47App 1TimeframeTimeframe
48App 2TimeframeTimeframe
49App 3TimeframeTimeframe
50App 4TimeframeTimeframe
51App 5TimeframeTimeframe
52
53
54Comments:
55Comments
56Process 2 WORK AROUND
57Workplace Outage:
58Q Outage 1 Workaround
59System Outage:
60
61Q Outage 2 Workaround
62Limited Staff Availability:
63Q Outage 3 Workaround
64PROCESS NAME:Maximum Tolerable Downtime (MTD): Time Frame
65Impacts if process is inactive: Impact 3
66Process 3Dependencies: Dependency 1
67Input:
68Q Master Schedule (ICT), Operations (provides realization / expectations) & non-labor cost expectations.
69Q Program Management (provides oversight, align ops with reality), contacts
70Process Description:Output:
71Q Finance, Business Operations Leaders.
72Description 3Critical Applications and Systems:
73Application / SystemRTORPO
74App 1TimeframeTimeframe
75App 2TimeframeTimeframe
76App 3TimeframeTimeframe
77App 4TimeframeTimeframe
78App 5TimeframeTimeframe
79
80
81Comments:
82Comments
83Process 3 WORK AROUND
84Workplace Outage:
85Q Outage 1 Workaround
86System Outage:
87Q Outage 2 Workaround
88Limited Staff Availability:
89Q Outage 3 Workaround
Sheet1



Sheet2:
Process Name File.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAWAXAY
1Process NameTabs NeededBIA Input Complete DateConcatenate Process NameWBSSorting ColumnParent ProcessProcess TypeSite NameBuilding LocationProgram NameCategory Holder?DependenciesContact NameOrganizationWork PhoneCell PhoneEmail AddressDescriptionAlt Resource AvailableAlt Resource DescriptionSingle Point-of-FailureEquipment IdentifierCriticalityOther LocationColumn Number / SectionInboundOutboundPeak PeriodDisruption ImpactInternal or ExternalDisruption WorkaroundMaximum Tolerable DowntimeQty in UseQty SpareHuman Resources RequiredRecovery StrategyDigital LocationPhysical Copy LocationRTORPODate ObtainedConfirmed Process NumberCommentsAncestor CountCreated ByCreatedModified ByLatest CommentModifiedTitle
2Process 1Dependency 1, Dependency 2, Dependency 3Description 1All Site FunctionsAll site functions, ExternalImpact 1Workplace Outage:  Outage 1 Workaround System Outage:  Outage 2 Workaround  Outage 3 Workaround  Outage 4 Workaround  Outage 5 Workaround Limited Staff Availability:  Outage 6 Workaround TimeframeN/A
3App 1Process 1TimeframeTimeframe
4App 2Process 1TimeframeTimeframe
5App 3Process 1TimeframeTimeframe
6App 4Process 1TimeframeTimeframe
7App 5Process 1TimeframeTimeframe
8Process 2Dependency 1, Dependency 2, Dependency 3Description 2Operations converted into a forecast. Requirements handed down from Corp. FinanceImpact 2Workplace Outage:  Outage 1 Workaround System Outage:  Outage 2 Workaround Limited Staff Availability:  Outage 3 WorkaroundTimeframeComments
9App 1Process 2TimeframeTimeframe
10App 2Process 2TimeframeTimeframe
11App 3Process 2TimeframeTimeframe
12App 4Process 2TimeframeTimeframe
13App 5Process 2TimeframeTimeframe
14Process 3Dependency 1Description 3Master Schedule (ICT), Operations (provides realization / expectations) & non-labor cost expectations.Finance, Business Operations Leaders. Impact 3Workplace Outage:  Outage 1 Workaround System Outage:  Outage 2 Workaround Limited Staff Availability:  Outage 3 WorkaroundTimeframeComments
15App 1Process 3TimeframeTimeframe
16App 2Process 3TimeframeTimeframe
17App 3Process 3TimeframeTimeframe
18App 4Process 3TimeframeTimeframe
19App 5Process 3TimeframeTimeframe
Sheet2
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Forum statistics

Threads
1,225,626
Messages
6,186,089
Members
453,336
Latest member
Excelnoob223

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