+ Reply to Thread
Results 1 to 4 of 4

Looking to extract various data points from a string of text to make a schedule.

  1. #1
    Registered User
    Join Date
    12-14-2020
    Location
    Puslinch Ontario
    MS-Off Ver
    365
    Posts
    18

    Looking to extract various data points from a string of text to make a schedule.

    Here's a dousy. The jist - I'm making a schedule for a fabrication shop and want to have the general "people x days" so you can ask "What's mark doing Jan 5th?" and I can tell you. But below that I want to effectively sort by project, so you can look at 'When is project 'Bridge' being worked on? or 'When is project Bridge being Welded?'

    In this set up, each cell is effectively 1 day or 8 hours. This schedule is very straight forward to make with day long tasks, as you can play with index_match combos, if's, search, find, etc. The problem I am running into is when I want to be able to demonstrate 1 person working on various projects per day. What if Kevin was welding 4 different projects that each take 2 hours? What if Kevin and Mark are both working on 1 project for 2 hours each.

    As such, I wanted the person x days to be my input, as there can theoretically be x number of jobs on the schedule at once and it makes more sense to me to pencil those in manually, and have the extraction from that into its respective project timeline below.

    I'll try to cut to where i'm at:

    Job Title: 1515
    Projects: Bridge, Railing
    Aspects within Projects:
    Bridge - Base, Support, Mesh
    Railing - corner, straight
    Actions within each project: fit, weld, assemble, machine
    Workers: Randy, Kevin

    Fundamentally I want to be able to schedule "Kevin to fit the corner railing piece on Jan 5".

    To lay this out:
    I want to have 1 more lvl (1.1.1.1) where I show either workers or action. I will take whatever is easiest to implement at this point. I have shown example of by worker in 1.1.1.1 and by action in 1.2.1.1.

    05-JaN______________________06-Jan ________________ 07-Jan 08-Jan 09-Jan
    Randy 1515_Bridge_Base_Fit_05
    Kevin 1515_Railing_Corner_Weld_02

    1 1515
    1.1 Bridge
    1.1.1 Base
    Kevin Fit_05
    Randy
    1.1.2 Support
    1.1.3 Mesh

    1.2 Railing
    1.2.1 Corner
    Fit weld_02
    Weld
    1.2.2 Straight


    This is very easy to extract into "Fit_05" and "Weld_02" and currently i'm doing with search to match terms, then extract only the last part of the string. The problem is if one of those tasks is less than a day, and one person is working 2 projects.

    What if it was:

    Randy 1515_Bridge_Base_Fit_4, 1515_Bridge_Base_Weld_4.

    Or what if 2 people were working on the base so I have the same data in 2 cells?

    Without blowing up this thread from this past 40 hrs of work on this, my issues are:
    If I have the subset by workers, I need to be able to return multiple actions in 1 day :
    Kevin: (fit_03, weld_02,mach_04).
    The only way i've found to effectively do this is with a combination of TEXTJOIN, SEARCH, FIND, to effectively find the phrase 1515_Bridge_Base in each comma delimited string, and return the last 5 digits of each of those comma delimited strings. This will blow up the function by the 5th or 6th task as i'd need to find the 5th comma to progress, for example

    If I have subset by action, the problem is if 2 different people work on the same project, as id need to show 2 people in 1 cell. I can't quite get this to go because my thinking is I need to match the term 1515_Bridge_Base to an array (the column of what all workers are doing that day), and for every match, return the data from the first column (name of the worker), but return all of this to 1 cell so I can get:
    Fit Kevin, Randy


    I hope this wasn't the most confusing question, but basically I need to match up my project list to the schedule list, and either return all workers performing the same action on the same project on a given day (return: [Randy, Kevin]) or I need to return all the actions that are occuring for a given worker on a given project day (return: Kevin [1515_Bridge_Base_Fit_05, 1515_Bridge, Base_Weld_03]).
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,397

    Re: Looking to extract various data points from a string of text to make a schedule.

    Tbenz,

    Challenge seems ideal for two Pivot Tables, one showing the workload based on the personnel, and the other based on the project, both drawing on a single Table where each row was an employee carrying out some stage of a Project.

    I'll try and put a sample together later today.

    Ochimus

  3. #3
    Valued Forum Contributor
    Join Date
    01-16-2012
    Location
    England
    MS-Off Ver
    MS 365
    Posts
    1,397

    Re: Looking to extract various data points from a string of text to make a schedule.

    Tbenz,

    Attached is a DATABASE where each row lists the Project, the Assembly (e.g. the Guard Assembly), the Component (e.g. the Drive Mechanism), the Process (e.g. fitting it), the date the work was carried out, who worked on it and how many hours they took.

    If more than one person works on the same job they are show on separate rows but with identical information where relevant, as on rows 6 and 7, which show Liam and Richard both worked for an hour assembling the Guard Bottom on 2 Jan.

    WORKLOAD sheet then summarises the data in two Pivot Tables. The one on the left lists activity by each worker, and the one on the right lists each activity by Project, Assembly, Component and Process, showing who covered it and for how many hours.

    You want to see whether someone worked on various projects on a date. On the left you see Fred worked for twenty two hours on Project 1234 over 2nd and 3rd Jan, twelve machining, six assembling and four testing. If the Database had additional Projects that he worked on that day, they would have been listed separately, as Col A brings together the work by Project number.

    You also wanted to see when more than one person worked on the same Project in the day. The Pivot Table on the right does that. You can see Liam and Richard working together for an hour each assembling the Guard Bottom, and again the Guard Top Door 919 and Reinforcement Channel.

    Clicking either date in the "Slicer" below the tables shows only the workload relating to that date.

    Hope you find this approach useful?

    Ochimus
    Attached Files Attached Files
    Last edited by Ochimus; 12-22-2020 at 03:45 PM.

  4. #4
    Registered User
    Join Date
    12-14-2020
    Location
    Puslinch Ontario
    MS-Off Ver
    365
    Posts
    18

    Re: Looking to extract various data points from a string of text to make a schedule.

    Ochimus,

    This is very interesting and may be the right way to go through this actually. I've attached the schedule that I had brute force made up, and have made a poormans version of MS Project in some sense. But it definitely is not readily readable and doesnt allow for a super easy transition of high level detail needed on my end to be summarized to quick info for management.

    With my current schedule, if you input any of the search terms located in column C into the schedule area (top 5 rows) followed by hours: SearchTermData_x.x hours and then that extrapolates into the project data below. This helps during scheduling as the schedule changes frequently but this doesnt make the information very presentable.

    I want to take some of my points and mesh it with your ideas, as the issue as I see it posssibly with your information is the proper input of data into the database accounting for certain constraints (when a project can begin, when someone is available, etc).:
    with my schedule I set it up so you can what dates are available as your scheduling
    With your database, it's not as easy to infer things during scheduling such is 'does this user have available time? Can this project start yet?' as i'd have to input the data into the database.

    So brainstorming, in some ways creating some sort of critical path analysis might actually be useful, as I could somehow extract that information into the database you have, which can then be flipped into the pivot table.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] extract data from string of text
    By L.LEE in forum Excel General
    Replies: 6
    Last Post: 10-04-2018, 09:42 PM
  2. Extract Data from a text string
    By Atul Maskara in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 09-08-2014, 08:56 AM
  3. [SOLVED] Extract data from text string
    By cmb80 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-12-2014, 11:53 AM
  4. [SOLVED] Extract data from text string
    By cmb80 in forum Excel General
    Replies: 14
    Last Post: 07-16-2014, 11:29 AM
  5. [SOLVED] Extract text from a given point in a text string, when data points do not share the given
    By reedersketer in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-09-2014, 03:57 PM
  6. Extract data from text string
    By bigband1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-24-2011, 04:55 AM
  7. Extract number data string from text
    By lamatao in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-03-2009, 04:27 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1