+ Reply to Thread
Results 1 to 3 of 3

Convert data from one format to another

  1. #1
    Registered User
    Join Date
    05-08-2017
    Location
    Vancouver
    MS-Off Ver
    Excel 2010
    Posts
    3

    Convert data from one format to another

    Hi everyone,

    I have data exported in a certain format and need to change it to a different format, i'm not sure what terminology i can use to explain this so i will create examples below.

    This is what the Current Data looks like
    Id Number| Value A| Value B| Value C| Value D|
    10010506 | 510.03 | 20045 | 324.84| 457.95|
    10010507 | 400.56 | 15045 | 245.12| 243.54|
    10010508 | 246.56 | 10010 | 854.54| 527.16|
    10010509 | 365.56 | 15234 | 652.26| 324.85|
    10010510 | 845.56 | 29536 | 418.64| 642.37|


    Data needs to be converted to look like this for an Import template

    Id Number| V Type|V Amount
    10010506 |Value A|510.03
    10010506 |Value B|20045
    10010506 |Value C|324.84
    10010506 |Value D|457.95
    10010507 |Value A|400.56
    10010507 |Value B|15045
    10010507 |Value C|245.12
    10010507 |Value D|243.54

    Etc....

    Does anyone know a feature/formulas etc i can use to achieve these results?

    I've played around with Pivot Tables, Subtotals, and attempted power query which i haven't had experience in.

    I hope someone can help out?

    Thanks!
    Penny

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,375

    Re: Convert data from one format to another

    That looks like an "Unpivot" operation. I am not familiar with Power Query, but I understand that this is a fairly straightforward command in Power Query. Discussion here: https://www.excelforum.com/excel-cha...ml#post4464672
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    05-08-2017
    Location
    Vancouver
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Convert data from one format to another

    Awesome! Thank you MrShorty! The thread guided me in the right direction and then i googled some websites to figure out how to unpivot.

    I found this page super useful with instructions to unpivot data: https://www.excelcampus.com/tables/unpivot-power-query/

+ 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. Replies: 3
    Last Post: 09-15-2015, 06:07 AM
  2. Macro to find end data, and convert data into number format
    By montpsycho in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-05-2014, 05:51 PM
  3. Convert data entered in a different format to Date format
    By rakesh2806 in forum Excel General
    Replies: 6
    Last Post: 02-19-2014, 12:50 PM
  4. [SOLVED] Require vba or formula for convert general format data in date format
    By santosh226001 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-10-2013, 03:53 AM
  5. [SOLVED] how to convert single line data format to multiple line data format
    By pksreela in forum Excel General
    Replies: 3
    Last Post: 10-16-2012, 08:13 AM
  6. How to Convert Matrix format data into tabular format data
    By nishchints in forum Excel General
    Replies: 1
    Last Post: 02-22-2012, 03:53 PM
  7. Convert Format of SQL Data
    By Wayne Wengert in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-11-2005, 09:06 AM

Tags for this Thread

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