+ Reply to Thread
Results 1 to 17 of 17

Listing a series of times in time order

  1. #1
    Registered User
    Join Date
    08-01-2012
    Location
    Southern England
    MS-Off Ver
    Excel 2008 Mac
    Posts
    23

    Listing a series of times in time order

    I work as an exam invigilator for International Baccalaureate exams.
    These typically run from 60 minutes to 150.
    The rules require the invigilator to announce when the candidates have 30 minutes and 5 minutes remaining.

    The added complication is that some candidates with special needs are allowed either 10% more time or 25% more time (Just these extra times - no other percentages).

    To cope with this I created the attached spreadsheet showing two exams side by side - we sometimes have two exams running at the same time but with different durations.

    1) I would be grateful for a look at my spreadsheet to spot any improvements

    2) How can I extract the times from the shaded areas and list them in time order, so as I go through the exam I can make the right announcements at the right time
    e.g.
    09:27 30 min Exam B regular
    09:52 5 min Exam B regular
    10:01 5 min Exam B 10%
    10:03 30 min Exam A regular
    10:06 Finish Exam B 10%
    10:14 5 min Exam B 25%

    etc

    Thoughts and advice gratefully received - equally if it is of use to you, you are welcome to the file.

    David
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Listing a series of times in time order

    I think the easiest way to do this is to create a separate table with two columns.

    Column 1 - Description of applicable test/reminder (e.g., Exam A - 10% extra - Finish or Exam B - 25% - 5 mins left)
    Column 2 - A link to the cell containing the time with ABSOLUTE REFERENCES (e.g., $C$11 or $F$14)

    Then just sort the table by Column 2.

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Listing a series of times in time order

    See if the attached is of any use

    In J8:L14 I've created a schedule of times that is automatically listed with the earliest finish times first. Each row in the table is hidden until the finish time is reached and then the conditional format will switch of the font colour of white which is effectively hiding the cells.

    This table is based on the working area starting in column O which in turn is based on your layout.

    The system includes a macro which updates the J6 Time every second and it's that time that is used in the conditional format to compare against the finish times in the table.

    Click the Start Clock to start the timer and Stop Clock to stop it.

    I copied your original Sheet1 in case I needed to get back to your original times. Obviously being based on real times you;ll need to test it by setting unrealistic durations and start times since you won't want to wait for an hour or more to confirm that it's working, so set some durations of a minute or so from a near current start time.

    I've not tested it on a Mac so let me know if you encounter any problems
    Attached Files Attached Files
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Listing a series of times in time order

    Here's another way; it uses a macro. If the output format is useful, I'll post the workbook.

    A
    B
    C
    D
    E
    F
    G
    H
    I
    1
    Start time
    8:33
    8:33
    8:33
    8:45
    8:45
    8:45
    2
    Duration
    2:00
    2:00
    2:00
    1:30
    1:30
    1:30
    3
    Extra Time
    0%
    10%
    25%
    0%
    10%
    25%
    4
    Duration
    2:00
    2:12
    2:30
    1:30
    1:39
    1:52
    5
    End
    10:33
    10:45
    11:03
    10:15
    10:24
    10:37
    6
    7
    Time
    Event
    Event
    Event
    Event
    Event
    Event
    8
    9:45
    30 Min: 9:45
    9
    9:54
    30 Min: 9:54
    10
    10:03
    30 Min: 10:03
    11
    10:08
    30 Min: 10:08
    12
    10:10
    5 Min 10:10
    13
    10:15
    30 Min: 10:15
    Finish: 10:15
    14
    10:19
    5 Min 10:19
    15
    10:24
    Finish: 10:24
    16
    10:28
    5 Min 10:28
    17
    10:33
    Finish: 10:33
    30 Min: 10:33
    5 Min 10:33
    18
    10:38
    Finish: 10:38
    19
    10:40
    5 Min 10:40
    20
    10:45
    Finish: 10:45
    21
    10:58
    5 Min 10:58
    22
    11:03
    Finish: 11:03
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Registered User
    Join Date
    08-01-2012
    Location
    Southern England
    MS-Off Ver
    Excel 2008 Mac
    Posts
    23

    Re: Listing a series of times in time order

    Hi "shg"

    The macro format that you post is ideal as it makes the time at which something has to be done obvious.
    Please do post the workbook.
    Very many thanks from this only average Exel user.
    David

  6. #6
    Registered User
    Join Date
    08-01-2012
    Location
    Southern England
    MS-Off Ver
    Excel 2008 Mac
    Posts
    23

    Re: Listing a series of times in time order

    Hi Richard

    Only problem is that my MacBook running OS X El Capitan can't open the .xlsm file. Is it possible to have it as an xls file or alternatively what's your suggestion for opening it?
    But in any case thanks a lot for your quick, helpful, response.
    David

  7. #7
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Listing a series of times in time order

    ...realised I'd missed out the 30 and 5 minute warnings. I've extended the table accordingly
    Attached Files Attached Files

  8. #8
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Listing a series of times in time order

    Here you go ...
    Attached Files Attached Files

  9. #9
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Listing a series of times in time order

    Hi,

    Here's a .xls. I received a warning when saving that some formats are not consistent with .xls so it will save with the nearest available format. Not sure what they might be, maybe the two button shapes.
    Attached Files Attached Files

  10. #10
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Listing a series of times in time order

    As an xls file ...
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    08-01-2012
    Location
    Southern England
    MS-Off Ver
    Excel 2008 Mac
    Posts
    23

    Re: Listing a series of times in time order

    Great
    That is so helpful.
    In fact the start times will be the same for "normal", "10%" and "25%: so I have made D2 and E2 equal C2, so the invigilator, if it is not me (and who may not be very computer literate) can simply enter the duration at C2.
    Likewise the basic exam duration will be the same for all three categories, so I've done the same for D3 and E3.
    This forum is great and I am very grateful to all those who have helped me. I wish I could pass it on, apart from "adding reputation" - which I have.
    David

  12. #12
    Registered User
    Join Date
    08-01-2012
    Location
    Southern England
    MS-Off Ver
    Excel 2008 Mac
    Posts
    23

    Re: Listing a series of times in time order

    Thanks for taking the trouble.
    Appreciated.

  13. #13
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Listing a series of times in time order

    You're welcome.

  14. #14
    Registered User
    Join Date
    08-01-2012
    Location
    Southern England
    MS-Off Ver
    Excel 2008 Mac
    Posts
    23

    Re: Listing a series of times in time order

    Hi
    One small issue: When I change the times and then click "Align keys", nothing happens and the event times in column A do not change. Instead I get an error message "Personal.xls could not be found". I suspect this is the formula which re-calculates the values for column A?
    What should I do to fix this?
    Thanks.

  15. #15
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Listing a series of times in time order

    Right-click the button, Assign Macro, and select AlignKeys.

  16. #16
    Registered User
    Join Date
    08-01-2012
    Location
    Southern England
    MS-Off Ver
    Excel 2008 Mac
    Posts
    23

    Re: Listing a series of times in time order

    Apologies, but I still don't understand how to activate "Align keys" as per my message above.
    I assume there is a macro that I should assign, but where do I get it from?

    David ("Theale").

  17. #17
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Listing a series of times in time order

    The macro is in the workbook. When you click Assign Macro, it will appear in the macro dialog that pops up.

+ 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. Table- listing data across columns only in order
    By ahabib90 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 08-19-2015, 03:58 AM
  2. Sum of lap times in order to give race time at any lap
    By shockerty in forum Excel General
    Replies: 8
    Last Post: 08-08-2014, 10:03 PM
  3. If a search term can be found 1 time, 2 times 3 times 4 times 5 times
    By excelcandy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-10-2013, 09:57 PM
  4. [SOLVED] Quantity in column D based on order amount of times the order no appears
    By djfscouse in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-19-2013, 06:48 PM
  5. Replies: 0
    Last Post: 06-27-2012, 11:01 AM
  6. Replies: 3
    Last Post: 11-02-2008, 08:21 AM
  7. [SOLVED] Series order conflicts with line order
    By Cowtoon in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 01-15-2006, 04:50 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