Short and split common multicolumn value

  • Re: Short and split common multicolumn value


    - What is the problem?
    - What have you tried?


    This is extremely vague, and without any detail you will probably find people are unwilling to look any further. Please explain fully in your post what you are looking to achieve and what you think is stopping you from achieving it.

  • Re: Short and split common multicolumn value


    Dear Sir,
    Thanks for your reply .I am trying to extra explain in attached file.Its working fine with me.
    I used macro I column with split separate sheets.
    Now I need additional macro code for below details:



    Now:
    [TABLE="class: grid, width: 500, align: left"]

    [tr]


    [td]

    Date

    [/td]


    [td]

    M/C No

    [/td]


    [td]

    P.O No

    [/td]


    [td]

    Drg No

    [/td]


    [td]

    Drg Name

    [/td]


    [td]

    Operation No

    [/td]


    [td]

    M/c Time

    [/td]


    [td]

    Load time

    [/td]


    [td]

    Total Time

    [/td]


    [td]

    Shif A

    [/td]


    [/tr]


    [tr]


    [td]

    1

    [/td]


    [td]

    M2

    [/td]


    [td]

    1.1

    [/td]


    [td]

    DRG1

    [/td]


    [td]

    DF

    [/td]


    [td]

    1

    [/td]


    [td]

    10

    [/td]


    [td]

    2

    [/td]


    [td]

    12

    [/td]


    [td]

    10

    [/td]


    [/tr]


    [tr]


    [td]

    1

    [/td]


    [td]

    M2

    [/td]


    [td]

    1.1

    [/td]


    [td]

    DRG1

    [/td]


    [td]

    DF

    [/td]


    [td]

    1

    [/td]


    [td]

    10

    [/td]


    [td]

    2

    [/td]


    [td]

    12

    [/td]


    [td]

    20

    [/td]


    [/tr]


    [tr]


    [td]

    2

    [/td]


    [td]

    M3

    [/td]


    [td]

    1.2

    [/td]


    [td]

    DRG2

    [/td]


    [td]

    DG

    [/td]


    [td]

    1

    [/td]


    [td]

    5

    [/td]


    [td]

    3

    [/td]


    [td]

    8

    [/td]


    [td]

    20

    [/td]


    [/tr]


    [tr]


    [td]

    2

    [/td]


    [td]

    M3

    [/td]


    [td]

    1.2

    [/td]


    [td]

    DRG2

    [/td]


    [td]

    DG

    [/td]


    [td]

    2

    [/td]


    [td]

    4

    [/td]


    [td]

    1

    [/td]


    [td]

    5

    [/td]


    [td]

    50

    [/td]


    [/tr]


    [/TABLE]















    After


    [TABLE="class: grid, width: 500, align: left"]

    [tr]


    [td]

    Date

    [/td]


    [td]

    M/C No

    [/td]


    [td]

    P.O No

    [/td]


    [td]

    Drg No

    [/td]


    [td]

    Drg Name

    [/td]


    [td]

    Operation No

    [/td]


    [td]

    M/c Time

    [/td]


    [td]

    Load time

    [/td]


    [td]

    Total Time

    [/td]


    [td]

    Shif A

    [/td]


    [td]

    Shif B

    [/td]


    [/tr]


    [tr]


    [td]

    1

    [/td]


    [td]

    M2

    [/td]


    [td]

    1.1

    [/td]


    [td]

    DRG1

    [/td]


    [td]

    DF

    [/td]


    [td]

    1

    [/td]


    [td]

    10

    [/td]


    [td]

    2

    [/td]


    [td]

    12

    [/td]


    [td]

    10

    [/td]


    [td]

    20

    [/td]


    [/tr]


    [tr]


    [td]

    2

    [/td]


    [td]

    M3

    [/td]


    [td]

    1.2

    [/td]


    [td]

    DRG2

    [/td]


    [td]

    DG

    [/td]


    [td]

    1

    [/td]


    [td]

    5

    [/td]


    [td]

    3

    [/td]


    [td]

    8

    [/td]


    [td]

    20

    [/td]


    [td][/td]


    [/tr]


    [tr]


    [td]

    2

    [/td]


    [td]

    M3

    [/td]


    [td]

    1.2

    [/td]


    [td]

    DRG2

    [/td]


    [td]

    DG

    [/td]


    [td]

    2

    [/td]


    [td]

    4

    [/td]


    [td]

    1

    [/td]


    [td]

    5

    [/td]


    [td][/td]


    [td]

    50

    [/td]


    [/tr]


    [/TABLE]









    If column 1 to column 6 is same data then Shift B data will come in after shift A coloumn.


    So Kindly convert my macro code











    Quote from S O;743850

    - What is the problem?
    - What have you tried?


    This is extremely vague, and without any detail you will probably find people are unwilling to look any further. Please explain fully in your post what you are looking to achieve and what you think is stopping you from achieving it.

  • Re: Short and split common multicolumn value


    Try this:-
    NB:- Your data is assumed to start in "A1" Reference the header word "Date".
    The results start Sheet2 "A1".

  • Re: Short and split common multicolumn value


    Daer Mr.MickG,
    Thanks for your reply and gave me your valuable time .
    Kindly see the example file ,How I need explained detail in sheetnow.



    If column A to column I is same then data should be split in accordingly date,machine and shift reference in same line.
    if
    column A to column I if different in any data then A shift data will go shift A column in respectively heading.


    kindly change code accordingly.
    Thanks in Advance.


    god_karthi

  • Re: Short and split common multicolumn value


    Please supply a more comprehensive "After" sheet. Your requirements are not too clear from the limited data shown.

  • Re: Short and split common multicolumn value


    Dear Mr.MickG,
    Once more I grate thanks full to you for spend your valuable time.I explain more to this time in attached file with "After" Sheet.I hope in this time you will understand what I am required.


    Actually this is Production report consolidated with respect to machine ,Date,Item,Shift wise.


    my data will constant row with "Column A to Column I". after that data will change accordingly in shift wise.(same data then come same row,different data different row with shift A or Shift B wise).
    same data will be available only two rows only (not available more that two row).




    • If Master sheet "Column A to Column I" data is same then (Green color) data will change as shown green color .Master Sheet Column J will shifted to each category Like shift A and Shift B green color shown data.
    • If Master sheet Column A to Column I is not same then (Yellow color) data will change as shown Blue color .Master Sheet Column J will sifted to each category Like shift A and Shift B blue color shown data. (shifted automatically Shift A data to Shift A and Shift B data to Shift B)
    • I need constant reference is Column B data and split to Date wise.
    • if same date and same machine will run same item then I need same row,if any thing is different then different row with data accordingly shift wise.


    This kind of data i want to split in full month.
    I hope this will help to you better understand.
    Thanks in advance.


    god_karthi

  • Re: Short and split common multicolumn value


    Try this:-
    Nb:- Data from sheet "Master", results in sheet "Results" start "A4".
    This code and its results are based on the results in sheet "After".( Latest )

  • Re: Short and split common multicolumn value


    Dear Mr.MickG,
    Amazing thanks for your valuable help you saved my lot of time and it works perfect what I need exactly.
    once more I thanks for you with your brilliant work done for me.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!