+ Reply to Thread
Results 1 to 6 of 6

Converting the structure of raw data into a usable format

  1. #1
    Forum Contributor
    Join Date
    06-08-2021
    Location
    Toronto
    MS-Off Ver
    2016
    Posts
    101

    Converting the structure of raw data into a usable format

    Hi,

    I am looking to transform a set of data into a usable structure as shown in the attached sample Data file. As of now, I did everything manually, but I would like to know if there is a faster and efficient way of doing this using formulas and functions. In the sample data, the data to the left side of the arrow is the raw data I have and the data to the right is the output I am trying to get.

    Any help appreciated.

    Thanks in advance

    VJ
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,202

    Re: Converting the structure of raw data into a usable format

    Can you provide a more comprehensive example as I am sure the current file is a simplified version of a real BOM.

  3. #3
    Forum Contributor
    Join Date
    06-08-2021
    Location
    Toronto
    MS-Off Ver
    2016
    Posts
    101

    Re: Converting the structure of raw data into a usable format

    Hi John,

    Thanks for your response. I really appreciate it. Actually, the data in the attached file is how the actual data looks like except that there are more than 100 rows in the actual data. I only have replaced the Part numbers with ABC, BC, B, C, etc. To put this in other words, level 0 is the top level part (parent part/final product), level 1 goes in to level 0 parts to make them a final product. Level 2 goes into level 1 before they can go into level 0. So, if you imagine from bottom-up Level 2 are raw materials that are needed to make level 1 parts. Then the level 1 parts combined will make the end product. To make the final product ABC, B and C should be first put together to make BC and then BC is used to make ABC.

    Basically trying to convert the Bill of Materials that I have in one format to another so that I can use them in another report.

    I hope I explained it better.

    VJ

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,563

    Re: Converting the structure of raw data into a usable format

    This proposal employs three helper columns which may be moved and/or hidden for aesthetic purposes.
    The helper columns have the headings 1, 2 and 3 respectively and are populated using: =IF($A2=H$1,$B2,IF(AND(I2<>"",J2=""),H1,""))
    The two output columns are populated using:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Forum Contributor
    Join Date
    06-08-2021
    Location
    Toronto
    MS-Off Ver
    2016
    Posts
    101

    Re: Converting the structure of raw data into a usable format

    Hi JeteMc

    I really appreciate you taking the time to help me find a solution. It totally worked. Thank you so much!

    VJ

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,563

    Re: Converting the structure of raw data into a usable format

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you have a blessed day.

+ 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. [SOLVED] Converting Unusable Time / Date Format To Usable Time / Date Format
    By Gtrtim112 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-05-2019, 11:25 AM
  2. Converting cell info to usable data in a new sheet
    By scottb721 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-20-2016, 06:41 AM
  3. Converting data into a different structure/format
    By joeyb99 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-26-2013, 10:40 AM
  4. converting PDF into usable excel spreadsheet
    By Dshaw2 in forum Excel General
    Replies: 6
    Last Post: 08-16-2012, 10:18 AM
  5. Convert Data into Usable database format
    By drbotts in forum Excel General
    Replies: 2
    Last Post: 07-02-2012, 01:31 PM
  6. Need Help Pulling Catalog data into usable format
    By hermanexcel in forum Excel General
    Replies: 3
    Last Post: 02-03-2011, 03:32 PM
  7. Format Data from Web so it's usable
    By bpbach in forum Excel General
    Replies: 5
    Last Post: 11-09-2009, 12:23 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