Consulting

Results 1 to 5 of 5

Thread: Help with analysing consistencies in data set

  1. #1
    VBAX Regular
    Joined
    Jun 2018
    Posts
    42
    Location

    Help with analysing consistencies in data set

    Hi All,

    I was wondering if someone could help me write some vba code for an analysis I need to perform (if its even possible)


    I need to identify which unit ID’s share the same “role” and“value” data based on the “order” for each “form type”.



    I was thinking the output could look something like the below with the org units that share the same data displayed in a comma separated list.




    But if there’s an easier way id be more than happy to change the output. Id probably be looking at performing this function for 15’000 rows of data max.


    I have attached an example file with 2 sheets with the data and the output.


    Any help would be much appreciated.
    Attached Files Attached Files

  2. #2
    VBAX Regular
    Joined
    Oct 2018
    Posts
    7
    Location
    Dear CJW_14,

    If you need an output without writing VBA Code, try look "Output 2" sheet in the attached file. You can use "pivot" and "Text to Columns" functions in Excel for analsysing.

    Regard!
    Attached Files Attached Files

  3. #3
    VBAX Regular
    Joined
    Jun 2018
    Posts
    42
    Location
    Hi tttin20,

    Thanks heaps for reply, appreciate it. the output is on the right track but im looking for a solution that can output the unique combinations onto a single row if that makes sense.

  4. #4
    VBAX Regular
    Joined
    Oct 2018
    Posts
    7
    Location
    Dear CJW_14,

    I wrote some code and the unique combinations are different from your output but still in a single row. Try Click the "RUN" button and get the result.

    P/S: I's not make up the code yet.

    Regard!
    Attached Files Attached Files

  5. #5
    VBAX Regular
    Joined
    Jun 2018
    Posts
    42
    Location
    Hi tttin20,

    Thanks alot for your time creating this , Ill have a play with it. Its close but not grouping the output quite right. When you look at the output vs source:

    Output says 10000001,10000002,10000003 units only contain Employee/blank for leave.



    But the source data actually has more records (orders) associated with that unit/ form type. Basically its workflow data, the order column is a recipient. So im trying to determine which units share the same routing path and show that on a single row

Posting Permissions

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