Time Comparison and Calculation Questions

Friends-
I work in an industry where my scheduled work time is limited by statute.  And I have to do calculations for work legality that are based by looking back at actual times and forward at scheduled times.  The "DURATION" format is amazing because I can enter 5H 47M and it appears as I require.  I can also easily add with SUM my required times.  But that is the easy part.
The hard part is it appears that while I can add and subtract DURATION formats, it is not a number, but a string.  (I think).  The problems I have are:
1.  I need to populate a column for calculations (Calc Column) which includes either my Scheduled Time or Actual Time.  I need to look backward on actual times (regardless of which is greater or less) and forward on scheduled times.  I put that value in the Calc Column and do running totals for 28 days at at time.
An IF statement would work perfectly here, if these were numbers, but unfortunately 0H 0M does not equal zero and I have been unable to make any If formula that states =IF(A1=0, X, X)   or   =IF(A1=0H 0M, X, X)   or   =IF(A1="0H 0M", X, X).    The only way I can test to see if a value is zero is with a string operator to look at 0H 0m and see zero's    =IF(MID(F44,4,1)+MID(F44,1,1)=0,E44,F44)
Can anyone think of a more elegant way to test for whether a column contains 0H 0M.
2.  I have to enter 0H 0M because I can't get any formulas to work on a blank cell.  I would much prefer to not see 0H 0M in the column and only see values on the days that I work.  But I have not been able to leave blank.  As you can see the only formula that works requires 0H 0M and not zero or empty.
3.  Conditional formating:  I have tried to conditional format so that any time the value of a cell exceeds 95 hours it turns red.  But formatting works on values, and not on my 0H 0M string.
Suggestions or solutions appreciated:

Ian:
Thanks, it almost worked perfectly, but not quite... 
DUR2HOURS solve the biggest problem that I had.  Unlike in you sheet I do not calculate on a start and ending time.  I start with a scheduled time for the day, then a computer provides me an actual time for the day.  So Column E is Scheduled, Column F is Actual.
DUR2HOURS allows the if statement you see below, namely to see if ACTUAL column is zero, it returns result of Scheduled.  Thank you, very nice solution and allows IF statement.
Small issue still left, I would like to leave the says that I do not work displaying blank.  Currently I have to enter 0H 0M every day or else the dreaded little red triangle below.  So if I could make a formula that did not return the triangle the spreadsheet would read nicer and I could move onto the lookup function that is also not working!
Thanks again for the excellent recommendation.
JG

