+ Reply to Thread
Results 1 to 4 of 4

Help converting table of data into new layout

  1. #1
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Help converting table of data into new layout

    Hi,

    I can't really explain enough in the subject so here's hoping I get the right audience

    I run an SQL query, I export this to Excel which gives me a list of different locations in column A and then the start and end hours of those locations in Columns B through O

    What I require as an output is on Desired Output sheet.

    I want to know the start and end hours for each different day, and then from that I want to establish which of those days is BDH (late opening) by looking at the average start time only including M-F.

    The range will be ever changing so the number of locations changes when new ones are created.

    Could anyone offer some help on this please?

    I use the below code to create 7 values of each entry in column A of sheet 1, but I can't work out what to do to continue the process for the other fields as they are not simply drag down formulae.

    Please Login or Register  to view this content.
    Thanks in advance

  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: Help converting table of data into new layout

    Try:
    Please Login or Register  to view this content.
    That will add a new worksheet, containing your required output.
    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
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Help converting table of data into new layout

    Another solution

    Please Login or Register  to view this content.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  4. #4
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: Help converting table of data into new layout

    Thank you both for your great solutions. Both fit for purpose and I really do appreciate your help on this.

    Thanks again

    Dave

+ 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. Organizing Data Table in a Bar Chart Layout 5
    By dco223 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-03-2014, 09:57 AM
  2. Rearranging a data table into a different layout
    By pauldaddyadams in forum Excel General
    Replies: 10
    Last Post: 10-28-2013, 03:37 PM
  3. [SOLVED] Converting data from excel to a difficult text layout
    By djfscouse in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-15-2013, 12:48 PM
  4. Survey Data -- Table Layout
    By Dmerric1 in forum Excel General
    Replies: 0
    Last Post: 08-27-2012, 10:39 AM
  5. Converting one table layout to another
    By copypaste in forum Excel General
    Replies: 2
    Last Post: 05-11-2010, 02:22 PM
  6. Replies: 1
    Last Post: 12-12-2008, 11:38 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