+ Reply to Thread
Results 1 to 14 of 14

no output in time when i use lookup

  1. #1
    Forum Contributor
    Join Date
    08-20-2015
    Location
    philippines
    MS-Off Ver
    2013
    Posts
    260

    no output in time when i use lookup

    hello , anybody here can solve my problem about the output of time

    here's is my formula

    in F2
    =IF(ISERROR(LOOKUP(D2,$N$483:$N$1442,$O$483:$O$1442)),"",LOOKUP(D2,$N$483:$N$1442,$O$483:$O$1442))

    when i put a 8:00 am in D2 "actual time" there is no display in f2. But when i put a 9:00 am in D2 it will have a display in f3.

    i wish anybody here can help me. i really don't know what is the problem

    here is my file
    Attached Files Attached Files
    Last edited by jasond1992; 06-21-2017 at 04:11 AM. Reason: i fixed my problem :)

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,178

    Re: no output in time when i use lookup

    Attach a sample workbook (not image).

    Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate.

    Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Forum Contributor
    Join Date
    08-20-2015
    Location
    philippines
    MS-Off Ver
    2013
    Posts
    260

    Re: no output in time when i use lookup

    Deleted pictures
    Last edited by jasond1992; 06-21-2017 at 04:08 AM.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,178

    Re: no output in time when i use lookup

    Click on "Reply" ...

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  5. #5
    Forum Contributor
    Join Date
    08-20-2015
    Location
    philippines
    MS-Off Ver
    2013
    Posts
    260

    Re: no output in time when i use lookup

    trying to upload file
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    08-20-2015
    Location
    philippines
    MS-Off Ver
    2013
    Posts
    260

    Re: no output in time when i use lookup

    Quote Originally Posted by JohnTopley View Post
    Click on "Reply" ...

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Thanks sir i already deleted the picture and i upload my file thank you so much

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,178

    Re: no output in time when i use lookup

    In F2

    =TIME(HOUR(D2),0,0)

    copy down

    and what is VLOOKUP in H for ???

    Is H2 ..

    =G2-F2

    ???

  8. #8
    Forum Contributor
    Join Date
    08-20-2015
    Location
    philippines
    MS-Off Ver
    2013
    Posts
    260

    Re: no output in time when i use lookup

    Quote Originally Posted by JohnTopley View Post
    In F2

    =TIME(HOUR(D2),0,0)

    copy down

    and what is VLOOKUP in H for ???

    Is H2 ..

    =G2-F2

    ???
    yes sir H is for Total of time - 1 ( for lunch time)

    sir can i ask what is the ,0,0 in the formula of =TIME(HOUR(D2),0,0)

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,178

    Re: no output in time when i use lookup

    =TIME(HOUR(D2),0,0)

    0,0, is the minutes, seconds

  10. #10
    Forum Contributor
    Join Date
    08-20-2015
    Location
    philippines
    MS-Off Ver
    2013
    Posts
    260

    Re: no output in time when i use lookup

    Quote Originally Posted by JohnTopley View Post
    =TIME(HOUR(D2),0,0)

    0,0, is the minutes, seconds
    Sir another problem
    about H =G2-f2

    my time in was 7:00 AM
    my time out was 8:00 AM
    But the result is 0.04
    i want the result is 23 hours is it possible to cumpute ?? o

  11. #11
    Forum Contributor
    Join Date
    08-29-2012
    Location
    Slough
    MS-Off Ver
    Excel 2007
    Posts
    469

    Re: no output in time when i use lookup

    Why would the answer be 23? Only 1 hour was worked?

  12. #12
    Forum Contributor
    Join Date
    08-20-2015
    Location
    philippines
    MS-Off Ver
    2013
    Posts
    260

    Re: no output in time when i use lookup

    Quote Originally Posted by DannyJ View Post
    Why would the answer be 23? Only 1 hour was worked?
    example sir. she/he time in at 8:00 AM (january 1,2017)
    time out at 5:00 AM (January 2,2017)

    the formula will compute the total of hours worked.

  13. #13
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,178

    Re: no output in time when i use lookup

    in H2

    =G2-F2+(IF(G2<F2,1))

    format as [h]:mm

    However, you will need DATE and TIME if people work more than 24 hours.

    08:00 start (21/06/2017) 09:00 finish (22/06/2017) = 25 hours

    the above formula will return 1:00 for the above.

  14. #14
    Forum Contributor
    Join Date
    08-29-2012
    Location
    Slough
    MS-Off Ver
    Excel 2007
    Posts
    469

    Re: no output in time when i use lookup

    John's solution is better

+ 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. [SOLVED] Lookup value based on the ComboBox output
    By I.am.Rustam in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-18-2016, 03:27 PM
  2. Input: Time Zone. Output: Current Time
    By imsteve123 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-09-2015, 09:16 PM
  3. Output last record lookup array
    By Burt_100 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-09-2014, 11:50 AM
  4. [SOLVED] Array output for a LOOKUP function...
    By tipti in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-19-2012, 12:36 AM
  5. macro to compare time between two cells if time matches output in third cell
    By kshitij_dch in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-31-2012, 07:09 AM
  6. lookup and output ?
    By Reign in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-01-2008, 09:47 AM
  7. Cell lookup and output issue...
    By yellephant in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-21-2007, 11:27 AM

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