Numbers function IF greater than using date & time

I am trying to produce a number sheet that will allow me calculate a working rota for staff.
The problem i am having is when i try and use a IF function to remove 1hr (for lunch) if the person works 8 hours or more.
If that person works between 6 and 8 they require a 30 mins lunch.
I have already setup the sheet to calculate the total shift time by subtracting the starting time from the finishing time. i.e. 18:00 - 08:00 = 10hrs
Now i need it to subtract 1hr for lunch.
It should read something like IF 10 >8 then -1 from 10.
I just don't know how to not cause an error.
ideally i would like it to be able to handle 2 IF's in the one cell. if its 6-8hrs - 30mins or if its greater than 7 -1 hr.
I currently have all the cells set at time and date.
Any help would be greatly appreciated.
Richard

this works a little but it seems to subtract 0.5 and then 1 removing to much time.
I have attached a link which i hope will explain this better.
https://onedrive.live.com/redir?resid=82B56CEF9A61CDE9!8770&authkey=!ALJn-lja2b2 q1iw&ithint=file%2cnumbers
Thank you for your help

Similar Messages

  • When choosing date on a banking site a box appears telling me to use a to date greater than from date.

    I am trying to get a report from a bank site and a box pops up asking me to choose a to date greater than from date. I have the correct dates chosen. Is there a fix or away around this.

    Check the date and time in the clock on your computer: (double) click the clock icon on the Windows Taskbar.
    *https://support.mozilla.com/kb/Secure+Connection+Failed

  • Java always returns 15 minutes greater than the current time.

    Hi,
    I am using Microsoft Windows Server 2003R2,Standard X64 edition with Service Pack 2 and jdk1.6.0-03.
    Java always returns time 15 minutes greater than the current system time.
    eg:
    SimpleDateFormat simpleDateFormat=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
    System.out.println("Now time: "+simpleDateFormat.format(new Date()));
    System.out.println("Now time: "+new Date());The output of the program is :
    Now time: 2008-12-22 18:47:04
    Now time: Mon Dec 22 18:47:04 NPT 2008
    When my actual system time is 6:32 PM or (18:32)
    I have checked the current time with other programming languages like python and it always returns the actual date and time.
    Note: To my observation java is always utilizing a time which is 15 minutes greater than the current time even for its log.
    Thanks,
    Rajeswari (Msys)

    I think a more practical time machine would be one that actually travels back in time rather than forward (by 15 minutes). Sounds like it needs some more work.
    Anyway, I suggest changing the system time on your computer to some other value (say, 2 hours ahead), then running the program again. If its off by 2 hours and 15 minutes, its getting the time from your computer. However, if its still off by only 15 minutes (from your wristwatch's time), then its getting the time form somehere other than the computer clock.

  • Datetime in log is greater than current date, how to adjust them

    our env is jes8.1 and solaris 8, and the datetime of log in jes is 8 hours greater than current date in solaris, I want to know how to adjust datetime of log to current date?

    Type
    #date
    at the prompt and check whether the log file date/time and the system date/time are the same. I guess the log file uses the system date/time. if tats the case then change the system date/time

  • From date(ETTIFN-AB) greater than To date(ETTIFN-BIS) in table ETTIFN

    Hi,
    In my client system I have observed that in table ETTIFN(Installation Facts (Normal) for a specific operand the "From date" field contains date which is greater than the date contained in the "To date" field.
    eg: from date = 20/7/2008
         To date     = 4/4/2008
    This is observed in multiple records of the same operand.
    Can any one throw some light on this issue.
    1) How this could have happened, and using what transaction.
    2) what will be the effect of such entry on rate category and billing.
    3) how this can be changed.
    any suggestion will be highly appreciated.
    thanks
    ajay

    In my experience, this a sort of a bug that happens in several time sliced tables.
    However, the programs only seem to take the BIS date into account, so this inconsistency doesn't create any problems.
    If I'm not mistaken, there are some notes on this error, but I'm not sure if it'll fix the problem for every table.
    When in doubt, create a customer message to SAP explaining in which cases the error is generated and ask for a correction.

  • How to zero the values that are greater than 0 at time 0?

    Hello, New user,
    I would like to know how to zero values that are greater than 0 at time 0.  I am totalizing gas flow and understand how not to add the negative numbers but am unsure about the positive numbers at 0 flow.  I hope I have explained this good enough.
    Thank you,
    Lisa

    I don't understand why the value which should be 0 is actually greater than 0.
    How do you determine that the value should be 0, such as no flow, even if the value is greater than 0?
    Ryan Shi
    Hello Ryan,
    The system itself may have an offset of 0.1 V which in the program is related to flow.  I do not wish to add this .1 as flow.  I want to beable to reset the values to 0 and then when there is flow, to add the flow.   If you purchase a program from some vendors you can zero the channel, that is my goal.  I want this to be automatic when a switch is pressed.  Such as:  for 20 seconds, average channel, and use that value as 0 flow then add flow??   I was told averaging may work??
    Thank you again,
    Lisa Williamson

  • Can't get access in Time Machine to certain folders for any date earlier than current date/time.

    Can't get access in Time Machine to certain folders for any date earlier than current date/time, even when entering as Admin. Why do certain folders have small red "-" badge in lower right corner of folder icon?  Here's a picture of the dilemma:
    I've tried monkeying with priveleges using Command I, and changing users, but to no avail.  Can anyone help?

    Right.  Here's what the permissions look like from the Finder Command I:
    I'm not sure what "Custom" means, but when I then try to change it to "Read & Write", it doesn't take.... just comes back as Custom. Interesting to note that not only am I logged into Joan's account where the data folder and file lives) to do this, but when I do it from my own account  as Admin (dunc...mpster) I get the same result.

  • Confirmation activity:start time greater than remaining start time

    Hello Experts
    While CIFing Production orders I am getting the above error "confirmation activity:start time greater than remaining start time". or sometimes the error says "invalid confirmed start time of an activity"
    I have checked the inter operation times for the operations & have ensured that the Min & max values are same.
    I have attached the screen shot also.
    Kindly advise
    Regards
    Soum

    Hello,
    I guess you háve implemented BAdI method MODIFY_AFTER_MERGE (/sapapo/cl_ex_cif_ip in SE18).
    Deactivate it.
    The mentioned error means that an activity has its  start date larger than confirmed date that's wrong for liveCache.
    Standa

  • Doc Date is Greater than Posting Date in Migo

    Hi ,
    Document  Date shouldn't be greater than Posting date in MIGO .How can I restrict it ??
    Biswajit

    Hi
    We can restrict through Define Attributes of system messages
    Settings for SYSTEM MESSAGES  - Doc Date is Greater than Posting Date in Migo in that  in that Message Type we can make the Warning Message to Error Message
    regards,
    senthil.

  • PO Doc Date is not Greater than MIGO Date.

    Dear All,
    I ahve Done PO with doc date 02.02.2009 & i create MIGO as 25.01.2009 System is accepting this document.
    so i want restriction of this procedure.
    PO date is not greater than MIGO date.
    Thanks
    Shital

    hi
    for ur problem just set message no ME039 as error message
    go to SPRO>MM>Purchasing>Environment Data>Define Attributes of System Messages
    here make message ME -039 as error
    regards
    KI

  • Schedule vibration mode for iphone using date/time

    Can we schedule iphone using date/time  (duration in each day) , so that iphone can go into vibration/silent mode as per the schedule!!
    Please share your views , Thanks in advance.

    Thank you , I'm aware of this , but the bet is to make some app to play around for myself, any idea !!

  • How to use dates/times in the definition of local fields?

    Hello!
    I have few tough questions for which I haven't found an answer. I hope someone is capable to help me.
    1. Is there a transaction to search tables if we know the field?
    2. I'd like to define a local field and need to use dates in the calculation function. So basically I need to calculate the lean-time from the date of the purchase order (field BSTDK) to the date of the final delivery (field PLIFTS) and the result should be displayed in weeks. How can I do this? Or can I?
    3. Can I use the local fields further in my calculations?
    Thank you in advance!
    Maria Kangasniemi

    Hi,
    1. Is there a transaction to search tables if we know the field?
    Tcode:    SE84
    2. I'd like to define a local field and need to use dates in the calculation function. So basically I need to calculate the lean-time from the date of the purchase order (field BSTDK) to the date of the final delivery (field PLIFTS) and the result should be displayed in weeks. How can I do this? Or can I?
    Doing some calculation you can define it.
    3. Can I use the local fields further in my calculations?
    What is local Fields?

  • From Date is greater than End Date of a BBP document.

    Hi,
    There is a BBP document created in the system which has From Date (BBP Start Date) greater than End BBP Date.
    Have any one come across this type of issue.
    Can any one tell what can be the reasons for this to happen?
    Also in this case there are no entries for the items in this BBP document in database table DFKKMOP.
    Thanks in advance,
    Hrushikesh

    Hi Hrushikesh,
    Could you please check the details at billing document level if any of them is having the bad data.
    Also, please check the data passed and the importing data for the below FM's in debug mode.
    1. START_TIME_DETERMINE
    2. END_TIME_DETERMINE
    I am not sure, but have heard about the similar issue in one of the project, but it was related with invoicing not specific to BBP.
    Let me know the data received for the above FM's, also, will check if I can get any specific details for the same.
    Regards,
    Rajesh Popat

  • Is there a screensnap app which uses date/time as the filename?

    I'm looking for a simple screensnap app which uses the current date/time as the filename... e.g. 010220120500 or something similar.

    Ah... automator... the ******* step-child of the OS.  Forgot about that one. I checked out your link and ran up against a barrier. I can make a sequential workflow, a date/time workflow in day/month/year and a couple other variations... but not a truly sequential day/date/year/hour/minute/second non-repeating workflow. Oddly enough I can make a hour/min/sec workflow but that would not absolutely define the file and could create duplicate filenames.
    I've looked over a lot of these screensnap apps and haven't found one that can do a non-repeating (thru system on/off sequences) filenaming thing. Maybe it can't be done.
    Automator was a good idea and it was fun using it again. Thanks Jeff.

  • Power Query Language Functions to Convert a UTC Date/Time to MST

    I need to convert an implicit UTC date/time value to a MST date/time value.  I thought that I could achieve this by converting to an ISO 8601 compliant text representation of the MST date/time value (see below) and then back to a date/time value, but
    it's not working ...
    DateTime.FromText( DateTime.ToText( [MIN_REVSN_RLSE_DTTM] ,"yyyy-MM-ddThh:mm:ss-07")) 
    Is this a bug?  Or, is there a better way to do this?

    That's a fixed duration. Why not just [MIN_REVSN_RLSE_DTTM] + #duration(0, -7, 0, 0)?
    EDIT: For what it's worth, I don't think PQ ever does anything with DST anyway. This has both good points and bad points.

