+ Reply to Thread
Results 1 to 5 of 5

convert five days layout data

  1. #1
    Forum Contributor
    Join Date
    07-20-2007
    MS-Off Ver
    2016, 365
    Posts
    127

    convert five days layout data

    Hi All.
    In the attached spreadsheet, I would like to convert 5 days of data to a vertical format. Worksheet "Source Data" displays as data located now. And I would like to convert them as shown in the "Daily" and "Weekly" worksheets. If it's possible, can anyone show how to do it?

    Convert Data Layout.xlsx

    Thanks

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,885

    Re: convert five days layout data

    Here is the Power Query solution for the Daily. Use the same concept for weekly

    Please Login or Register  to view this content.
    Power Query is a free AddIn for Excel 2010 and 2013, and is built-in functionality from Excel 2016 onwards (where it is referred to as "Get & Transform Data").

    It is a powerful yet simple way of getting, changing and using data from a broad variety of sources, creating steps which may be easily repeated and refreshed. I strongly recommend learning how to use Power Query - it's among the most powerful functionalities of Excel.

    - Follow this link to learn how to install Power Query in Excel 2010 / 2013.

    - Follow this link for an introduction to Power Query functionality.

    - Follow this link for a video which demonstrates how to use Power Query code provided.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Contributor
    Join Date
    07-20-2007
    MS-Off Ver
    2016, 365
    Posts
    127

    Re: convert five days layout data

    Hi alansidman. Thanks for reply.

    I attached file with new version of header layout. In that case how to chage a code of Power Query and get result with following columns header:
    Run Type | Day | Category | Job Name | Date | Status | Completed By

    Where:
    Run Type - Weekly or Daily
    Day - Monday to Friday
    Category - Data in column C
    Job Name - Data in column B
    Date - Weekday date
    Status - Data in columns D, F, H, J, L
    Completed By - Data in columns E, G, I, K, M

    In the file data in: Column B - Job Name; Column C - Category;

    Convert Data Layout1.xlsx

    Thanks
    Last edited by eugz; 07-21-2023 at 02:08 PM.

  4. #4
    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,205

    Re: convert five days layout data

    Please Login or Register  to view this content.
    I removed blank row between DAILY / WEEKLY tables
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,885

    Re: convert five days layout data

    Please Login or Register  to view this content.

+ 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] A number of days into weeks and days-How do you convert the decimal part of 0.571429
    By Robert Christie in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-25-2020, 09:37 PM
  2. [SOLVED] Convert excel to txt. File Layout 50 characters using VBA
    By costi_linho12 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-09-2015, 02:20 AM
  3. [SOLVED] Help Need to convert a date to a day...then progressive through each days data
    By DaveHampson in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-18-2015, 05:30 PM
  4. Convert table layout
    By Joe O Ceadaigh in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-30-2015, 03:41 PM
  5. Convert days -> Years, Months, Days, Hours, Minutes, Seconds
    By brharrii in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-06-2012, 06:44 PM
  6. Convert data from column layout to row layout
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-28-2010, 03:28 PM

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