Results 1 to 105 of 105

split Tables into multiple Tables for multiple sheets with different structure & arranging

Threaded View

  1. #1
    Forum Contributor
    Join Date
    12-02-2020
    Location
    Asia
    MS-Off Ver
    2010 & 2016 insider(Windows 10 64-bit)
    Posts
    726

    split Tables into multiple Tables for multiple sheets with different structure & arranging

    Hi experts
    I have data are not arranged when I use PQ it will make big chaos . so I think VBA could arrange this but with help from the experts .
    so I want split the TABLE in TT sheet into multiple tables for multiple sheets based on column A and rename the sheet based on column A for each TABLE .
    so TABLE1 =BS Q 4286.pdf start from row2:30 when split will rename the sheet to become is BS Q 4286.pdf when split TABLE should merge columns F,G with column E as in row2,row 25 will see that how merged as in BS Q 4286.pdf. and arrange the columns based on headers should be
    column A for BS Q 4286.pdf sheet=column H for TT sheet= ITEM
    column B for BS Q 4286.pdf sheet=column E for TT sheet=BRAND
    column C BS Q 4286.pdf sheet= column C for TT sheet=ORIGIN
    column D BS Q 4286.pdf sheet=column B for TT sheet=QTY
    ignore data in columns A,D, also F,G after merging (should merge items for column (G,F with column E)

    after split for BS Q 4286.pdf in column B should add to last item by short letters as in adjacent cell for ORIGIN column C which contain words based on matching between two columns in LISS sheet for each adjacent cell
    for instance :
    if the last item into cell IND for column B and the adjacent cell Indonesia for column C for BS Q 4286.pdf then the last item into cell for column B will become INDO based on matching between two columns in LISS sheet for each adjacent cell
    and if the last item into cell doesn't contain short letters then will add based on adjacent cell for ORIGIN column C like JAPAN to become in last item JAP for column B and if the last Item contains short letters like JAP or THI .... in column B then don't add any thing in last item
    as to name PR-2023-00001.pdf start from row31:43 when split will rename the sheet to become is PR-2023-00001 and arrange the columns based on headers should be
    column A for PR-2023-00001 sheet=column B for TT sheet= Sr
    column B for PR-2023-00001sheet=column D for TT sheet=DESCRIPTION
    column C for PR-2023-00001= column F for TT sheet=QTY
    ignore column A, D, E,G,H
    ignore data in columns D,E
    column F=QTY , but should delete UNIT word
    as to addition to last item by short letters should just add JAP without see LSS sheet because there is no ORIGIN column

    as to name STOCK B.S TO 31-10-2022.pdf start from row44:69 when split will rename the sheet to become is STOCK B.S TO 31-10-2022.pdf
    the column A for STOCK B.S TO 31-10-2022.pdf=column E for TT sheet =Sr
    the column B for STOCK B.S TO 31-10-2022.pdf=column D for TT sheet =Description
    the column C for STOCK B.S TO 31-10-2022.pdf=column B for TT sheet =ORIGIN
    the column D for STOCK B.S TO 31-10-2022.pdf=column C for TT sheet =QTY
    ignore data in columns A,F,G,H
    as t0 add short letters follow the same thing as in
    BS Q 4286.pdf sheet
    should split into multiple sheets & update the sheets have already divided when update TT sheet ,also will add new ranges for tt sheet with the same structure as in attachment .
    Attached Files Attached Files
    Last edited by abdo meghari; 03-04-2023 at 12:41 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 03-04-2022, 08:30 AM
  2. Replies: 6
    Last Post: 04-22-2021, 03:41 PM
  3. Replies: 7
    Last Post: 11-28-2020, 06:55 PM
  4. Delete and add rows to multiple tables on multiple sheets using inputbox
    By Oliver_watkins in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-03-2020, 04:56 AM
  5. Copy Paste multiple tables from multiple sheets into Outlook email
    By DoodlesMama in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-25-2015, 12:21 PM
  6. Pivot Tables - need to do separate pivot tables for multiple sheets in same format
    By tconnell1965 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-18-2013, 07:04 AM
  7. [SOLVED] Split a long table to multiple tables
    By amasson in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-02-2013, 05:37 AM

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