+ Reply to Thread
Results 1 to 5 of 5

function for Time value

  1. #1
    Registered User
    Join Date
    09-23-2013
    Location
    Indonesia
    MS-Off Ver
    Excel 2010
    Posts
    2

    function for Time value

    i have a problem with may overtime sheet.

    the Rule :

    IF E10 contain Time greater than 7:00 and less than 19:00 P10 must be blank , otherwise p10 must be 1 .


    i have my formula but it didnt work
    i think i do it wrong guys :/



    bwt forum.jpgBook1.xlsx

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: function for Time value

    welcome to the forum, cukaca. a better illustration is to provide the eg & key in the answer you wish to see. for eg. you are talking about E10. but there's nothing in it

    my guess is
    =IF(AND(E10>TIME(7,0,0),E10<TIME(19,0,0)),"",1)

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: function for Time value

    Hi and welcome to the forum

    Another similar suggestion...

    IF E10 contain Time greater than 7:00 and less than 19:00 P10 must be blank , otherwise p10 must be 1
    =if(and(E10>7/24,E10<19/24),"",1)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    09-23-2013
    Location
    Indonesia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: function for Time value

    Dear all ,

    thanks for the great reply. its work !
    yea i miss the "TIME" word .

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,939

    Re: function for Time value

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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. IF function to work out Ordinary hours, Time 1/2 and Double time!!
    By Jazzy2009 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-13-2014, 11:32 PM
  2. [SOLVED] Extracted time from date/time field does not flag on =IF(TIME function.
    By Vlad717 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-09-2013, 03:29 PM
  3. Date/Time Function in Excel (Day/Month/Year & time)
    By tortuga32 in forum Excel General
    Replies: 19
    Last Post: 12-14-2011, 02:00 AM
  4. Replies: 4
    Last Post: 03-23-2010, 12:44 PM
  5. Function to convert Time String to Time
    By Andibevan in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 11:05 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