+ Reply to Thread
Results 1 to 7 of 7

Reorder the 3 column data into 2 columns of 24 rows

  1. #1
    Registered User
    Join Date
    04-22-2024
    Location
    Raleigh, US
    MS-Off Ver
    365
    Posts
    3

    Reorder the 3 column data into 2 columns of 24 rows

    test.xlsx

    I want to transform this data into two columns as Day 1 and Day 2 , starting with the day 1 first value and end day 1 for 24 hours later (2pm-2pm next day as day 1) and next 24 values as day 2. The start time for Day 1 keeps changing for different scenarios. I want a dynamic formula to Setup day 1 and day 2. I have 200+ such sheets. So a quick and easy process is much appreciated.

    Column A-D to Column J-L

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Reorder the 3 column data into 2 columns of 24 rows

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not told us about this. You are required to do so. Cross-posts are allowed but you must provide a link to your posts on other sites.

    Please see Forum Rule #7 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important: https://excelguru.ca/a-message-to-forum-cross-posters/

    I have provided the link since this is your first post.

    https://www.mrexcel.com/board/thread...-rows.1257684/
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Expert
    Join Date
    06-05-2017
    Location
    Brazil
    MS-Off Ver
    Microsoft 365 Version 2404
    Posts
    1,259

    Re: Reorder the 3 column data into 2 columns of 24 rows

    Try these:

    In J13:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    In K13:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    In L13:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Copy down.

    I have done it in columns N, O & P, so as to compare with your hard coded data.

    Those formulae rely on the data keeping this pattern of number of rows between the days, for example, the first day times start in A13 and the second in A51, 38 rows apart, thus the MATCH +38 or +0 in the formula.

    I hope this helps you.

    Good luck!
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    04-22-2024
    Location
    Raleigh, US
    MS-Off Ver
    365
    Posts
    3

    Re: Reorder the 3 column data into 2 columns of 24 rows

    Thankyou very much ! This works perfectly fine.

  5. #5
    Forum Expert
    Join Date
    06-05-2017
    Location
    Brazil
    MS-Off Ver
    Microsoft 365 Version 2404
    Posts
    1,259

    Re: Reorder the 3 column data into 2 columns of 24 rows

    You're welcome. Glad to help.
    Thank you for the feedback and for the reputation added.
    Have a blessed day!

  6. #6
    Registered User
    Join Date
    04-22-2024
    Location
    Raleigh, US
    MS-Off Ver
    365
    Posts
    3

    Re: Reorder the 3 column data into 2 columns of 24 rows

    Hi,

    I just realized that these formulae are referencing to rows 13 to 74. But the data is only from 13-36 rows. I tried to copy and paste the formula for new columns with new values and it is not working for values past first 6 rows.

    * Also, I have a multiplicative factors for each column (B,C,D). Each column has it's own factor. Can you help me multiply the values and then order them in new format of Day 1 and day 2. *

  7. #7
    Forum Expert
    Join Date
    06-05-2017
    Location
    Brazil
    MS-Off Ver
    Microsoft 365 Version 2404
    Posts
    1,259

    Re: Reorder the 3 column data into 2 columns of 24 rows

    Hi.

    Funny I never realized the data was all there, but now that you mentioned. Sorry about that.
    It makes the task much simpler.
    Please check if this works.

    In K13, copied across to L13 and down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Estevaoba; 04-23-2024 at 04:04 PM.

+ 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. Reorder Two Clustered Columns and one stacked column in combo chart
    By Faten Odeh in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 09-06-2023, 02:27 AM
  2. Replies: 10
    Last Post: 07-05-2023, 04:41 PM
  3. Replies: 2
    Last Post: 07-02-2023, 02:59 AM
  4. [SOLVED] How to reorder match columns on multiple sheets to a column on another sheet
    By barman in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-10-2018, 06:48 PM
  5. [SOLVED] Copy & Reorder Columns of Rows That Meet Criteria
    By stusic in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-14-2015, 11:19 AM
  6. [SOLVED] Reorder Rows and Sum column totals given specified criteria
    By bwmuhich in forum Excel General
    Replies: 5
    Last Post: 04-09-2014, 03:58 PM
  7. Replies: 3
    Last Post: 06-16-2010, 04:23 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