Maybe you are looking for

  • Unethical behavior from a computer sales supervisor (Joseph – Houston Galleria Store #291

    My recent experience with BestBuy store purchase is 100% awful. Here is what happened. I was shopping for a Logitech MK550 Keyboard and Mouse Combo (MK550) and found out that local Sam’s club is having it on sale for $29.74+tax where as Best Buy pric

  • How do I get a specific node in Elixir org chart?

    The problem now is, how do I get a node from the org chart?  I have seen various methods like, getChild, getChildAt, getChildByName, but none of them seem to get the node I'm looking for.  Each node has a unique attribute of DistID.  I don't know how

  • Errors On Upstream????

    Hey guys, I am wondering if anyone else is having this issue. i have recently just moved to BT BB and excpet for a few wirless issue to start with i am very happy But.............................. i seem to have an amazing amount of CRC's errors on m

  • Some keys on my N900 are losing their black paint ...

    So far just 4 keys have shown this problem, including the space bar.    The bad news is that when the black paint starts to goes, the white plastic underneath is illuminated from below and the keys are difficult to read.  I think it may be that the k

  • Archivelink - location of file name

    I'm trying to discover how SAP accesses the correct document using the information stored in Toa03. I realise that the 'H4' points to the appropriate server but where is the link to the file name. I guess it's something to do with the document id.  T