+ Reply to Thread
Results 1 to 14 of 14

Help with rearranging spreadsheet

  1. #1
    Registered User
    Join Date
    06-20-2023
    Location
    Warwick, England
    MS-Off Ver
    Professional Plus 2021
    Posts
    5

    Help with rearranging spreadsheet

    Hi everyone. I have been struggling for a few months to rearrange the data in a spreadsheet. I'm sure it should be simple but it's beyond me! I've tried Pivot Tables, Lookup and Index/Match amongst other things but with no success. I've attached a copy of the spreadsheet . Basically i have a schedule showing survey dates which are divided into duk or dawn in the next column. Then I have columns of surveying, the data being the locations at which they should be surveying.
    Image10.jpg

    i want to rearrange it in a separate sheet so that i get the address in the first column, date in the second, dusk/dawn in the third and the surveyors name in the fourth column.

    Image11.jpg

    Ideally i don't want any empty rows or cells.
    Can anyone help this Excel rookie!
    many thanks
    Attached Files Attached Files

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Help with rearranging spreadsheet

    is that what you want?

    Site Date Dawn/Dusk Surveyor
    Stowe
    11/05/2023
    Dawn Brian
    Stowe
    11/05/2023
    Dawn Steve
    Broder
    12/05/2023
    Dawn Brian
    Broder
    12/05/2023
    Dawn Steve
    Battlefield
    12/05/2023
    Dawn Helen
    Battlefield
    12/05/2023
    Dawn Mark
    Battlefield
    12/05/2023
    Dusk Helen
    Battlefield
    12/05/2023
    Dusk Mark
    Jamestown
    13/05/2023
    Dusk Brian
    Jamestown
    13/05/2023
    Dusk Steve
    Stowe
    14/05/2023
    Dusk Helen
    Stowe
    14/05/2023
    Dusk Mark
    Battlefield
    16/05/2023
    Dusk Brian
    Battlefield
    16/05/2023
    Dusk Steve
    Stowe
    17/05/2023
    Dusk Brian
    Stowe
    17/05/2023
    Dusk Steve
    Broder
    18/05/2023
    Dusk Brian
    Broder
    18/05/2023
    Dusk Steve
    Battlefield
    19/05/2023
    Dusk Helen
    Battlefield
    19/05/2023
    Dusk Mark
    Jamestown
    20/05/2023
    Dusk Brian
    Jamestown
    20/05/2023
    Dusk Steve
    Broder
    20/05/2023
    Dusk Helen
    Broder
    20/05/2023
    Dusk Mark
    Broder
    22/05/2023
    Dawn Helen
    Broder
    22/05/2023
    Dawn Mark
    Jamestown
    22/05/2023
    Dusk Steve
    Jamestown
    22/05/2023
    Dusk Helen
    Jamestown
    22/05/2023
    Dusk Mark


    see Power Query in the attachment
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    06-20-2023
    Location
    Warwick, England
    MS-Off Ver
    Professional Plus 2021
    Posts
    5

    Re: Help with rearranging spreadsheet

    Thanks Sandy - that's exactly it - but I'm not sure how you did it? How do create the sheet so that when i make a changes (new locations for surveyor to attend etc) it updates?

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Help with rearranging spreadsheet

    update your source (blue) table then go to the green table, right click and choose Refresh/Reload, every chsnge in blue table you need to confirm by Refresh green table

    if you want to see HOW TO... use Data tab / Show Queries & Connections / double click on the table on the right side (it will open Power Query Editor) and you see steps on the right side

    in PQEditor:
    if you want to see whole M (M is a language of Power Query) choose Home / Advanced Editor
    Last edited by sandy666; 06-21-2023 at 04:10 AM.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,904

    Re: Help with rearranging spreadsheet

    Also useful to know, I think: right-click the query and select Properties > you can set the query to refresh automatically every n minutes and/or every time you open the workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  6. #6
    Registered User
    Join Date
    06-20-2023
    Location
    Warwick, England
    MS-Off Ver
    Professional Plus 2021
    Posts
    5

    Re: Help with rearranging spreadsheet

    Wow - thanks Sandy - you're a genius!
    If i wanted to add in another surveyor column what do i need to change to make this work? I quickly messed about and inserted Cathy between two existing surveyors but it didn't update.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,904

    Re: Help with rearranging spreadsheet

    Did you refresh the query?

  8. #8
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,928

    Re: Help with rearranging spreadsheet

    Try this,
    Sheet2!A2
    Please Login or Register  to view this content.
    copied down.

    Sheet2!B2
    Please Login or Register  to view this content.
    copid down and across to C Column.

    Sheet2!D2
    Please Login or Register  to view this content.
    copied down.
    Attached Files Attached Files

  9. #9
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Help with rearranging spreadsheet

    here is modified M and you can add more Surveyors as well as values in them

    btw. in the first post you didn't mention you want to add more surveyors or I am blind
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    06-20-2023
    Location
    Warwick, England
    MS-Off Ver
    Professional Plus 2021
    Posts
    5

    Re: Help with rearranging spreadsheet

    Sorry Sandy, i didnt mention it to start with as i wanted to keep it simple and to see if its possible. You've saved me a lot of work and I'm very grateful!

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,904

    Re: Help with rearranging spreadsheet

    If that takes care of your original question, please choose Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

  12. #12
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Help with rearranging spreadsheet

    Quote Originally Posted by myzopoda View Post
    Sorry Sandy, i didnt mention it to start with as i wanted to keep it simple and to see if its possible. You've saved me a lot of work and I'm very grateful!
    next time don't be so frugal with information and write everything in detail
    You are welcome

  13. #13
    Registered User
    Join Date
    06-20-2023
    Location
    Warwick, England
    MS-Off Ver
    Professional Plus 2021
    Posts
    5

    Re: Help with rearranging spreadsheet

    That's really helpful - thanks Ali!

  14. #14
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,904

    Re: Help with rearranging spreadsheet

    It might have been, however you didn't mark the thread as SOLVED.

    Please do so now.

+ 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. rearranging data in a spreadsheet
    By jaov2k in forum Excel General
    Replies: 2
    Last Post: 05-20-2017, 01:54 PM
  2. Rearranging Whole Row Together
    By ruuu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-20-2014, 05:05 AM
  3. [SOLVED] Rearranging Data
    By uberathlete in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-06-2014, 12:07 PM
  4. Rearranging Names
    By JoeyGirl in forum Excel General
    Replies: 4
    Last Post: 02-11-2010, 04:19 AM
  5. rearranging data in spreadsheet
    By moldoverb in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-23-2009, 11:10 AM
  6. Rearranging Text
    By NewExcelUser in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-06-2006, 08:03 AM
  7. rearranging ?
    By gvjonswim in forum Excel General
    Replies: 1
    Last Post: 09-18-2006, 03:30 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