+ Reply to Thread
Results 1 to 2 of 2

Formula needed to return a set number if time is before a certain period

  1. #1
    Registered User
    Join Date
    11-17-2018
    Location
    Cape Town, South Africa
    MS-Off Ver
    2013
    Posts
    6

    Formula needed to return a set number if time is before a certain period

    Hello everyone

    I have a timestamp from a thumbprint reader that I would like to tell me if staff have entered the work place by our in-house taxi service or not, the taxi only travels at 8am so if staff arrive at work before 10am then we can deduct money from their salary slip.
    • If staff arrive at work before 10am then you assume they used our taxi service so we will deduct R20 (South African Rands) from their salary for that day.
    • If staff arrive at work for the lunch 12pm shift then they did not use our taxi service so no deductions should take place.
    • The thumbprint reader says the word "Absent" when there is no clock in data from staff member (not at work). So if the words "Absent" is present then we will not deduct for transport.
    • The yellow section is where the amount must show either R20 or R0 as a number
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Formula needed to return a set number if time is before a certain period

    Try this:

    =IFERROR(IF(VALUE(E3)>=0.416666666666667,0,20),0)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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] Formula needed to return value prior time
    By Zoelouiseh in forum Excel General
    Replies: 5
    Last Post: 11-25-2020, 11:35 AM
  2. [SOLVED] Formula Needed - Calculate total hours that fall between a specific time period.
    By JennyGP in forum Excel - New Users/Basics
    Replies: 8
    Last Post: 04-19-2020, 02:44 AM
  3. [SOLVED] Calculate the portion of a planned number during a period, based on another time period
    By BryGuy81 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-19-2017, 01:29 PM
  4. how to combine a single period return formula & a multiple period formula?
    By uptickdk in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-27-2013, 02:34 PM
  5. Replies: 2
    Last Post: 01-30-2013, 01:04 AM
  6. [SOLVED] Date Formula to Return Week Number in Current Month based on Reporting Period
    By jeversf in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-25-2013, 12:10 PM
  7. Replies: 30
    Last Post: 11-14-2012, 09:39 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