Similar Messages

  • Time Capsule and iPhone question

    I recently replaced my Airport Extreme (802.1b/g) with a Time Capsule and went through the standard installation and setup procedure - no problems. I assumed that the TC was operating in 802.11N mode - there did not seem to be an option to set during the installation process. I must admit that I did not notice a marked improvement in my network speed but assumed all was well. Now some weeks lated I bought an iPhone - it immediately connected to my network. I did not even think about the N vs b/g issue. Now reading this forum I noticed that iPhones are b/g so does this mean my network automatically "downgraded" from N to b/g or has it always been running in b/g. Note I before I installed my T/C I turned-off my old AE.
    I cannot figure out how to determine what mode my network / TC is running in. Can I easily swap back and forth when I need to have my iPhone connected.
    I have read the thread on this forum on how to have 2 bridged networks - one with N and one with b/g (might be a good way to put my old AE and Airport Express to some use) - since I'm no network wizzard I like to keep things simple - by doing so I seem to avoid many of the issues I read about on the forum
    Thanks for any advice.

    Hi Pat, I have an iPhone too and I'm quite disappointed that my nice new N router will be running at much lower speeds. When I'm at home I use both my MBP and my phone and switching back and forth doesnt sound appealing.
    Anyway, to answer your question, open up the Airport Utility and click Manual Setup at bottom right. Then click on Wireless from the 4 tabs you'll see and choose the appropriate setting from the Radio Mode drop down menu.
    Hope this helps!
    deburn

  • Time Comparison and Subtracting

    I have a requirement regarding time like i need to compare two time datatype fields, like Start time and End time, End time should not be greater than Start Time. Also Lunch break field will be entered in mins. So, now I need to display in a field Working = Start-End-Lunch. How can I subtract Time from Time and also Compare in Webdynpro Java

    Its more w.r.t. plain old Java.
    Look up in Java to use the Date/Time classes to subtract the times.
    Check this link for some clue into time subtraction in Java.
    http://www.mkyong.com/java/how-to-calculate-date-time-difference-in-java/
    Regards,
    Sharath

  • Date/time theme, and audio question

    I have a video about 45 min long. I have dragged the date/time theme to each thumbnail section, but sometimes it won't allow me to drop it into the whole thumbnail, only a part of it. Is there a fix?
    Also, can you drop the date/time theme into the whole video, without having to do each thumbnail?
    How do I transfer my video to a dvd without sound?
    Thanks!

    I have dragged the date/time theme to each thumbnail section, but sometimes it won't allow me to > drop it into the whole thumbnail, only a part of it. Is there a fix?
    Have you tried dragging the left handle (and dragging to the left) or the right handle) and (dragging to the right) to lengthen the Title?
    You must do titles one at a time.
    How do I transfer my video to a dvd without sound?
    You can set the volume for a clip by clicking on the inspector icon for the clip (looks like a little gear inside the clip). Select Audio Adjustments. And move the volume slider to zero.
    If you want to do this for all clips, select the clip you just adjusted and click, EDIT/COPY.
    Now click EDIT/SELECT ALL.
    Finally click EDIT/PASTE ADJUSTMENTS/AUDIO.

  • Planning time fence and MRP question

    Good morning,
    We have the following requirement:-
    1. We want the Planning time fence to move once a week (by 1 week)
    2. If we have a schedule line at the end of the Planning time fence, we want this to   move inside the planning time fence (as per step 1)
    3. Put a fixing indicator on anything that falls into the Planning time fence (as per step 1).
    Thanks in advance

    mm

  • Adding Date/Time Field + X Number of Days - Basic Calculation Question

    I am assuming this is a basic calculation question. New to Adobe LiveCycle Forms.
    I have a simple form containing a table. The table appears as such:
    Text
    Formatted as Date/Time Fields
    Header 3
    Monday
    user wil choose the beginning date (Date/Time) this is DateTimeField1
    Tuesday
    this should calculate DateTimeField1 + 1
    Wednesday
    this should calculate DateTimeField1 + 2
    Thursday
    this should calculate DateTimeField1 + 3
    Friday
    this should calculate DateTimeField1 + 4
    Saturday
    this should calculate DateTimeField1 + 5
    Sunday
    this should calculate DateTimeField1 + 6
    Calculations are performed after the date is chosen for Monday. My mind tells me the simple calculation of DateTimeField1 + 1 is not going to work (and in fact doesn't!) as it needs to change Monday to a number first. I saw on another thread the following:
    Num2Date(Date2Num(Date(DateTimeField1), "DD.MM.YYYY")+7, "DD.MM.YYYY")
    Thought this was going to get me close. No cigars though!
    Any quick help is greatly appreciated. And since I am new to this, details about what needs to be changed would be great too!
    Thanks

    Here an addition for you date field.
    This FormCalc script in the exit:Event will check it the selected date is on a monday.
    If not it will go the days back until the last monday.
    var Selection = Date2Num($.formattedValue, DateFmt(2))
    var WeekDay = Num2Date(Selection, "E")
    var NewDate
    if (WeekDay eq 1) then
              NewDate = Selection - 6
    elseif (WeekDay eq 3) then
              NewDate = Selection - 1
    elseif (WeekDay eq 4) then
              NewDate = Selection - 2
    elseif (WeekDay eq 5) then
              NewDate = Selection - 3
    elseif (WeekDay eq 6) then
              NewDate = Selection - 4
    elseif (WeekDay eq 7) then
              NewDate = Selection - 5
    else
              NewDate = Selection
    endif
    $ = Num2Date(NewDate, "EEE DD.MM.YYYY")
    Hope this helps, too.

  • I have question about hooking up an external hdd to a time capsule and still have my printer hooked up as well. Anyone got any tips for me, how to do it and what brand of harddrive that will work best for me 1 or 2 TB

    i have question about hooking up an external hdd to a time capsule and still have my printer hooked up as well. Anyone got any tips for me, how to do it and what brand of harddrive that will work best for me 1 or 2 TB

    You just need a powered hub.. if you already use one then fine.
    Plug in just about any external hard disk will work fine. Format has to be readable by the TC.. ie fat32.. or much better HFS+.. plug it into a Mac to prepare the drive.
    Pick whatever size suits.. nowadays 2TB are most economical.
    WD, Seagate have goobled up all the minor players.. so pick one.
    Whatever suits your budget and asthetics.
    NOTE.. The USB on the TC is fine for printers.. IMHO it is the wrong way to go with USB disks.. use the internal disk of the TC.. USB is less than half the native speed plugged into a Mac.. TC to USB is slow.. far slower than internal drive.. or using external drive as external.

  • Time Machine and drive permissions question

    I'm using Time Machine on a MacBook with two admin accounts (let's call them admin1 and admin2). admin2 is the account used daily. admin1 is the account used very infrequently.
    Things were set up with admin1. I noticed today when I was logged in as admin2 that TimeMachine reported that the last backup was more than 2 week ago (when things were set up), and that the last backup failed because the user didn't have privileges.
    I did a Get Info on the drive, and it seemed to confirm that (admin 1 had read/write privileges, but admin 2 had only read access).
    To get around the problem I logged in as admin1 and turned Time Machine off. I then logged in admin 2 and selected the disk from there, and turned Time Machine on.
    My question is - is this normal behavior? Or if there's something wrong, how to fix it?
    Thanks...

    Scott Newman wrote:
    After a few minutes, an external drive that is mounted on the desktop will spin down--like it should. But...each time a "Save" or "Save As..." dialog box is opened in any application, things will grind to halt for a few seconds while the external drive spins up--even though I will not be saving files to that drive. I've always hated that, which is one reason I've always done manual backups.
    Does that happen with Time Machine (either with a drive physically or wirelessly connected via Export Extreme) and is there any way to avoid that?
    It happens with TM. I am not sure of any convenient work-arounds. You can of course eject the drive and reattach it when you want to make a backup, but that's a bit inconvenient, IMO.
    Is it possible to manually turn on and turn off Time Machine (and the external drive) so as to only do manual backups like I'm doing now? I don't really care about looking up a prior version of file that I've changed. I just want a reasonably current whole-disk backup.
    Yes, TM has an on/off switch. Just turn it off until you want a backup. It will simply continue where it left off. It will not create a completely new backup.

  • Long story short....I restored my computer to an earlier point using time machine and now all of the previous back-ups are gone. My question has to do with itunes...is it possible to restore my itunes library to the most recent backup because the restore

    Long story short....I restored my computer to an earlier point using time machine and now all of the previous back-ups are gone. My question has to do with itunes...is it possible to restore my itunes library to the most recent backup because the restore that I did was in march and the latest backup was in may....the reason being is that there were app that i had downloaded that are in my most recent back-up, that were not in the backup I restored to. Is it possible to just restore one application ie)itunes?

    See this post.
    tt2

  • Time series and Order series questions

    Hi Guys - Need some help in understanding/Visualizing some basic APO concepts. I do not want to move further without understanding these concepts completely. I did read sap help and couple of apo books but none gave me a complete understanding of this very basic concept.
    1. Data is stored in livecache in 3 different ways. time series, order series and atp time series. for now I am concentrating on just time series and order series. Can some one help me understand with an example how data is stored in time series and how it is stored in order series? I read that data which is not order related is called time series data and which is order related is called order series data.
    My query is even in DP time series data, data is stored with respect to product and location that is transferred to snp. In SNP too data is processed with respect to product and location. so what is the difference in time series data and order series data?
    2. what are time series key figures and what are order series key figures? I read safety stock for example is a time series keyfigure. why is it not a order series key figure? what makes a keyfigure time series or order series? can some one xplain this in detail with an example or numbers?
    3. there is a stock category group in snp tab of location master LOC3. Stock category should be product related right? how is this related to location and what does this field mean in location master
    Thanks a lot for your help in advance. Please let me know if I am not clear in any of the questions.

    Hi,
    Time series:  Data is stored in buckets with no reference to orders.( If you place the mouse on time series data and right click for
                         display details , you will not find any information.
                          Suitable for tactical planing and aggregated planning. Usually in demand planning.
    Pre requisite: 1. You need to create time series objects for the planning area.
                           2. When creating planning area you should not make any entries for the Key figure in the field Info Cube, category
                               and  category group.
                           3. When creating planning area any entry you made in the field Key figure semantics with prefixed with TS.
                               (Optional entry)
    Order series: Data is stored in buckets with reference to orders.( If you place the cursor on the order series data and right click
                          the mouse for display details , you will find information of order details.)
                         Useful for operative planning.
                         *You will have real time integration with R3.
    Pre requisite: 1. You need to create time series objects for the planning area.( though you are creating Order series)
                          2.When creating a planning area specify a category or category group or enter a key figure semantics with prefix
                            LC.
                         3. When creating planning area you should not make an entry for the key figure in the field Info cube.
    Thanks,
    nandha

  • TS3297 I cannot purchase music currently as I am being asked to answer security questions due to it being " the first time have bought from this PC". This is not the case, I have not changed my PC. I have changed my passowrd and security questions but no

    I cannot buy music currently as I am being asked to answer security questions due to it being supposedly "the first time I have bought form this PC". This is not the case. I have now changed my password and security questions, but it is asking me the same when I try to buy again.

    First off, the name of your computer is only the way it is becuase the Apple user is the first one they created after repairing the Mac. Go into Sharing System Preferences and change the name to whatever you like.
    Can you explain how you did this:
    This didn't seem right so I went in to it and changed the computer so that it would recognise me as the Owner/Administrator.
    You can delete the Apple user in Users & Groups System Prefs. Select that user and delete it. It will ask if you want to save the user data or delete it. If you archive it, you can always delete it later and it will be available if you need to recover that account for some reason--I doubt this will be necessary. After deleting the account, and when you feel you are still working normally, you could delete that archived user folder.
    I have also never seen anything ask for that. It does sound like an Epson thing, but without having access to it, I couldn't tell you for sure.
    Here's what I would try. Create a new User and give them admin rights. Log in as that user and see what happens with the installer. If it still complains, it is an Epson issue. My guess is it is looking for user id 501, the first user created. If it works, then something is indeed odd about your account. If so, use that new admin account to disable Admin privileges for your account, then re-enable it. This is done in the Users & Groups system prefs.

  • How in the world do you reset your security questions? I set mine up a long time ago and do not remember them at all. Please help.

    I set my security questions up a long time ago and I recently just tried to purchase something In an app and it asked me my security questions which I have not one clue what they are. I just need to know how to reset them.

    http://support.apple.com/kb/ht5312

  • HT5699 I try to buy from your iTunes program and I can not buy me a message appears stating that I am the first time Buy and necessary to answer the questions, but I do not remember the answer please help

    I try to buy from my iTunes program and I can not buy me a message appears stating that I am the first time Buy and necessary to answer the questions, but I do not remember the answer please help

    You are not addressing Apple here we are just users like you.
    Security questions
    Read this note for information on how to reset the security questions http://support.apple.com/kb/HT5312
    This user tip may also help you Security Questions

  • Question about Time Capsule and Spotlight

    I have a simple question about using Time Capsule and Spotlight. Is everything that goes on to Time Capsule indexed into Spotlight? It would appear so but when I search for something (that is still on my hard drive and also backed up to Spotlight) only the local copy appears. Would it be that it finds the closest copy and if that were not there it would point to the Time Capsule copy? Thanks in advance for clarifying this for me.

    The automatic setup in the airport utility has changed something.
    Is the line down to the TC from the express dotted.. in other words is wireless??
    Funny stuff happens.
    Please post the screenshots of the 3 pages from the airport utility setup for both airport express and TC..
    Make sure wireless is set to off in the express.
    Both should be set to dhcp on the internet tab and both set to off bridge mode on the network tab.
    So for example the bridge on the network tab.
    The summary page can also be a help.
    There is a half summary page when you click the item in the airport utility.
    There is also a fully summary page, when you hold option key and double click the TC icon for example.

  • Hey Apple I want to buy my first time there and do it and do not remember the security question that I want to. Please tell us what they can do.

    Hey Apple
    I want to buy my first time there and do it and do not remember the security question that I want to.
    Please tell us what they can do.

    Welcome to the user to User Technical Support Forum provided by Apple
    Houshiar wrote:
    do not remember the security question
    See Here > Apple ID: Contacting Apple for help with Apple ID account security
              Ask to speak with the Account Security Team...
    Or Email Here  >  Apple  Support  iTunes Store  Contact
    More Info >  Apple ID: All about Apple ID security questions

Maybe you are looking for