+ Reply to Thread
Results 1 to 23 of 23

Reorganize table to combine each pair of records into one record

  1. #1
    Registered User
    Join Date
    12-20-2018
    Location
    London
    MS-Off Ver
    Online
    Posts
    12

    Reorganize table to combine each pair of records into one record

    Need help getting some data in a usable format, what i have =

    Please Login or Register  to view this content.
    What i want

    Please Login or Register  to view this content.
    Any assistance will be greatly appreciated.
    Last edited by 6StringJazzer; 12-20-2018 at 11:25 AM. Reason: Moderator updated title, added code tags for spacing

  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,696

    Re: Table

    Welcome to the Forum Needhelpdfec!

    First, please take the time to review our rules. There aren't many, and they are all important.

    Rule #1 says you should have a good title. I am going to update it since it's your first post, but we need your title to tell us enough about your question to be able to tell if we should open the thread. A one-word title won't do that.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: Reorganize table to combine each pair of records into one record

    I would suggest a pivot table.

    Then under the values change the Sum of time and change the formatting to TIME.
    Attached Images Attached Images

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Reorganize table to combine each pair of records into one record

    We need more info. The last entry is also for Vincent. It is also a check in. Why is the first one the expected answer and the second one not the expected answer? Will these guys be checking in/out again tomorrow? How do you want that handled? So more data, please AND on an Excel sheet.


    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  5. #5
    Registered User
    Join Date
    12-20-2018
    Location
    London
    MS-Off Ver
    Online
    Posts
    12

    Re: Reorganize table to combine each pair of records into one record

    Sorry for not clarifying earlier, I am using google sheets to create a time clock / quota check for employees as well as some other information for me to use.
    But i cant get the information in the format i want, i attached the entire file along with some screen shots of what id like to do, if anyone has any suggestions or can help me out that would be amazing!
    Attached Images Attached Images
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    12-20-2018
    Location
    London
    MS-Off Ver
    Online
    Posts
    12

    Re: Reorganize table to combine each pair of records into one record

    The guys will be clocking in/out tomorrow , i attached the full document.
    Ideally i want to keep track on each employees time in/out and quotas also the info they left feedback on, but i cant get the information in the correct format.
    Halp and thanks again.

  7. #7
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: Reorganize table to combine each pair of records into one record

    As i said earlier a pivot table may work. I included one on your sheet4. It breaks it down by person by Date and gives a check in/check out for each person on that day.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    12-20-2018
    Location
    London
    MS-Off Ver
    Online
    Posts
    12

    Re: Reorganize table to combine each pair of records into one record

    The table works the only issue with it is that it wont auto fill it self everyday.
    Im looking for something that would automatically fill the time in/out, quota etc in the correct field once the information is entered via google forms.

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,416

    Re: Reorganize table to combine each pair of records into one record

    Thread moved to the appropriate forum section.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  10. #10
    Forum Expert dosydos's Avatar
    Join Date
    12-09-2015
    Location
    Massachusetts
    MS-Off Ver
    365(PC) V:2308
    Posts
    1,472

    Re: Reorganize table to combine each pair of records into one record

    All you have to do is right click on the table and hit refresh. All data entered in your sheet 1 will automatically appear once refreshed.

  11. #11
    Registered User
    Join Date
    12-20-2018
    Location
    London
    MS-Off Ver
    Online
    Posts
    12

    Re: Reorganize table to combine each pair of records into one record

    Hmm i having trouble adding other fields with the table , leaving to go home from work soon too, id love to get it in any variation of this format if possible, and thanks again!
    Attached Images Attached Images

  12. #12
    Registered User
    Join Date
    12-20-2018
    Location
    London
    MS-Off Ver
    Online
    Posts
    12

    Re: Reorganize table to combine each pair of records into one record

    ill be back in a couple hours

  13. #13
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Reorganize table to combine each pair of records into one record

    Where, in your sample sheet, is your expected answer? If it's not there, please amend and repost.

  14. #14
    Registered User
    Join Date
    12-20-2018
    Location
    London
    MS-Off Ver
    Online
    Posts
    12

    Re: Reorganize table to combine each pair of records into one record

    Here it is the sample sheet and the expected is at the bottom
    Attached Files Attached Files

  15. #15
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Reorganize table to combine each pair of records into one record

    In your sample each person's check out is immediately after their check in. Let's hope that that is actually what you have.

    Try this. ASll formuale are variants of this one:

    =IFERROR(INDEX(Sheet1!$B$2:$B$20,1+2*(ROWS($1:1)-1))&"","")

    Each shading = slightly different formula. Only the one in E2 can be dragged across and down.
    Attached Files Attached Files

  16. #16
    Registered User
    Join Date
    12-20-2018
    Location
    London
    MS-Off Ver
    Online
    Posts
    12

    Re: Reorganize table to combine each pair of records into one record

    Will this work if people clock in/out in random order? Because that will surely happen, I only input the data one after the other for testing.

  17. #17
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Reorganize table to combine each pair of records into one record

    Well, isnt that exactly what I suggested might be the case. Pity you didn't give us a representative sample to begin with....

    Any formula will now be much more complicated.

    I'll take a look in the morning.

  18. #18
    Registered User
    Join Date
    12-20-2018
    Location
    London
    MS-Off Ver
    Online
    Posts
    12

    Re: Reorganize table to combine each pair of records into one record

    this is way tooo hard for me

  19. #19
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Reorganize table to combine each pair of records into one record

    What is way too hard for you? I didnt come back with an alternative yet!!

  20. #20
    Registered User
    Join Date
    12-20-2018
    Location
    London
    MS-Off Ver
    Online
    Posts
    12

    Re: Reorganize table to combine each pair of records into one record

    been trying to get it to work on my own, il upload what i have done so far for your umm amusement, but yea its hard.
    Attached Files Attached Files

  21. #21
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Reorganize table to combine each pair of records into one record

    It does take a long time to give you the wrong answer, doesn't it...

    A helper, in raw, I2, copied down:
    =INT(A2)&" "&B2

    Then sort the columns on the basis of row I, the helper. I also included a column to reverse it bacl to the original order in J for testing. You can delete it.

    Then variants of the formula that I gave you a mile or so further back up this thread:

    =IFERROR(INDEX(Raw!B$2:B$50,1+2*(ROWS($1:1)-1))&"","")

    See attached. Each shading = different formula.
    Attached Files Attached Files

  22. #22
    Registered User
    Join Date
    12-20-2018
    Location
    London
    MS-Off Ver
    Online
    Posts
    12

    Re: Reorganize table to combine each pair of records into one record

    My savior! This is exactly what i wanted.
    Thank you so much, ill go through the formulas and try to understand them. Thanks again!!!!

  23. #23
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Reorganize table to combine each pair of records into one record

    You're welcome.



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

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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. Replies: 1
    Last Post: 03-25-2018, 04:16 PM
  2. Crosstab table to pivot table to plain table exceeds Excel row limit
    By jjsilva in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 06-30-2017, 11:43 PM
  3. Replies: 6
    Last Post: 01-24-2017, 06:56 PM
  4. Macro to fill 1st table with info from 2nd table. 2nd table search with 2 conditions
    By Ribeiro.JD in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-17-2016, 02:03 PM
  5. [SOLVED] Adding a row in a table corrupts formula in a summary table (2nd table)
    By How How in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-31-2015, 02:35 PM
  6. [SOLVED] Need a formula to sort a table into table (for a Table Plan) and name in column 2
    By jbpianoman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-07-2012, 09:21 AM
  7. [SOLVED] PIVOT TABLE - Summary Table into a Databasae Table.
    By sansk_23 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-09-2005, 03:06 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