Hi! This is my first post though I think I've come to MrExcel forums thousands of times.
I have a very large data set I'm analysing. What I'm doing is taking a fixed activity in time in a plan and working backwards to find all the activities that lead up to it. I've included a sort of snapshot of what I mean below. Except instead of 11 rows, I have 95,000. Of those 95k rows I've managed to rationalise it down to 5k and of those 5k isolated 700 erroneous tasks!
So for each of those 700 activities I have to again trace back down from the starting activity to the erroneous activity so I can analyse how it's linked and which link is throwing the error. It's not something I can automate and has to be done by a skilled human. Doing this in Excel doesn't work very well because it's just a mess of several hundred interlinked activities, so it'd be good to get a visualisation showing the links and then it would be very quick to work out which is the odd one out.
Drawing 700 Visio diagrams is a bit of a PITA and I've not touched writing MS Visio objects in Excel - any chance of some help? Ideally I just want to create a box with the project id, activity id and date concatenated into it (so no objects/templates (? Not sure if this is correct terminology) required!) and link each task as below. We can assume that the active sheet contains all the rows and is just drawing from it (no input boxes to draw from or to etc). It's not a one off, once I've got some idea how this stuff works I hope to build on it a bit.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Predecessor[/TD]
[TD]Project ID[/TD]
[TD]Activity ID[/TD]
[TD]Date[/TD]
[TD]Successor
[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]activity A project ID txt
[/TD]
[TD]Activity A activity ID txt
[/TD]
[TD]Activity A Date txt
[/TD]
[TD]B
[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]etc
project ID txt
[/TD]
[TD]activity ID txt[/TD]
[TD]Date txt[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]project ID txt[/TD]
[TD]activity ID txt[/TD]
[TD]Date txt[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]project ID txt[/TD]
[TD]activity ID txt[/TD]
[TD]Date txt[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]project ID txt[/TD]
[TD]activity ID txt[/TD]
[TD]Date txt[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD]project ID txt[/TD]
[TD]activity ID txt[/TD]
[TD]Date txt[/TD]
[TD]G[/TD]
[/TR]
[TR]
[TD]F[/TD]
[TD]project ID txt[/TD]
[TD]activity ID txt[/TD]
[TD]Date txt[/TD]
[TD]H[/TD]
[/TR]
[TR]
[TD]G[/TD]
[TD]project ID txt[/TD]
[TD]activity ID txt[/TD]
[TD]Date txt[/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD]H[/TD]
[TD]project ID txt[/TD]
[TD]activity ID txt[/TD]
[TD]Date txt[/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD]I[/TD]
[TD]project ID txt[/TD]
[TD]activity ID txt[/TD]
[TD]Date txt[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Help very much appreciated!
I have a very large data set I'm analysing. What I'm doing is taking a fixed activity in time in a plan and working backwards to find all the activities that lead up to it. I've included a sort of snapshot of what I mean below. Except instead of 11 rows, I have 95,000. Of those 95k rows I've managed to rationalise it down to 5k and of those 5k isolated 700 erroneous tasks!
So for each of those 700 activities I have to again trace back down from the starting activity to the erroneous activity so I can analyse how it's linked and which link is throwing the error. It's not something I can automate and has to be done by a skilled human. Doing this in Excel doesn't work very well because it's just a mess of several hundred interlinked activities, so it'd be good to get a visualisation showing the links and then it would be very quick to work out which is the odd one out.
Drawing 700 Visio diagrams is a bit of a PITA and I've not touched writing MS Visio objects in Excel - any chance of some help? Ideally I just want to create a box with the project id, activity id and date concatenated into it (so no objects/templates (? Not sure if this is correct terminology) required!) and link each task as below. We can assume that the active sheet contains all the rows and is just drawing from it (no input boxes to draw from or to etc). It's not a one off, once I've got some idea how this stuff works I hope to build on it a bit.
[TABLE="width: 500"]
<tbody>[TR]
[TD]Predecessor[/TD]
[TD]Project ID[/TD]
[TD]Activity ID[/TD]
[TD]Date[/TD]
[TD]Successor
[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]activity A project ID txt
[/TD]
[TD]Activity A activity ID txt
[/TD]
[TD]Activity A Date txt
[/TD]
[TD]B
[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]etc
project ID txt
[/TD]
[TD]activity ID txt[/TD]
[TD]Date txt[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]project ID txt[/TD]
[TD]activity ID txt[/TD]
[TD]Date txt[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]project ID txt[/TD]
[TD]activity ID txt[/TD]
[TD]Date txt[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]project ID txt[/TD]
[TD]activity ID txt[/TD]
[TD]Date txt[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD]project ID txt[/TD]
[TD]activity ID txt[/TD]
[TD]Date txt[/TD]
[TD]G[/TD]
[/TR]
[TR]
[TD]F[/TD]
[TD]project ID txt[/TD]
[TD]activity ID txt[/TD]
[TD]Date txt[/TD]
[TD]H[/TD]
[/TR]
[TR]
[TD]G[/TD]
[TD]project ID txt[/TD]
[TD]activity ID txt[/TD]
[TD]Date txt[/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD]H[/TD]
[TD]project ID txt[/TD]
[TD]activity ID txt[/TD]
[TD]Date txt[/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD]I[/TD]
[TD]project ID txt[/TD]
[TD]activity ID txt[/TD]
[TD]Date txt[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Help very much appreciated!
Last edited: