How to Avoid Errors in Max Function When Data Contains Blank Cells

I have a column with duration values. However, it also contains some blank cells. These "blank cells" have formulas in them, but as the cells they reference too are blank the formula doesn't produce a result.>/p>
I want to get the max value from this column. When I simply do =MAX(column-name) I get an error, presumably because some of the cells are blank. This table is going to be highly dynamic, so I don't want to limit the range of the MAX() function to only those cells with values.
So does anyone know a solution for this, please? If I was some how able to create a formula which returned the range of cells with actual values, then I could use that in the MAX() function. Or, if I could somehow tell the MAX() function to ignore blank cells, but I'm not sure either of these are possible.
Thanks,
Nic

I don't see a problem with "blank" (null string) cells mixed with duration cells.  MAX works fine with this mix of cells. But if the "blank" cells are numbers, not text, that gives an error.
A formula always produces a result. A formula cannot result in a blank cell. The closest you can get to "blank" is a null string (the result of two quotes next to each other with nothing between them) . So the question is, what is the result that you are calling "blank"?

Similar Messages

  • How to return 0 on max function when no rows found

    Hi everyone!
    I am using a max fuction, but I want that the function return 0 if there are not rows that match with the conditions.
    I was thinking in something like this
    SELECT nvl(max(salary),0)
    But it doesn't work, it doesn't show the value 0
    Please someone can give and idea
    Thanks a lot.

    Hi,
    Welcome to the forum!
    NVL (salary, 0) returns either salary or 0 on each row. It does not change number of rows.
    To make sure that rows exist, you can do an outer join, like this:
    SELECT  NVL ( MAX (t.salary)
                , 0
                )    AS max_salary
    FROM             dual
    LEFT OUTER JOIN  table_x  t  ON  1 = 1
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say what version of Oracle you're using (e.g. 11.2.0.2.0).
    See the forum FAQ {message:id=9360002}

  • How to avoid shut down BPELPM Server when creating a user?

    Hi,
    How to avoid shut down BPELPM Server when creating a JAZN user and after doing changes to user-properties.xml?
    Thanks,
    Jorge

    this configuration is only supported on a midtier - there is a work around for a standalone install, nevertheless I would not recommend this for production ..
    if this is NOT a production enviroment - I can try to get you the information .
    /clemens

  • How come my bluetooth isn't functioning when i wish to bluetooth some pictures from my handphone?

    How come my bluetooth isn't functioning when i wish to bluetooth some pictures from my handphone?

    Bluetooth on the iPad is aimed at devices such as headphones and keyboards - this article lists the bluetooth profiles that are possible on iOS devices http://support.apple.com/kb/HT3647

  • How can I call a custom javascript function when clicking on cfgrid cell.

    I would like to call a custom javascript function when
    clicking on a cell in an cfgrid (of html format). The closest thing
    I can find is to use the HREF="" attribute, but it doesn't seem to
    work with javascript inside it.
    Simple example:
    <cfgridcolumn name="Foo" header="Foo"
    href="javascript:customFunction(#ID#);">
    Do I need to tap into the underlying Ext JS funtionality? If
    so, where can I start?
    Thanks!

    Hi,
    According to your post, my understanding is that you want to hide/show list columns based on specify the permission for Users, SharePoint Groups or Active Directory Groups.
    Here is a solution from CodePlex for your reference:
    SharePoint 2013 Column & View Permission
    https://sp2013columnpermission.codeplex.com/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How i avoid this window and directly fetched date

    hi master
    sir i have three options button when i select anyone then my query change and fatch new data
    but before fetching data system show new windows with this message
    Do you want to save the changes you have made ?
    with yes / no /cancel button
    sir how i avoid this window and directly fetched date
    or how bypass this message
    please give me idea

    bro, when u execute the query to fetch records it tries to validate the form and pops an alert message. if u want to avoid it do this
    change : execute_query;
    to: execute_query(no_validate);
    now it wont ask for validation of the previous records present on the form, but make sure such actions are not not a threat to data integrity.
    zaibi.

  • How to set the POV in WebAnalysis when data source is HFM?

    Hi Every one..
    Could any one tell how to set pov in web analysis when data base is HFM. And hoe to make the report Dynamicall (Current Pov Member like in FR). for this if use Essbase Ican get it it easiliy by using Subtitutional variable but is ti possible fo rHFM.
    Thnaks in advance
    Rao

    yeas agree with sanakar,
    this field which shankar is talking about must be entry date (if u delta timestamp is date, u will also have to mention this table field name in definition of delta), this means that this field will catch last change to the record, so that it will be delta enabled based on the latest change date. This is very important becuase if u use date like posting date to the delta then back dated posting will not captured in to the delta, as delta for this back date is already been done.
    Hope u understand this.

  • How to avoid error "HTP 404" when working with "Google Suggest" and Apex 3?

    Hi,
    I am trying to implement the GOOGLE SUGGEST function in an APEX application (a sample of Google Suggest + APEX can be found in http://htmldb.oracle.com/pls/otn/f?p=22777:6:4312817919732414 or http://teradata.weizheng.net/2009/08/using-google-suggest-in-apex.html).
    The release of APEX is 3.2.1 and of RDBMS is 9.2.0.8 (64 bits). They are installed on a SOLARIS 9 SPARC 64-bits server, where i have an EBS 11.5.9 application. So, i´m using RDBMS and Apache of EBS 11.5.9 to work with APEX 3.2.1.
    I can see the list generated by javascript function when i type in P2_REPORT_SEARCH, but when i SELECT an item (pressing ENTER), i have got an "HTP 404 error". Looking in the logs in the apache, i have found this error:
    http://prigaudi1.sote.tasa.com.ar:8002/pls/apex/wwv_flow.accept
    [Tue Jul 26 10:12:53 2011] [error] mod_plsql: /pls/apex/wwv_flow.accept ORA-0
    wwv_flow.accept: SIGNATURE (parameter names) MISMATCH
    VARIABLES IN FORM NOT IN PROCEDURE: AQ,OQ
    NON-DEFAULT VARIABLES IN PROCEDURE NOT IN FORM:
    I think that "AQ" and "OQ" are variables of "ac.js" javascript.
    The JAVASCRIPT procedure that is situated on HTML HEADER of PAGE 2 is :
    <script src="/i/BASE_CONOCIMIENTO/ac_google/ac.js" type="text/javascript"> </script>
    <script language="Javascript" type="text/javascript">
    function iac()
    { InstallAC(document.wwv_flow,document.getElementById
    ('P2_REPORT_SEARCH'),"","ASKTOM.incsearch_articulo","en"); }
    </script>
    The JAVASCRIPT function that is situated on HTML BODY ATTRIBUTE is:
    onLoad="iac()"
    My "INCSEARCH" procedure is described below:
    CREATE OR REPLACE PROCEDURE IncSearch_ARTICULO(qu VARCHAR2, hl VARCHAR2, js VARCHAR2,
    client VARCHAR2 default null) AS
    l_List1 varchar2(10000);
    l_Query varchar2(255);
    l_separator varchar2(10) default '';
    BEGIN
    l_Query := qu || '%';
    FOR x IN (select TIT_TOPICO,NULL AS COMPLEMENTO from BAC_TOPICO where Upper(TIT_TOPICO) like Upper
    (l_Query) order by 1)
    LOOP
    l_list1 := l_List1 || l_separator || '"' || x.TIT_TOPICO || '"';
    l_separator := ',';
    END LOOP;
    owa_util.mime_header('text/html', false);
    owa_util.http_header_close;
    htp.p('sendRPCDone(frameElement, "'|| qu ||'", new Array(' || l_List1 || '), new Array(""), new Array(""));');
    END INCSEARCH_ARTICULO;
    I think this procedure is working fine on Apache Server:
    Example:
    http://prigaudi1.sote.tasa.com.ar:8002/pls/apex/asktom.incsearch_articulo?qu=A&hl=A&js=a <enter>
    sendRPCDone(frameElement, "A", new Array("Ayuda Como crear un topico en la base de conocimiento"), new Array
    (""), new Array(""));
    I would like to know how i can solve this problem of HTP 404 and "SIGNATURE (parameter names) MISMATCH"
    Best regards,
    Sergio Coutinho

    Hi,
    Maybe i provided too much information about my problem,
    Well, i tried to implement the solution "Google Suggest" in my APEX 3.2 application, but i´m having now an "HTTP 404 error" when i select an iten in the list buided by "google suggest".
    Can anybody make a suggestion of how i could analize this error and fix it?
    Best regards,
    Sergio Coutinho

  • How to avoid error while install oracle developer suite10g(forms & reports)

    hi dear all in recent times i am trying to install oracle developer suite 10g to learn forms and reports in my lap having windows 7 ultimate version ,32 bit,2.56 GB of ram .I downloaded two files ds_windows_x86_101202_disk1 and ds_window_x86_101202_disk2 and i downloaded Oracle universal Installer but i am unable to complete installation process ,When i click on complete(1.11gb) version which include forms,reports,xml,j developer I am facing this type of error message
    "Install has encountered an error while attempting to verify your virtual settings.please verify that the sum of the initial sizes of the paging files is at least 256 mb"
    Could any one help how to avoid this type of error message ? or else is there any other way to download Oracle forms and reports version

    Ok, Oracle Developer Suite (ODS) 10g (Forms/Reports) was not designed for Windows 7. In order to the ODS you must follow these steps for the installation to be successful.
    1. You must set the Virtual Memory (VM) size. The Oracle installer can not read Windows Managed VM. See the Microsoft article Change the size of virtual memory for more information on setting the VM size.
    2. The Oracle Installer does not recognize the internal version number of Windows 7, so you have to set the compatibility mode on the Setup.exe to Windows XP. Right-Click the SETUP.EXE and select properties. Then click the Compatibility Tab and in the Compatibility Mode area set this to "Run this program in compatibility mode" and select "Windows XP SP3".
    3. You must run the ODS setup.exe as the Administrator. Right-click the setup.exe and select "Run as Administrator".
    Having done these three steps, your installation should be successful.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • How to get error's field name when execute sql error

    I want to get the error's field name when execute sql error,but SQLException is not provide corresponding function to get it.
    How can I do for it?

    user523110,
    I believe the "unique constraint" error message displays the name of the constraint, not the column name, as you have posted.
    As far as I know, the only way to extract the column(s) would be to query the data dictionary using the constraint name provided in the error message.
    Also, as far as I know, there is nothing in the JDBC API that can return the names of the columns associated with a given unique constraint.
    Good Luck,
    Avi.

  • How to avoid the transport request popup when changing real-time load behav

    Hello experts,
    I'm often switching between the two loading mode, and I already worked in systems where I don't have the popup for transport request : (so I guess there is a possible tuning anywhere)
    How to avoid the "asking for a transport request" popup in BW when changing real-time load behaviour of an infocube
    Thanks in advance, I will save precious time
    Guillaume P.

    Hello Krishnan,
    i tried to switch all object types from "not changeable" to "changeable original", but still get the popup when switching cube loading mode.
    Do you know the particular object type to manage ?
    Hello Vishnu,
    same thing, whatever the option is (switch on / off standard) I have the transport popup.
    Anyway thanks for your try.

  • How to define error message for function based index violation?

    Hi,
    I am generating Forms 6i from Designer 6i. I have a function based index to enforce case insensitive name uniqueness. With check constraints I can specify constraint violation error messages that will be displayed in Forms at runtime if needed. How can I do this with function based index constraints?
    Regards,
    Tamas

    OK, problem sorted.
    You need to create a check constraint with the same name as the new index, but don't enable it.

  • How to avoid error while calling jsp file?

    hello,
    how to avoid the following error?
    i am using jdevloper for devloping jsp applications.
    after that i am calling the jsp page using tomcat4.0 ,i followed the steps according docs by jdev team,
    i am getting the following error how to solve this,
    can one help?
    =============================
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    org.apache.jasper.compiler.CompileException: /AccountView_Browse.jsp(4,0) Unable to load class oracle.jbo.html.jsp.datatags.ApplicationModuleTag
         at org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java:139)
         at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(JspParseEventListener.java:829)
         at org.apache.jasper.compiler.JspParseEventListener.addGenerator(JspParseEventListener.java:153)
         at org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(JspParseEventListener.java:1039)
         at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:221)
         at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:216)
         at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:852)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1145)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1103)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1099)
         at org.apache.jasper.compiler.ParserController.parse(ParserController.java:214)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:210)
         at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
         at java.lang.Thread.run(Thread.java:536)
    ====================
    thanks
    pullareddy

    Ok, Oracle Developer Suite (ODS) 10g (Forms/Reports) was not designed for Windows 7. In order to the ODS you must follow these steps for the installation to be successful.
    1. You must set the Virtual Memory (VM) size. The Oracle installer can not read Windows Managed VM. See the Microsoft article Change the size of virtual memory for more information on setting the VM size.
    2. The Oracle Installer does not recognize the internal version number of Windows 7, so you have to set the compatibility mode on the Setup.exe to Windows XP. Right-Click the SETUP.EXE and select properties. Then click the Compatibility Tab and in the Compatibility Mode area set this to "Run this program in compatibility mode" and select "Windows XP SP3".
    3. You must run the ODS setup.exe as the Administrator. Right-click the setup.exe and select "Run as Administrator".
    Having done these three steps, your installation should be successful.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • How to achieve Fast-forward/rewind functions when using VideoDisplay

    I use "VideoDisplay" instance for progressive download of
    videoes from a server. Is anyone know how to add
    fast-forward/rewind functions using Actionscript 3 with
    VideoDisplay object?
    or is there anyway to do it when playing videoes through
    progressive download?
    Thanks in advance.

    Matt,
    Thank you very much for your help. The thread is quite
    interesting.
    I can only make the video jumping forward/backward at the
    step of 10 seconds by changing VideoDisplay's "playheadTime"
    property. When I set the step down to 1 second,
    the video is "frozing", and the playheadTime is going 1
    second forward/backward, then return back to where it is, and going
    1 second forward/backward, then return back to wheare it is again,
    and repeats forever.
    For the FLVPlayback class, it is not available in Flex
    builder 3, why?
    Thanks again,
    Regards,
    Fan

  • How to avoid error message re: an exception that I don't care about

    I written a script that allows a user to click on a thumbnail image and then the script will change the html in order to play a particular video. It works, except that it throws some kind of error and I don' t know what it is. Since it works, I don't care what it is, but I would like to catch it. The popup error window says "An error occurred inside a plug-in contained on this page." Any ideas on what the error might be? Below is my code.
    <script type="text/javascript">
    function PlayVideo($Thumbnail)
    // Then there is a PHP section where I look up the video file, $VideoFile, in a database with $Thumbnail as my criteria. For now, I have a file hardcoded into the param.
    var $NEWhtml; // variable to build new script to swap with
    $NEWhtml ='<object id="MP4player" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="400" height="250" codebase="http://www.apple.com/qtactivex/qtplugin.cab">\n';
    $NEWhtml +='<param name="src" value="VideosApproved/Toad Singing.mp4">\n';+
    +$NEWhtml+ ='<param name="autoplay" value="true">\n';
    $NEWhtml +='<param name="loop" value="false" >\n';+
    +$NEWhtml+ ='<embed width="400" height="250" pluginspage="http://www.apple.com/quicktime/download/" type="video/quicktime" autoplay="true" controller="true"></embed>\n';
    $NEWhtml +='</object>\n';
    // REMOVE OLD ELEMENT
    var specialzone = document.getElementById('MP4section');
    var element = document.getElementById('MP4player');
    element.parentNode.removeChild(element);
    // ADD NEW ELEMENT
    var specialzone = document.getElementById('MP4section');
    var change = document.createElement('MP4player');
    change.innerHTML = $NEWhtml;
    specialzone.appendChild(change);
    return true;
    </script>

    This site supports java
    Java != javascript

Maybe you are looking for

  • Problem with revocked/expiring certificate

    certificate has been revocked 15 days before the expiration (do not know the reason) now i can not install any more the app to one of my devices and thats understandable but what it is not clear to me is what is going to happen to all the ipads where

  • Change to Exchange 2010 after SP3, Update 5 installed

    After updating Exchange 2010 from SP3 Update 2 to Update 5, a change has occurred for users with SendAs and Full Access to other mailboxes. Version 14.3 (build 123.4). Before the Update, after giving a user these permissions to another user's mailbox

  • Problems with media software..​.

    Hi, I am new to the Blackberry.  Just purchased the Pearl 8110 from and with AT&T service.   The software that comes with it is v4.3 though here on the site I see the version is v4.6 for the lastest.  Can I use the version here on my phone even thoug

  • Setup of Standby on Maxdb

    Dear All, I have to setup DR site using maxdb on Redhat Linux 5.4. On Primary  Server  and and Standby  Server Please advice     Hostname Should be same. Steps i will follow to setup DR site. 1.Backup copy from Production  server will be restore on T

  • Agentry server date conversion

    Hi Experts,      I have developed a sample customer application in agentry  connecting to mssql back end.There are fields with data type 'date' in front end and data type 'date and time' in back end. In the process of updating orders from ate to back