+ Reply to Thread
Results 1 to 4 of 4

Count Hours worked inputted in a single cell

  1. #1
    Registered User
    Join Date
    12-18-2008
    Location
    Michigan
    Posts
    19

    Count Hours worked inputted in a single cell

    Hello all,

    I've been reading through and downloading some cool things, Excel is awesome I'm glad to be back on the forums.

    I make my weekly schedule from a template that cannot be changed. In one cell, I input times in format "9 AM - 11:30 AM", or "9:30 AM - 12 PM" multiple times for one day in a single column. Would it be possible to derive a formula which counts # of hours, without doing a VLOOKUP and entering every combination for a day (eeshk)?

    I've read: http://www.excelforum.com/excel-gene...unt-hours.html which was very helpful, but for some reason I couldn't get the formula to add values in a range, only in a given cell. Here is the code that worked awesome for the example, but not for my case (needing to calculate and count hours in a range of cells). Changing
    Please Login or Register  to view this content.
    to a range of cells
    Please Login or Register  to view this content.
    did not work.
    Please Login or Register  to view this content.
    Attached is an example of my schedule
    Attached Files Attached Files
    Last edited by excel4phil; 05-29-2011 at 05:11 PM.

  2. #2
    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: Count Hours worked inputted in a single cell

    The easy way would be to put the in and out times in separate cells.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    12-18-2008
    Location
    Michigan
    Posts
    19

    Re: Count Hours worked inputted in a single cell

    That would be easy But the way it's set up must be in same cell

  4. #4
    Registered User
    Join Date
    12-18-2008
    Location
    Michigan
    Posts
    19

    Re: Count Hours worked inputted in a single cell

    Please close thread. I worked on my template, hour ranges don't display like this anymore.

    Thank you all for your help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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