+ Reply to Thread
Results 1 to 6 of 6

Formated copy of table

  1. #1
    Registered User
    Join Date
    03-08-2018
    Location
    Poland
    MS-Off Ver
    2016
    Posts
    3

    Formated copy of table

    Hi All,

    I'm not good with Excel and this is my first thread so please be forgiving for me .

    I have got excel (version 2016) file with table filled by external application and results in table are like 3#Music (id#category). I have to do template which will show formatted data. In same file i want to make copy of that table or range but with formatted data without prefix id# or formated original table like that. I don't know number of rows (number of columns is always same). Second problem is the table is between other datas and i'm wondering is it possible to represent formatted data from table in some way that will take always same number of rows in sheet (sheet is a form to print).

    Regards.

  2. #2
    Forum Guru Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016
    Posts
    4,807

    Re: Formated copy of table

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    =IF(question_answered=TRUE,mark_thread="solved")
    =IF(someone_helped=TRUE,Reputation=Reputation+1)


    Walking the tightrope between genius and eejit...

    My Excel blog: http://excel.solutions

  3. #3
    Registered User
    Join Date
    03-08-2018
    Location
    Poland
    MS-Off Ver
    2016
    Posts
    3

    Re: Formated copy of table

    File attached. Table in sheet1 table (let call that primary) is filled by external application but data in column Category are with prefix like 2#. In sheet2 is a table (let call that secondary) which I want to get (data from column Category formatted). I don't know how many rows primary table will have. How many rows primary table has depends of how many rows user add to external application. So I have to do template which show table with rows add to external app by user with formatted column Category.
    Attached Files Attached Files

  4. #4
    Forum Guru Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016
    Posts
    4,807

    Re: Formated copy of table

    Really easy using Power Query (Get & Transform data)

    1. Select Table1, click Data > Get & Transform Data > From Table / Range

    2. In the query editor, select column "Category", then click Transform > Text Column > Extract > Text After Delimiter.

    3. Enter # as the Delimiter, and click OK.

    4. Click Home > Close & Load

    You'll get an output table with the Category column cleaned as you wanted.

  5. #5
    Registered User
    Join Date
    03-08-2018
    Location
    Poland
    MS-Off Ver
    2016
    Posts
    3

    Re: Formated copy of table

    Thank You Olly! It doesn't work automatically after opening worksheet, but when I refresh query I get what I want :D.

  6. #6
    Forum Guru Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016
    Posts
    4,807

    Re: Formated copy of table

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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