+ 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 Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    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.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  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 Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    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 Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    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)

Similar Threads

  1. Formated as table and now to the interpret results
    By someguy4321 in forum Excel General
    Replies: 6
    Last Post: 04-22-2016, 01:10 AM
  2. How do I take a cell formated as TIME and divide it by a cell formated as a number?
    By KellyHelpDeskManager in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-01-2015, 10:58 AM
  3. Copy Formated Date to Text for Mailmerge
    By at60 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-31-2014, 11:31 AM
  4. Replies: 0
    Last Post: 05-31-2010, 05:27 PM
  5. Excel 2007 : Sorting data Formated as a Table
    By Ra21V12eN in forum Excel General
    Replies: 0
    Last Post: 06-30-2009, 12:39 PM
  6. How to copy conditionally formated cells?
    By John K in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-11-2008, 05:10 PM
  7. Copy results of conditionally formated values
    By kiwipost in forum Excel General
    Replies: 2
    Last Post: 04-23-2008, 04:04 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