Preface: MicrosoftProject is not an option, and I am trying to avoid having to manually changecolumn names in the data output file. Thecolumns are not always in the same position in the data dump. Vlookup and Offset using the task numberdoesn’t work because the total number of activities on a given task varies, andtherefore, the next activity/occurrence will be in a different column with eachdownload.
I may be overlooking and/or overthinking something here,but I need some help. I have a dataoutput file from an older web-based tool that repeats column headers similar tothe table below, but with up to one hundred rows and a couple hundred columns. I need a way to return the second, third,fourth, etc. instances of a column header. The row headers are Task 1, Task 2, Task 3, Task 4, etc., and the datafile returns a repeating series of columns for each activity within the task:
<tbody>
[TD="width: 24, bgcolor: transparent"]
[/TD]
[TD="width: 48, bgcolor: transparent"]
[/TD]
[TD="width: 54, bgcolor: transparent"]
[/TD]
[TD="width: 126, bgcolor: transparent"]
[/TD]
[TD="width: 66, bgcolor: transparent"]
[/TD]
[TD="width: 78, bgcolor: transparent"]
[/TD]
[TD="width: 122, bgcolor: transparent"]
[/TD]
[TD="width: 52, bgcolor: transparent"]
[/TD]
[TD="width: 84, bgcolor: transparent"]
[/TD]
[TD="width: 102, bgcolor: transparent"]
[/TD]
[TD="width: 84, bgcolor: transparent"]
[/TD]
[TD="width: 108, bgcolor: transparent"]
[/TD]
[TD="width: 24, bgcolor: transparent"] 1 [/TD]
[TD="width: 48, bgcolor: transparent"] Task [/TD]
[TD="width: 54, bgcolor: transparent"] Activity No (index: 1) [/TD]
[TD="width: 126, bgcolor: transparent"] Activity Name [/TD]
[TD="width: 66, bgcolor: transparent"] Estimated Complete Date [/TD]
[TD="width: 78, bgcolor: transparent"] Actual Complete Date [/TD]
[TD="width: 122, bgcolor: transparent"] Status [/TD]
[TD="width: 52, bgcolor: transparent"] Activity No (index: 2) [/TD]
[TD="width: 84, bgcolor: transparent"] Activity Name [/TD]
[TD="width: 102, bgcolor: transparent"] Estimated Complete Date [/TD]
[TD="width: 84, bgcolor: transparent"] Actual Complete Date [/TD]
[TD="width: 108, bgcolor: transparent"] Status [/TD]
[TD="width: 24, bgcolor: transparent"] 2 [/TD]
[TD="width: 48, bgcolor: transparent"] Task 1 [/TD]
[TD="width: 54, bgcolor: transparent"] 1 [/TD]
[TD="width: 126, bgcolor: transparent"] Backup old computer [/TD]
[TD="width: 66, bgcolor: transparent"] 09/30/17 [/TD]
[TD="width: 78, bgcolor: transparent"] 10/01/18 [/TD]
[TD="width: 122, bgcolor: transparent"] Delayed due to lack of resources [/TD]
[TD="width: 52, bgcolor: transparent"] 2 [/TD]
[TD="width: 84, bgcolor: transparent"] Install new software [/TD]
[TD="width: 102, bgcolor: transparent"] 10/15/15 [/TD]
[TD="width: 84, bgcolor: transparent"] 10/15/15 [/TD]
[TD="width: 108, bgcolor: transparent"] Completed on time [/TD]
[TD="width: 24, bgcolor: transparent"] 3 [/TD]
[TD="width: 48, bgcolor: transparent"] Task 2 [/TD]
[TD="width: 54, bgcolor: transparent"] 1 [/TD]
[TD="width: 126, bgcolor: transparent"] Submit purchase order for approval [/TD]
[TD="width: 66, bgcolor: transparent"] 01/01/17 [/TD]
[TD="width: 78, bgcolor: transparent"] 01/01/17 [/TD]
[TD="width: 122, bgcolor: transparent"] Submitted on time [/TD]
[TD="width: 52, bgcolor: transparent"] 2 [/TD]
[TD="width: 84, bgcolor: transparent"] Order desks [/TD]
[TD="width: 102, bgcolor: transparent"] 01/02/17 [/TD]
[TD="width: 84, bgcolor: transparent"] 01/09/17 [/TD]
[TD="width: 108, bgcolor: transparent"] Delayed due to being out of office [/TD]
[TD="width: 24, bgcolor: transparent"] 4 [/TD]
[TD="width: 48, bgcolor: transparent"] Task 3 [/TD]
[TD="width: 54, bgcolor: transparent"] 1 [/TD]
[TD="width: 126, bgcolor: transparent"] Test work station [/TD]
[TD="width: 66, bgcolor: transparent"] 04/04/17 [/TD]
[TD="width: 78, bgcolor: transparent"] 03/01/17 [/TD]
[TD="width: 122, bgcolor: transparent"] Able to complete early due to other projects being on hold [/TD]
[TD="width: 52, bgcolor: transparent"] 2 [/TD]
[TD="width: 84, bgcolor: transparent"] Write test station report [/TD]
[TD="width: 102, bgcolor: transparent"] 04/11/17 [/TD]
[TD="width: 84, bgcolor: transparent"] 03/15/17 [/TD]
[TD="width: 108, bgcolor: transparent"] Able to write report early due to other projects being on hold [/TD]
</tbody>
What I need is a way to quickly status a given task andreview all activities and their estimated completion date, actual completiondate, and status. My first thought waspivot table where the user could filter on the task. I need something like this:
[TABLE="width: 603"]
<tbody>[TR]
[TD="width: 90"] Task (Filter):
[/TD]
[TD="width: 168"] Task 1
[/TD]
[TD="width: 168, bgcolor: transparent"][/TD]
[TD="width: 156, bgcolor: transparent"][/TD]
[TD="width: 222, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 90, bgcolor: transparent"]
[/TD]
[TD="width: 168, bgcolor: transparent"]
[/TD]
[TD="width: 168, bgcolor: transparent"][/TD]
[TD="width: 156, bgcolor: transparent"][/TD]
[TD="width: 222, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 90"] Activity No
[/TD]
[TD="width: 168"] Activity Name
[/TD]
[TD="width: 168"] Estimated Complete Date
[/TD]
[TD="width: 156"] Actual Complete Date
[/TD]
[TD="width: 222"] Status
[/TD]
[/TR]
[TR]
[TD="width: 90, bgcolor: transparent"] [/TD]
[TD="width: 168, bgcolor: transparent"] Backup old computer
[/TD]
[TD="width: 168, bgcolor: transparent"] [/TD]
[TD="width: 156, bgcolor: transparent"] [/TD]
[TD="width: 222, bgcolor: transparent"] Delayed due to lack of resources
[/TD]
[/TR]
[TR]
[TD="width: 90, bgcolor: transparent"] [/TD]
[TD="width: 168, bgcolor: transparent"] Install new software
[/TD]
[TD="width: 168, bgcolor: transparent"] [/TD]
[TD="width: 156, bgcolor: transparent"] [/TD]
[TD="width: 222, bgcolor: transparent"] Completed on time
[/TD]
[/TR]
</tbody>[/TABLE]
Because each “Activity no” column has its own indexnumber designation in the title, but the subsequent fields do not, I’m not ableto compile the data in clean pivot table with the activity on the left and thedates and status in columns. My solutionwas to pivot based on row headers in compact format, tweak to formatting, andthen do index/match to pull the estimated completion date.
Because he columns are not always in the same positionbased on the data dump, the index/match function works well. In cell C11, I have used:
=INDEX($A$2:$K$4,MATCH($C$8,$A$2:$A$4,0),MATCH(C10,$A$1:$K$1,0))
What I need help with is the yellow cells below. How can I get Excel to look at the data dumpand either pull the next instance of Estimated Completion Date to cell C12, ormatch both the task number and the row label and return the estimatedcompletion date? The total number ofactivities on a given task varies, and therefore, the next occurrence will bein a different column for each task. However, the activity number, activity name,estimated completion date, actual completion date and status always repeatorder. Is there a way to somehow embedand offset based on activity number within the index match function?
[TABLE="width: 604"]
<tbody>[TR]
[TD="width: 139, bgcolor: transparent"][/TD]
[TD="width: 139, bgcolor: transparent"] [/TD]
[TD="width: 175, bgcolor: transparent"] [/TD]
[TD="width: 152, bgcolor: transparent"] [/TD]
[TD="width: 201, bgcolor: transparent"] [/TD]
[/TR]
[TR]
[TD="width: 139, bgcolor: transparent"][/TD]
[TD="width: 139"] Task
[/TD]
[TD="width: 175"] Task 1
[/TD]
[TD="width: 152, bgcolor: transparent"][/TD]
[TD="width: 201, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 139, bgcolor: transparent"][/TD]
[TD="width: 139, bgcolor: transparent"][/TD]
[TD="width: 175, bgcolor: transparent"][/TD]
[TD="width: 152, bgcolor: transparent"][/TD]
[TD="width: 201, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 139, bgcolor: transparent"] [/TD]
[TD="width: 139"] Row Labels
[/TD]
[TD="width: 175"] Estimated Completion Date
[/TD]
[TD="width: 152"] Actual Complete Date
[/TD]
[TD="width: 201"] Comment
[/TD]
[/TR]
[TR]
[TD="width: 139, bgcolor: transparent"] [/TD]
[TD="width: 139, bgcolor: transparent"] Backup old computer
[/TD]
[TD="width: 175, bgcolor: transparent"] [/TD]
[TD="width: 152, bgcolor: transparent"] [/TD]
[TD="width: 201, bgcolor: transparent"] Delayed due to lack of resources
[/TD]
[/TR]
[TR]
[TD="width: 139, bgcolor: transparent"] [/TD]
[TD="width: 139, bgcolor: transparent"] Install new software
[/TD]
[TD="width: 175"]
[/TD]
[TD="width: 152"]
[/TD]
[TD="width: 201"]
[/TD]
[/TR]
</tbody>[/TABLE]
I may be overlooking and/or overthinking something here,but I need some help. I have a dataoutput file from an older web-based tool that repeats column headers similar tothe table below, but with up to one hundred rows and a couple hundred columns. I need a way to return the second, third,fourth, etc. instances of a column header. The row headers are Task 1, Task 2, Task 3, Task 4, etc., and the datafile returns a repeating series of columns for each activity within the task:
[TD="width: 48, bgcolor: transparent"]
A
[TD="width: 54, bgcolor: transparent"]
B
[TD="width: 126, bgcolor: transparent"]
C
[TD="width: 66, bgcolor: transparent"]
D
[TD="width: 78, bgcolor: transparent"]
E
[TD="width: 122, bgcolor: transparent"]
F
[TD="width: 52, bgcolor: transparent"]
G
[TD="width: 84, bgcolor: transparent"]
H
[TD="width: 102, bgcolor: transparent"]
I
[TD="width: 84, bgcolor: transparent"]
J
[TD="width: 108, bgcolor: transparent"]
K
[TD="width: 24, bgcolor: transparent"] 1 [/TD]
[TD="width: 48, bgcolor: transparent"] Task [/TD]
[TD="width: 54, bgcolor: transparent"] Activity No (index: 1) [/TD]
[TD="width: 126, bgcolor: transparent"] Activity Name [/TD]
[TD="width: 66, bgcolor: transparent"] Estimated Complete Date [/TD]
[TD="width: 78, bgcolor: transparent"] Actual Complete Date [/TD]
[TD="width: 122, bgcolor: transparent"] Status [/TD]
[TD="width: 52, bgcolor: transparent"] Activity No (index: 2) [/TD]
[TD="width: 84, bgcolor: transparent"] Activity Name [/TD]
[TD="width: 102, bgcolor: transparent"] Estimated Complete Date [/TD]
[TD="width: 84, bgcolor: transparent"] Actual Complete Date [/TD]
[TD="width: 108, bgcolor: transparent"] Status [/TD]
[TD="width: 24, bgcolor: transparent"] 2 [/TD]
[TD="width: 48, bgcolor: transparent"] Task 1 [/TD]
[TD="width: 54, bgcolor: transparent"] 1 [/TD]
[TD="width: 126, bgcolor: transparent"] Backup old computer [/TD]
[TD="width: 66, bgcolor: transparent"] 09/30/17 [/TD]
[TD="width: 78, bgcolor: transparent"] 10/01/18 [/TD]
[TD="width: 122, bgcolor: transparent"] Delayed due to lack of resources [/TD]
[TD="width: 52, bgcolor: transparent"] 2 [/TD]
[TD="width: 84, bgcolor: transparent"] Install new software [/TD]
[TD="width: 102, bgcolor: transparent"] 10/15/15 [/TD]
[TD="width: 84, bgcolor: transparent"] 10/15/15 [/TD]
[TD="width: 108, bgcolor: transparent"] Completed on time [/TD]
[TD="width: 24, bgcolor: transparent"] 3 [/TD]
[TD="width: 48, bgcolor: transparent"] Task 2 [/TD]
[TD="width: 54, bgcolor: transparent"] 1 [/TD]
[TD="width: 126, bgcolor: transparent"] Submit purchase order for approval [/TD]
[TD="width: 66, bgcolor: transparent"] 01/01/17 [/TD]
[TD="width: 78, bgcolor: transparent"] 01/01/17 [/TD]
[TD="width: 122, bgcolor: transparent"] Submitted on time [/TD]
[TD="width: 52, bgcolor: transparent"] 2 [/TD]
[TD="width: 84, bgcolor: transparent"] Order desks [/TD]
[TD="width: 102, bgcolor: transparent"] 01/02/17 [/TD]
[TD="width: 84, bgcolor: transparent"] 01/09/17 [/TD]
[TD="width: 108, bgcolor: transparent"] Delayed due to being out of office [/TD]
[TD="width: 24, bgcolor: transparent"] 4 [/TD]
[TD="width: 48, bgcolor: transparent"] Task 3 [/TD]
[TD="width: 54, bgcolor: transparent"] 1 [/TD]
[TD="width: 126, bgcolor: transparent"] Test work station [/TD]
[TD="width: 66, bgcolor: transparent"] 04/04/17 [/TD]
[TD="width: 78, bgcolor: transparent"] 03/01/17 [/TD]
[TD="width: 122, bgcolor: transparent"] Able to complete early due to other projects being on hold [/TD]
[TD="width: 52, bgcolor: transparent"] 2 [/TD]
[TD="width: 84, bgcolor: transparent"] Write test station report [/TD]
[TD="width: 102, bgcolor: transparent"] 04/11/17 [/TD]
[TD="width: 84, bgcolor: transparent"] 03/15/17 [/TD]
[TD="width: 108, bgcolor: transparent"] Able to write report early due to other projects being on hold [/TD]
</tbody>
What I need is a way to quickly status a given task andreview all activities and their estimated completion date, actual completiondate, and status. My first thought waspivot table where the user could filter on the task. I need something like this:
[TABLE="width: 603"]
<tbody>[TR]
[TD="width: 90"] Task (Filter):
[/TD]
[TD="width: 168"] Task 1
[/TD]
[TD="width: 168, bgcolor: transparent"][/TD]
[TD="width: 156, bgcolor: transparent"][/TD]
[TD="width: 222, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 90, bgcolor: transparent"]
[/TD]
[TD="width: 168, bgcolor: transparent"]
[/TD]
[TD="width: 168, bgcolor: transparent"][/TD]
[TD="width: 156, bgcolor: transparent"][/TD]
[TD="width: 222, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 90"] Activity No
[/TD]
[TD="width: 168"] Activity Name
[/TD]
[TD="width: 168"] Estimated Complete Date
[/TD]
[TD="width: 156"] Actual Complete Date
[/TD]
[TD="width: 222"] Status
[/TD]
[/TR]
[TR]
[TD="width: 90, bgcolor: transparent"]
1
[TD="width: 168, bgcolor: transparent"] Backup old computer
[/TD]
[TD="width: 168, bgcolor: transparent"]
9/30/2017
[TD="width: 156, bgcolor: transparent"]
10/1/2018
[TD="width: 222, bgcolor: transparent"] Delayed due to lack of resources
[/TD]
[/TR]
[TR]
[TD="width: 90, bgcolor: transparent"]
2
[TD="width: 168, bgcolor: transparent"] Install new software
[/TD]
[TD="width: 168, bgcolor: transparent"]
10/15/2015
[TD="width: 156, bgcolor: transparent"]
10/15/2015
[TD="width: 222, bgcolor: transparent"] Completed on time
[/TD]
[/TR]
</tbody>[/TABLE]
Because each “Activity no” column has its own indexnumber designation in the title, but the subsequent fields do not, I’m not ableto compile the data in clean pivot table with the activity on the left and thedates and status in columns. My solutionwas to pivot based on row headers in compact format, tweak to formatting, andthen do index/match to pull the estimated completion date.
Because he columns are not always in the same positionbased on the data dump, the index/match function works well. In cell C11, I have used:
=INDEX($A$2:$K$4,MATCH($C$8,$A$2:$A$4,0),MATCH(C10,$A$1:$K$1,0))
What I need help with is the yellow cells below. How can I get Excel to look at the data dumpand either pull the next instance of Estimated Completion Date to cell C12, ormatch both the task number and the row label and return the estimatedcompletion date? The total number ofactivities on a given task varies, and therefore, the next occurrence will bein a different column for each task. However, the activity number, activity name,estimated completion date, actual completion date and status always repeatorder. Is there a way to somehow embedand offset based on activity number within the index match function?
[TABLE="width: 604"]
<tbody>[TR]
[TD="width: 139, bgcolor: transparent"][/TD]
[TD="width: 139, bgcolor: transparent"]
B
[TD="width: 175, bgcolor: transparent"]
C
[TD="width: 152, bgcolor: transparent"]
D
[TD="width: 201, bgcolor: transparent"]
E
[/TR]
[TR]
[TD="width: 139, bgcolor: transparent"][/TD]
[TD="width: 139"] Task
[/TD]
[TD="width: 175"] Task 1
[/TD]
[TD="width: 152, bgcolor: transparent"][/TD]
[TD="width: 201, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 139, bgcolor: transparent"][/TD]
[TD="width: 139, bgcolor: transparent"][/TD]
[TD="width: 175, bgcolor: transparent"][/TD]
[TD="width: 152, bgcolor: transparent"][/TD]
[TD="width: 201, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 139, bgcolor: transparent"]
10
[TD="width: 139"] Row Labels
[/TD]
[TD="width: 175"] Estimated Completion Date
[/TD]
[TD="width: 152"] Actual Complete Date
[/TD]
[TD="width: 201"] Comment
[/TD]
[/TR]
[TR]
[TD="width: 139, bgcolor: transparent"]
11
[TD="width: 139, bgcolor: transparent"] Backup old computer
[/TD]
[TD="width: 175, bgcolor: transparent"]
9/30/2017
[TD="width: 152, bgcolor: transparent"]
10/1/2018
[TD="width: 201, bgcolor: transparent"] Delayed due to lack of resources
[/TD]
[/TR]
[TR]
[TD="width: 139, bgcolor: transparent"]
12
[TD="width: 139, bgcolor: transparent"] Install new software
[/TD]
[TD="width: 175"]
[/TD]
[TD="width: 152"]
[/TD]
[TD="width: 201"]
[/TD]
[/TR]
</tbody>[/TABLE]