+ Reply to Thread
Results 1 to 4 of 4

I wish to make a time slot

  1. #1
    Registered User
    Join Date
    11-09-2016
    Location
    London, England
    MS-Off Ver
    2010, 365
    Posts
    6

    I wish to make a time slot

    Hi Guys,

    I would like to create a time slot, based upon two separate cells, I wish to merge these cells.
    e.g.
    A1: 09:00 AM
    A2: 10:00 AM
    i wish to merge cells A1 and A2 into A3 to get
    A3: 09:00-10:00

    Is there a formula or function within excel 2010 to do this?

    Thanks in advance.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: I wish to make a time slot

    If those are proper times, then you can use this in A3:

    =TEXT(A1,"hh:mm") &"-"& TEXT(A2,"hh:mm")

    If the cells contain text values which happen to look like time values, then you can use this:

    =LEFT(A1,5) &"-"& LEFT(A2,5)

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    11-09-2016
    Location
    London, England
    MS-Off Ver
    2010, 365
    Posts
    6

    Re: I wish to make a time slot

    Thank you Pete_UK, this has resolved my problem.

    My data was in the time format.

    I tried to use concatenate, but I could not anywhere near what I needed.

    Many thanks,

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: I wish to make a time slot

    Glad to be able to help, and thanks for the rep.

    A straight concatenate would have given you some strange fractional numbers, which is how Excel stores times internally, and that is why you have to use the TEXT function.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above your first post and mark this thread as SOLVED.

    Pete

+ 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. How to calculate workers assigned to time slot?
    By Sev129 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-12-2014, 11:30 AM
  2. Insert Rows automatically after every time slot
    By cyee in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-08-2013, 01:44 AM
  3. [SOLVED] Finding Which time slot a delivery falls into
    By ujpest in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-01-2013, 06:10 AM
  4. Excel time slot booking system
    By genichigo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-08-2013, 09:23 AM
  5. [SOLVED] Calculating longest waiting time at given time slot
    By dvs in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-03-2013, 06:20 PM
  6. Replies: 1
    Last Post: 03-28-2012, 12:11 PM
  7. Return cell contents during a time slot.
    By Pompano Tom in forum Excel General
    Replies: 2
    Last Post: 03-22-2007, 08:45 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