+ Reply to Thread
Results 1 to 8 of 8

lookup + convert time to decimal

  1. #1
    Forum Contributor keith740's Avatar
    Join Date
    04-24-2015
    Location
    Racine, Ohio
    MS-Off Ver
    MS365
    Posts
    241

    lookup + convert time to decimal

    Need help.... i copy paste data to spreadsheet twice day containing hours employees worked (regular/not timeclock decimal)

    these hours are in column P which get copy/pasted

    i need to match the hours with the correct employee in column b

    and enter (Converted timeclock hours) hours in colum E

    (See Attached Sample sheet 3)

    Any advice is greatly appreciated

    Please forgive me i am excel noob!

    Ty in Advance!




    I found this... converts time to decimal =(INT(N45)*24+HOUR(N45)+ROUND(MINUTE(N45)/60,2))
    Attached Files Attached Files
    Last edited by keith740; 04-24-2015 at 10:32 PM. Reason: mispelled convert

  2. #2
    Forum Contributor keith740's Avatar
    Join Date
    04-24-2015
    Location
    Racine, Ohio
    MS-Off Ver
    MS365
    Posts
    241

    Re: lookup + convert time to decimal

    anyone????

  3. #3
    Registered User
    Join Date
    09-20-2014
    Location
    Kentucky
    MS-Off Ver
    2013
    Posts
    11

    Re: lookup + convert time to decimal

    Hi there. If I understood what you are trying to do, I believe a vlookup would do it. For your example with Keith, this worked for me.
    = VLOOKUP(B7,L$7:P$28,5,TRUE)

    So how you would use it. Go to cell E7 and type the above. You will then drag that down through all your cells below E7 You will also need to change the cell format to "Time" and select the "13:30:55" one. Hope that helps!

  4. #4
    Forum Contributor keith740's Avatar
    Join Date
    04-24-2015
    Location
    Racine, Ohio
    MS-Off Ver
    MS365
    Posts
    241

    Re: lookup + convert time to decimal

    im getting #N/A
    =(INT(N42)*24+HOUR(N42)+ROUND(MINUTE(N42)/60,2)) Found this to convert time to decimal

  5. #5
    Registered User
    Join Date
    02-28-2015
    Location
    Australia
    MS-Off Ver
    2010-2013
    Posts
    19

    Re: lookup + convert time to decimal

    You get #N/A errors as there is some names which do not appear o your data list, eg 1A-Bill
    paste this into cell E4 and copy down till the end of your list,
    = IF(ISERROR(VLOOKUP(B4,L$7:P$28,5,TRUE)),"",(VLOOKUP(B4,L$7:P$28,5,TRUE)))

    format the time cells you want using "format cells, time".

    take a look at the file i attached, see if it's what you are after
    Attached Files Attached Files

  6. #6
    Forum Contributor keith740's Avatar
    Join Date
    04-24-2015
    Location
    Racine, Ohio
    MS-Off Ver
    MS365
    Posts
    241

    Re: lookup + convert time to decimal

    Getting very close...everything from E:19 down has times that should not be

  7. #7
    Forum Contributor keith740's Avatar
    Join Date
    04-24-2015
    Location
    Racine, Ohio
    MS-Off Ver
    MS365
    Posts
    241

    Re: lookup + convert time to decimal

    i can send original document so get a better idea
    Last edited by keith740; 04-24-2015 at 11:51 PM.

  8. #8
    Registered User
    Join Date
    02-28-2015
    Location
    Australia
    MS-Off Ver
    2010-2013
    Posts
    19

    Re: lookup + convert time to decimal

    i notice on your sheet in the hours , column P Tammy's hours also have a date next to them, is that correct ??

+ 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. Concert set lists: finding the first and last time a song was played
    By foamy2001 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-24-2014, 05:11 PM
  2. [SOLVED] Converting an elapsed time in decimal number format to an actual time :S
    By Spicey_888 in forum Excel General
    Replies: 3
    Last Post: 07-20-2014, 08:53 PM
  3. Excel for Ticketing in Concert?
    By ahmike in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-22-2013, 12:20 PM
  4. Replies: 2
    Last Post: 04-19-2012, 10:34 PM
  5. Concert listing with drop-down problems.
    By Morphy in forum Excel General
    Replies: 0
    Last Post: 06-15-2009, 11:49 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