+ Reply to Thread
Results 1 to 5 of 5

Creating a list out of dates/times table

  1. #1
    Registered User
    Join Date
    07-07-2016
    Location
    Israel
    MS-Off Ver
    2016
    Posts
    2

    Creating a list out of dates/times table

    Hello everyone,

    I'm new here so I hope my post is according to the rules.

    I have an excel sheet that looks something lie this:

    date date date date
    10:00 10:00 10:00 10:00
    ms.*** name name name
    ms.*** name name name
    ms.*** name name name


    date date date date
    13:00 13:00 13:00 13:00
    ms.*** name name name
    ms.*** name name name
    ms.*** name name name

    The file is attached.
    Each name is written 8 times in different date and hour.

    I would like to find a quick way to get a list (preferrably a text file) that will contain the dates and hours for each person individually.
    for example:
    miss nelly
    22/7 10:00
    25/7 15:30
    3/8 15:30
    5/8 15:30
    11/8 10:00
    and three more.
    any ideas? any help will be much appreciated.
    Attached Files Attached Files
    Last edited by ItzikV; 07-07-2016 at 08:17 AM.

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Creating a list out of dates/times table

    From an American perspective the dates are backwards and so are the columns . Nonetheless I think I can give this a shot.

    Some questions first:

    Will the dates always be in row 2? Will the time lines always be in rows 3, 10 and 18? What is the maximum number of names in the last group of names (under 16:30)?

    Basically, I would write vba code to move along the columns, then get the date, a time and the names under that time and write them to a "flattened table" with Date : Time : Name. Then use this table as a data source for a pivot table. So it comes out looking like what you want.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    07-07-2016
    Location
    Israel
    MS-Off Ver
    2016
    Posts
    2

    Re: Creating a list out of dates/times table

    Quote Originally Posted by dflak View Post
    From an American perspective the dates are backwards and so are the columns . Nonetheless I think I can give this a shot.

    Some questions first:

    Will the dates always be in row 2? Will the time lines always be in rows 3, 10 and 18? What is the maximum number of names in the last group of names (under 16:30)?

    Basically, I would write vba code to move along the columns, then get the date, a time and the names under that time and write them to a "flattened table" with Date : Time : Name. Then use this table as a data source for a pivot table. So it comes out looking like what you want.
    Thank you very much for your time and will.
    About you questions. The dates will always be in row 2, the time lines will always by in rows 3, 10 and 17. And Under each group can contain up to six people.

    Maybe an explanation about what you're seeing will help:
    The sheet represents a schedule for a Math course I'm running for high school student during the summer.
    Each day (on the dates you see on row 2) 3 groups of student are scheduled to arrive. Each group in the time line you see on rows 3, 10 and 17.

    My final goal is to summerize when each student should arruve so I can text/mail them the dates instead of sending them the all sheet.

    Is that information helpful?

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Creating a list out of dates/times table

    Excel and I are stymied by the language barrier. I have to tell the code what sheets to reference. So I right clicked on the sheet and clicked on rename which highlighted the name of the sheet. Then I copied it and pasted it into the code. It did not translate. This is what I got, and my English version of Excel can't handle it. I suppose with the right regional settings it could.
    Please Login or Register  to view this content.
    I might do OK with English versions of the sheet names, but then I don't know how the strings will be handled.

  5. #5
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Creating a list out of dates/times table

    As it turns out, English Excel will handle Hebrew text as data. Since I can't use your workbook, you will have to make your workbook look like the attachment. I've included a document on how to do that.

    This has been a fun project. I'm learning a lot working internationally. In another case, I was working with someone from the Netherlands and I needed to format a date with a 4-digit year. In English this is =Text(Date,"yyyy"), however, in Dutch, year is jaar, so the formula becomes =Text(Date,"jjjj") .

+ 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 from one sheet to others
    By nekovolta in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-06-2016, 05:38 AM
  2. [SOLVED] Arranging/organizing data in a sheet
    By mexaria in forum Excel General
    Replies: 6
    Last Post: 08-05-2014, 02:26 PM
  3. Organizing pictures in a sheet
    By katto01 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-25-2012, 07:14 PM
  4. Taking non uniform data from one sheet and copying and organizing it into another sheet
    By worldrenowned in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-08-2012, 03:16 AM
  5. Organizing data by time on a different sheet
    By keenercoug in forum Excel General
    Replies: 2
    Last Post: 08-10-2010, 11:25 PM
  6. Replies: 2
    Last Post: 11-24-2009, 06:07 AM
  7. organizing sheet
    By steve in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-30-2005, 12:05 PM

Tags for this Thread

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