Is it possible to include DUR2 function in a comparison formula?

I have a column of data where I compare month-over-month statistics. Some of the data in this column are simple decimals which calculate fine. But, some of the data are durations which do not.
This is my month-over-month comparison formula with conditional formatting:
=IF(A1>0,(B1-A1)/A1,"")
Is there a way to make this formula resolve durations?
I've tried:
=IF(DUR2HOURS(A1)>0,(DUR2HOURS(B1)-DUR2HOURS(A1))/(DUR2HOURS(A1),"")
But it didn't seem to work.
Any suggestions would be greatly appreciated.

MA,
I've run into this before. Your comparison operator needs to have operands of the same dimension. The best way to do this is to have a cell with the content "0h", formatted as duration, to compare to.
So, let's say your zero-hour constant is in table T1, cell A1, then the formula would be =IF(A1>T1 :: A1,(B1-A1)/A1,"").
Regards,
Jerry

Similar Messages

  • Generic service 'Analysis Services (TEST1)' could not be brought online (with error '1060') during an attempt to open the service. Possible causes include: the service is either not installed or the specified service name is invalid.

    Hi,
    We have a cluster with 2 nodes. Everything works fine in Node1. When I try to failover TEST1 database to Node-2 it fails with this message.
    Generic service 'Analysis Services (TEST1)' could not be brought online (with error '1060') during an attempt to open the service.  Possible causes include: the service is either not installed or the specified service name is invalid.
    Any help is much appreciated.
    Thanks

    Hello,
    The error message is pretty straight forward, it's saying either the service isn't installed or it's not installed as the same service on that node. Did you install analysis services on the second node (from the error it seems like it isn't)?
    Sean Gallardy | Blog |
    Twitter

  • Is it possible to define a function in the MathScript Node

    Is it possible to define a function in the MathScript Node

    You can not define a function inside of a MathScript Node, but only because it isn't necessary. The way custom functions work in MathScript is that they are saved in .m files located in paths in the MathScript path list. When the MathScript compiler receives a function that it doesn't recognize, then it searches for it in the path list, and upon finding it, compiles and loads the function. You can specify these search paths manually by going to File>>MathScript Preferences from the MathScript Window or dynamically by using the path() command within a script.
    To answer your original question, if you would like to create custom functions dynamically within a VI, then you can simply build your custom functions using strings and then save them to an ASCII file with the extension .m. You could either save the file to a path already in the MathScript path list or you could dynamically specify the path by passing the path into a MathScript Node as a string and by using the path() command at the beginning of your script to set it.
    Kind Regards,
    E. Sulzer
    Applications Engineer
    National Instruments

  • While Installing adobe reader and acrobat im getting error 1406 this error. I had already tried every possible step including special permission in registry file. Please help..

    While Installing adobe reader and acrobat im getting error 1406 this error. I had already tried every possible step including special permission in registry file. Please help..

    What is your operating system?  Is there anything else beside the number 1406?

  • Please advise: if it's possible to include a table control in step loop

    Dear Gurus,
    Currently, our user want to output a result list after calling BAPI: BAPI_BILLINGDOC_CREATEMULTIPLE.
    Because this BAPI could create multiple invoices, and the result is asked to be displayed in a special format (both header information and item information). I just think if it is possible that make the header(text boxes) and item (table control ) in to a step loop.
    Could you please kindly advise?
    Thanks & Regards

    Dear all,
    As I tried, it is not possible to include table control or subscreen area in the step loop.

  • How to define a keyboard shortcut that includes a function key?

    I was trying to set up a keyboard shortcut for a Service in Sys.Prefs -> Keyboard -> Keyboard Shortcuts and discovered that if I attempt to use a function key as a part of the shortcut that it disappears out of the key entry field as soon I click off the item. The keys I press (including an "F#" representing the function key that I've pressed) show up briefly in the field but then go away.
    Entering keystrokes that do not include a function key seem to work fine.
    Function keys are used as a part of many of the default keyboard shortcuts. So is there maybe a trick for entering a function key in the pref pane as part of a user defined shortcut that I just don't know about? Or is this maybe a bug in the pref pane? Or any other explanation for what I'm seeing?
    This is on a Snow Leopard 10.6.3 machine.
    Thanks,
    Steve

    R C-R wrote:
    Function keys are regular keystrokes, just like for letters, numbers, or punctuation marks. Thus, just like the others, you can use them only by themselves or in combination with modifier keys (shift, command, control, & option) in keyboard shortcuts.
    IOW, a valid shortcut would be F4 or command + F4 but not F4 + any regular key.
    It's good to know that regular keys are not allowed with function keys, but it doesn't explain the problem. I initially tried using command + various function keys and when that wouldn't "stick" I tried just various function keys which also wouldn't work.
    And like I said... it looks like it's going to accept the key(s) I press by showing the textual representation of the key in the key field (such as "F4" or "F5") but as soon as I click outside the text field it vanishes.
    The problem was mentioned to me by another person and I was able to duplicate it, so it's not just me or my machine. Just out of curiosity, does it work for you?
    Steve

  • Possible to include keywords in Web Gallery?

    I'm fairly new to LR, just been using it a couple weeks as a recent switcher from Aperture, I'm really liking it! One question I have concerns exporting to a web gallery: is it possible to include keywords? I'm using a PayPal template and have also checked some of the included templates but I don't see an option anywhere to add keywords to the caption area. Is this possible and I'm just missing it?
    Thanks!

    or pass an argment in the URL...
    http://MyServer/MyApplication/GetOrderInfo?method=a
    http://MyServer/MyApplication/GetOrderInfo?method=b
    And call the appropriate things according to the parameter used. But if you can't make alterations to the other application, I'm not sure how you can do any changes at all.

  • It is possible to include the jre(not the installer) with the application?

    Is it possible to include the jre(not the installer) with the application, so that the application will run on its own jre.??
    If so please provide me instructions,how to do it.
    Thanks
    Isma

    See http://java.sun.com/javase/6/docs/technotes/guides/deployment/index.html

  • Is it possible to include items and portlets in an unstructured UI template

    Is it possible to include items and portlets in an unstructured UI template. The solution which we are working on requires to have the following dynamic entities as part of the unstructured UI template
    - Page Path
    - Basic Search (item)
    - People Search (portlet)
    - Current Date (we could achieve this by using <oracle>select sysdate from dual</oracle> in the html code... however, the date appears with a different background color)
    We are working on Oracle 10g AS 9.0.4.

    Hello Matt,
    Thank you for the reply to my email menu question.
    I have a couple of things that have been bouncing around in my head that maybe you could answer for me:
    1. I see where I have a free site to promote web hosting, of which I selected the site name as NewtonBridgeAdv.... Will this site allow me to fully integrate it into the web with my design, e-commerce,  email marketing, as this site NewtonBridgeAdv.com? I currently have NewtonBridgeAdv listed on http://www.thruadoor.com/advertising-agency.html but would like to move it to a more complete site.
    2. I see where SuperSupportTeam.com is expiring on 14, June 2014. This site was cancelled as WebMarketing a few weeks ago (but still current with the payment) and is now set up as one of the five basic sites.  The payment was not refunded for this months web marketing so maybe this is what it is referring to. I don't know. I wanted the credit applied to an upgrade to E-Commercee on thruAdoor.com. However, I was not granted the refund.
    3. I thought I had viewed a sales commission on the Portal credited to the current site hosting, but now the account is empty. How do I warrant a commission for any sites that I may host on BC?
    4. I may not understand what some of the BC team members have said about my current site thruAdoor.com in that it is not set up properly or not linked properly with BC. I don't know what they are talking about. Can you help?
    Thanks,
    Henry O'Pry
    President
    Southeastern Color
    Athens, GA

  • IIs it possible to retrive deleted Function Module

    Hi all,
    i just want to know is it possible to retrive deleted Function Module .
      the request is not released yet.

    Hi Sai,
    Its not possible. (Confirm by contacting ur Basis people, if they can help).
    But the following is valid only if your function module is(or was) a transportable object.
    Go to SE37, enter your function module name and create. Assign it to the same function group and have the same interface and description. Save it, activate it.
    Now go back to SE37, enter the function module name, in the menu, 'Utilities>Versions>Version Management'. Now you should see all your previous versions. Select the most recent past version. Do a retrieve and then activate it as the latest version.
    Not sure if it works. But still give it a try.
    Best Regards,
    Anjali
    Message was edited by: Anjali Devi

  • Simple Examples on ABAP Objects without using include or function modules

    Hi,
    I am new to ABAP. I need simple example codes on ABAP Objects. It should not have Includes or Function Modules. Just simple codes, using local & global classes, interfaces etc. I searched the forum and even <<the site that shall not be mentioned>>, but did not find a solution. Kindly help please.
    Regards,
    Smruthi.
    Edited by: Matt on Mar 1, 2009 1:20 PM - forbidden site reference removed

    Hello Smruthi
    If you go to the Forum Search and choose the forum ABAP Objects then serach for ZUS_SDN and you will find many of my simple sample reports.
    These reports usually do not contain any includes but they may call function modules which makes perfectly sense. For example, if you are still doing a direct table SELECT instead of using an available BAPI (or class) to get a business object then this is a clear sign of poor (=non-ABAP-OO) programming.
    Regards
      Uwe

  • What are the Includes in Function Module...? if the fuction group IS ZSJ_FC

    What are the Includes in Function Module...? if the fuction group IS ZSJ_FC..?
    How can I access SAP through Internet....?
    Moderator Message: Interview-like question(s). Thread locked.
    Edited by: Suhas Saha on Sep 30, 2011 11:14 AM

    Hi
    No!  U can insert an own you Z-INCLUDE or somethingelse, try to regenerate the index of the program.
    Max

  • Is is possible to call a function or method before JVM exits ??

    Hi All,
    Is is possible to call a function or method before JVM exits where System.exit() is used.
    I am calling a program where System.exit is used. i need to call a function before the JVM exits.
    Please help me.
    Thanks,
    J.Kathir

    How to call the method ? Did i have to call the shudown hooks method in my main class ?
    Is it possible to have in subclass?
    is the below code is correct ? i am calling a class before System.exit is called....
    java.lang.Runtime.getRuntime().addShutdownHook(...My Own Class()....)

  • How is it possible to include in the procedure  part of HTML ?

    Hi,
    how is it possible to include in the procedure HTML tags?
    Such description give error message:
    <%public void statt()%{%>
    <option value="US">United States</option>
    <option value="AF">Afghanistan</option>
    <option value="AL">Albania</option>
    <%}%>
    This procedure is used to avoid many times to write the same HTML part.
    What is wrong?
    Best Regards,
    sergey

    I understance what you are trying to do, but you are doing it poorly... you could do something like that if you passed the JSPWriter as an argument to the method, then used ou.print("<option ..."); instead of just doing what you are doing...
    But there is probably a better way... Just make a real short html page, like this:
    <select name="country">
      <option value="US">United States</option>
      <option value="AF">Afghanistan</option>
      <option value="AL">Albania</option>
    </select>And name it like... countryList.htm.
    Then, in your JSP, do something like:
    <jsp:include page="countryList.html"/> wherever you want the list to go...

  • Is it possible to call Normal function Module from WD4A , Not RFCs

    Is it possible to call Normal function Module(FM) from WebDynPro for ABAP , Not RFCs

    There is no difference, unless you are specifically calling the RFC to connect to another system. If so, then you need to add the DESTINATION keyword to the function call and specify the destination name. This name must be defined in SM59.  But, if you are not going to another system, you can call the RFC the same way you call the regular function module.
    REgards,
    Rich Heilman

Maybe you are looking for