Click on a cell in formula doesn't return value, only text. why?

When doing a simple formula like =c4-c5 in one of my sheets, when i click on the cell, it doesn't return the value, only text.
What setting do i have enabled/disabled?
thanks
hamdog

HI Hamdog,
What you are seeing is the formula that is in that cell.
The setting you have turned on is the first one in the bottom section of the General page of Numbers Preferences. In the English versions, it looks like this:
With the checkbox unchecked (as mine is), the formula would read:
=L10-P10
Column L is labeled "Tips", Column P is labeled "Lenka", Row 10 is labeled "9. 2. 2013"
To Copy and Paste the result, 462, click (once) on the cell and Copy, then click (once) on the cell where you want to paste the result and go Edit > Paste Values. This should be the seventh item (not including the separator line) in the Edit menu.
Regards,
Barry
Regards,
Barry

Similar Messages

  • Query Formula with boolean return values

    Hi,
    In my query, I have a  formula column which returns a boolean value 0 or 1. I need to add these values, but I cannot add them as boolean.  Is there a way that I could convert the boolean values to number/integer so I can add them?
    Thanks in advance
    Best Regards,
    Rose

    Hi Rose,
    please change 'Calaculate Result as' in properties of affected formula to 'Summation'.
    If this sould not help put formula in brackets and multiply by value 1 or create a new formula like
    (yourformula = 0 + yourformula = 1) * 1
    this should provide an integer.
    Regards
    Joe

  • [BUG] LOV inside AF:table doesn't return value

    Hi,
    I am using JDEV TP4.
    I have a LOV inside a af:table.
    <af:column sortProperty="LaoId" filterable="true"
    sortable="true"
    headerText="#{bindings.Packstuecke0012.hints.LaoId.label}"
    id="collaoid"
    partialTriggers="collagercode">
    <af:inputListOfValues id="laoIdId"
    popupTitle="Search and Select: #{bindings.Packstuecke0012.hints.LaoId.label}"
    value="#{row.bindings.LaoId.inputValue}"
    model="#{row.bindings.LaoId.listOfValuesModel}"
    required="#{bindings.Packstuecke0012.hints.LaoId.mandatory}"
    columns="#{bindings.Packstuecke0012.hints.LaoId.displayWidth}"
    shortDesc="#{bindings.Packstuecke0012.hints.LaoId.tooltip}"
    partialTriggers="lagerCodeId">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.Packstuecke0012.hints.LaoId.format}"/>
    </af:inputListOfValues>
    </af:column>
    After selecting a value in the LOV and leave the LOV the id in the corresponding column field doesn't change.
    Same LOV outside of table works fine.
    Any suggestions?
    regards
    Peter

    Hi,
    Ok, I try to explain the problem more detailed:
    1) I have a model driven LOV (af:inputListOfValues) within a af:table column
    2) LOV is based on view and shows the id "LagerCode"
    3) Navigate to view object in the model select "Attributes" on the left side and double-click on the attribute "LagerCode"
    4) This opens the dialog "edit Attribute: LagerCode"
    5) navigate to register "UI-Hints"
    6) And here is the important step: UNSELECT the checkbox "Query List Automatically".
    7) Run the application and open the LOV --> The LOV list is empty (because of step 6)
    8) Execute "search" in the LOV and select any value
    9) PROBLEM: No value is returned to af:inputListOfValues
    If I do the same steps with a LOV outside of af:table everything is OK.
    If I do NOT UNCHECK the checkbox "Query List Automatically" in step 6 than the LOV list is queried as soon as the LOV dialob opens. In this case the selected value from the LOV list will be returned to af:inputListOfValues.
    I hope you are able to follow my steps and you can reproduce the problem.
    regards
    Peter

  • Handle Query when he doesn't return value

    hello,
    I have this code in a WBP
    begin
    go_block('xxx');
    execute_query;
    end;
    and in my 'xxx' block i have a pre-query that makes a set_block_property('xxx',defaut_where,value);
    but when my query doesnt find any record he still continues to run untill he returns me somes wrong records. how i know? I checked in backend with the condition values and there are no records for these condition values. so i think it's may be because i didn't handle my query for when he doesn't find records that match with the condition.
    if some cn tell me what to do and where to do it to resolve this problem, it will be nice to him.
    thanks
    Charly

    user10131488 wrote:
    Hello,
    Sorry to ask you that, but i tried to retrieve the last query in the system variable, but i can't. first i create an item and create a WMC trigger and i put this code in it:
    DECLARE
         tempv VARCHAR2(500);
    BEGIN
    tempv:=:SYSTEM.LAST_QUERY;
    :GPV_OBJECTIF.TEXT_ITEM326:=temp;
    END;
    i received an error that there is an exception that not handle. when i click on this item nothing happened.
    may be i placed the code in the wrong trigger.
    also i checked my query carefully, it seems everything is all rigth.
    CharlyMouse triggers are intentionally ignored in WebForms, they will not fire.
    you need to use some other trigger or a button or a message. What is the error you got?? you probably need to use a variable greater than VARCHAR2(500), try using VARCHAR2(4000) just to be on the safe side.
    Tony

  • Formula in Numbers - returning values

    Hi,
    In cell A1 i wish to insert a Tick Box
    In cell B1 i wish to insert a value of for example $100
    In cell C1 I wish the value to be either 0 or $100 ; this based whether i tick the box in cell A1.  So if I don't tick the box then the value in C1 would be 0, and if I do tick the box then the value would be $100.
    Have been trying for hours using IF statements, but can not get this to work.  Can anybody help or direct me to a source?
    Thanks
    AJB.

    Based upon your description, the solution calculation in C1 should be:
    =if(A1=FALSE,0,B1)
    (and of course be sure to format the relevant cells -- columns B and C in this case -- as currency values)

  • Some "formula" interpreter or returning value from unnamed PL/Sql blocks

    Hello,
    My company is developing Payroll and HR software and we use Oracle 10G Database. For a new module we are looking for a system were the end user (power user) can put in some kind of "formula's" to define what info/figures he wants for certain calculations done by de module (the budget module calculations will be done in PL/SQL stored proc written by us).
    Example: item "MonthlySalaryCost" = (BaseYearSal + TotalBonus)/12
    Where BaseYearSal and TotalBonus are functions that exist our will exist in or database. The idea is that a PL/SQL proc (which will be the same for all our customers), at runtime will execute that "formula" and use the result in its further calculations. The "formulas" will be stored in a table. (I foresee of course a "formula" validation to prevent dangerous sql-injection).
    My idea was to use Execute Immediate in the proc to execute the formula's and work with the results. In this approach we have to write (and foresee) all possible functions to access the data the user wants to use.
    Another (more powerful) solution I think about, is seeing these "formula's" as unnamed PL/SQL blocks (stored in a table), were the end user (or consultant) can use the full power of PL/SQL (if then else, select into ..., etc..) to obtain the result he wants to return into the item.
    My problem here is : how to return a value from a unnamed PL/SQL block that is executed via Execute Immediate in a stored proc ?
    And a general question: what do you think of this approach ? are there others possibilities to do this ?
    Thanks in advance,
    Philippe.

    Hi,
    Welcome to the forum!
    This is a simple example:
    Some functions to test:
    CREATE OR REPLACE FUNCTION f_test1 RETURN NUMBER IS
       RESULT NUMBER;
    BEGIN
       RESULT := 12;
       RETURN(RESULT);
    END f_test1;
    CREATE OR REPLACE FUNCTION f_test2 RETURN NUMBER IS
       RESULT NUMBER;
    BEGIN
       RESULT := 10;
       RETURN(RESULT);
    END f_test2;
    CREATE OR REPLACE PACKAGE pack_test_functions IS
       PROCEDURE proc_test;
    END pack_test_functions;
    CREATE OR REPLACE PACKAGE BODY pack_test_functions IS
       PROCEDURE proc_test IS
          v_sql    VARCHAR2(4000);
          v_result NUMBER;
       BEGIN
          v_sql := 'SELECT F_TEST1() + F_TEST2() FROM DUAL';
          EXECUTE IMMEDIATE v_sql
             INTO v_result;
          dbms_output.put_line(v_result);
       END proc_test;
    END pack_test_functions;
    /into v_result you have the result of the operation.
    Regards,

  • Messagechoice doesn't return value selected.(urgent)

    Hi Experts,
    I created an LOV field using personalization to a seeded page like in one of your tutorial with same VO name at Picklist View Instance and View Instance(xxxyycolumnVO). On the page when the submit is clicked i have get all the values selected and inputs, But here when I hit submit the LOV value will be the value when page opened and when it is changed it still gives the same value. here is the piece of code:
    public void processRequest(OAPageContext OAPageContext, OAWebBean OAWebBean) {
    super.processRequest(OAPageContext, OAWebBean);
    OAApplicationModuleImpl am = (OAApplicationModuleImpl)OAPageContext.getApplicationModule(OAWebBean);
    OAViewObject oav= (OAViewObject)am.findViewObject("xxxyycolumnVO") ;
    System.out.println("\n i am here \n");
    if ( oav != null )
    System.out.println("XXXX Found VO DetailFuelTypesVO for Mileage AM. This means we have re-entered the page" );
    else
    System.out.println("XXXX CAN NOT FIND VO DetailFuelTypesVO for Mileage AM" );
    oav = (OAViewObject)am.createViewObject("xxxyycolumnVO", "xxx.oracle.apps.ont.xxxx.server.yycolumnV") ;
    OAPageLayoutBean oapagelayoutbean = OAPageContext.getPageLayoutBean();
    if ( oav != null )
    System.out.println("XXXX FINALLY FOUND VO DetailFuelTypesVO for Mileage AM" );
    oav.setWhereClauseParams(null);
    oav.executeQuery();
    System.out.println("After Execute query");
    public void processFormRequest(OAPageContext OAPageContext,
    OAWebBean webBean) {
    super.processFormRequest(OAPageContext, webBean);
    if(OAPageContext.getParameter("GoControl")!=null){
    OAApplicationModuleImpl am = (OAApplicationModuleImpl)OAPageContext.getApplicationModule(webBean);
    OAViewObjectImpl vo = (OAViewObjectImpl) am.findViewObject("xxxyycolumnVO");
    Row r =vo.getCurrentRow();
    System.out.println("\n lookup_code : "+ r.getAttribute("LookupType").toString());}

    Sumit Sharma,
    You are right, I have to put the base VO in the View instance, But this page no VO attached to it. When I see the code in actual controller it is taking data entered and sending to a procedure. Thats it.
    The problem is I can't get hold of any type I create here messagestyleinput/messagechoice, I can't get hold of pagecontext.get...() in this page.
    This is oracle seeded page in Order Information user> Order status>ONT Feedback page.
    Has anyone customized this page or this kind of a page.
    thanks
    kiran

  • Procedure Doesn't return values

    Hello,
    I have a stored procedure which has varchar2 as IN and sys_recursor has OUT parameters.
    CREATE OR REPLACE PROCEDURE check_values (
         my_values            IN          emp.dept_no%TYPE,
         p_cursor        OUT sys_refcursor
    AS
         quoteValues     VARCHAR2 (256);
    BEGIN
         SELECT     '''' || REPLACE(my_values, ',', ''',''') || ''''
           INTO     quoteValues
           FROM     DUAL;
         OPEN p_cursor  FOR
              SELECT          emp_no,
                             emp_name,
                FROM     emp
               WHERE     dept_no IN (quoteValues);
    END check_values;
    /The problem I am facing is in where condition, if I give quoteValues it doesn't fetch me any records when I execute the procedure from sqlplus, but if I am giving
    my_values it does fetch me records. I am receiving IN parameters like 9856,9712,8723, so first I put single quote around the emp_no and pass that to where condition.
    How can I resolve this issue?
    Thanks

    user20090209 wrote:
    So why then it is not getting executed? if I hard code the above values in where condition it executes fine.Look at your WHERE clause:
    WHERE     dept_no IN (quoteValues);How many expressions there are in IN list? Right, only one. So no matter what the value of quoteValues is, that WHOLE value will be compared to dept_no. What you are trying to do can be done via dynamic SQL, LIKE operator or collection.
    Dynamic SQL:
    CREATE OR REPLACE PROCEDURE check_values (
         my_values            IN          emp.dept_no%TYPE,
         p_cursor        OUT sys_refcursor
    AS
         quoteValues     VARCHAR2 (256);
    BEGIN
         OPEN p_cursor  FOR
              'SELECT          emp_no,
                             emp_name,
                FROM     emp
               WHERE     dept_no IN (' || my_values || ')';
    END check_values;
    / LIKE operator:
    CREATE OR REPLACE PROCEDURE check_values (
         my_values            IN          emp.dept_no%TYPE,
         p_cursor        OUT sys_refcursor
    AS
         quoteValues     VARCHAR2 (256);
    BEGIN
         OPEN p_cursor  FOR
              SELECT          emp_no,
                             emp_name,
                FROM     emp
               WHERE     ',' || my_values || ',' LIKE '%,' || dept_no || ',%';
    END check_values;
    / Collection:
    CREATE OR REPLACE PROCEDURE check_values (
         my_values            IN          sys.OdciVarchar2List,
         p_cursor        OUT sys_refcursor
    AS
         quoteValues     VARCHAR2 (256);
    BEGIN
         OPEN p_cursor  FOR
              SELECT          emp_no,
                             emp_name,
                FROM     emp
               WHERE     dept_no IN (SELECT * FROM TABLE(my_values));
    END check_values;
    / and pass my_values as sys.OdciVarchar2List('2345','1245','9076').
    SY.

  • Itunes doesn't display graphics, only text, has anyone seen this?

    Just loaded iTunes 10.5 on Windows...only TEXT is displayed...has anyone seen this?

    I have this exact problem, and it occurs on every device I own: iMac, Macbook, iPad, Win 7. The explanation for the issue is that the stylesheet isn't coming over (.CSS).
    Because it occurs on every device in my house, I'm assuming there's something in my wireless router configuration that's causing it. I haven't found the issue yet, but I'm digging through my modem configuration to see.
    go to either http://192.168.0.1 or http://192.168.1.1
    That's your modem's IP address. If you can figure out what's in the configuration that's causing it, please post back.

  • ResultSet.getString(String) doesn't return the right text from database

    Hi everybody,
    I'm trying to read some text in Portuguese from a MS-Access database, but the special characters for Portuguese aren't correctly translated by ResultSet.getString(String).
    Here's my piece of code:
    private static void fetchEquipamentoEstabelecimento()
    try
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery(
    " SELECT Eqp.NumSerie, Eqp.Estabelecimento, Estab.Nome, Estab.Cidade, Eqp.Data, Eqp.LPN " +
    " FROM Equipamento Eqp, Estabelecimento Estab " +
    " WHERE TabPreco = 23 " +
              " AND Eqp.Estabelecimento = Estab.Estabelecimento " +
    "ORDER BY NumSerie DESC");
    while(rs.next())
    String nome = rs.getString("Nome");
    System.out.println(rs.getLong("NumSerie")      + " " +
                             rs.getDate("Data")           + " " +
                             rs.getString("LPN")           + " " +
                             nome                              + " " +
                             rs.getString("Cidade"));
    stmt.close();
    catch(SQLException ex)
    printSQLException("fetchEquipamentoEstabelecimento()", ex);
    The output of this piece of code is 1 record joined from tables Equipamento and Estabelecimento:
    111222333 2001-12-15 JHK Pal<X>cio Cristal Guarda
    where the <X> is the greek letter beta. I was expecting a
    portuguese character which is an a with an accent: � (I hope the character was correctly displayed for you)
    I tried replacing
    String nome = rs.getString("Nome");
    with
    String nome = new String(rs.getString("Nome").getBytes(),codepage);
    with codepage="Cp860" (MS-DOS Portuguese)
    and codepage="Cp037" (USA, Canada (Bilingual, French), Netherlands, Portugal, Brazil, Australia)
    but other strange characters were displayed instead of the a with an accent.
    In the MS-Access table Estabelecimento, the column Nome has a Data Type of Text.
    I'm using:
    - JDK 1.2.2
    - MS Access 2000 (in Windows 2000)
    MS Access 97 (in Windows NT 4.0).
    Any help is deeply apreciated.

    Hi!
    When you establish connection to database, try explicitly give instructions about what encoding use your DB, e.g.:
    // connection properties
    Properties connInfo = new Properties();
    connInfo.put("user", username);
    connInfo.put("password", password);
    connInfo.put("charSet", "Cp1251"); // enter your codepage!!!
    // getconnection
    Connection db = DriverManager.getConnection(dataurl, connInfo);

  • TwoWay binding doesn't work using StringFormat={}{#:#.####}, why and how to fix it?

    <TextBox Text="{Binding doResult,UpdateSourceTrigger=PropertyChanged,StringFormat={}{#:#.####},Mode=TwoWay}" Grid.Row="8" Grid.Column="1" Visibility="{Binding ODvisbility,Converter={StaticResource BooleanToVisibilityConverter}}" Style="{Binding ODStyle}"/>
    After changing the stringFormat from 0:0.#### to #:#.#### twoWay binding has stop responding.  
    I fixed one problem and end up with another!

    It is hard to say without having seen all of your code. The information in your last post says nothing but there seems to be nothing wrong with the StringFormat as the property gets set as expected using the sample code I posted. You can try it for yourself
    if you don't believe.
    Please upload a reproducable sample of your issue to OneDrive and post the link to it here if you want anyone to be able to be able to get a clue on what is going on in your application.
    Edit:
    Now I see, it is the target property doesn't get set correcty. Please describe your issue in a bit more detail in the future :)
    Well, StringFormat and UpdateSourceTrigger=PropertyChanged is not a really good combination all the time. You should probably remove the StringFormat and try to handle the formatting logic yourself by for example using a converter. Something like this:
    class DoubleConverter : IValueConverter
    bool addDecimalPoint;
    public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) {
    double d = (double)value;
    string s = d.ToString("#.##", System.Globalization.CultureInfo.InvariantCulture);
    if (addDecimalPoint) {
    s += ".";
    addDecimalPoint = false;
    return s;
    public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) {
    string s = value.ToString();
    if (s.EndsWith(".")) {
    s += "0";
    addDecimalPoint = true;
    double d;
    if (double.TryParse(s, System.Globalization.NumberStyles.AllowDecimalPoint, System.Globalization.CultureInfo.InvariantCulture, out d))
    return d;
    return value;
    <TextBox Text="{Binding doResult,UpdateSourceTrigger=PropertyChanged,Mode=TwoWay, Converter={StaticResource doubleConverter}}" />
    Please refer to the following page for more information about converters:
    https://msdn.microsoft.com/en-us/library/system.windows.data.ivalueconverter(v=vs.110).aspx
    Using StringFormat and UpdateSourceTrigger=PropertyChanged  will probably not work anyway.
    Please remember to mark helpful posts as answer and/or helpful.

  • EXCEL - when I click in a cell or in the formula bar, the page jumps down.

    When I click in a cell or in the formula bar, the page jumps down. 
    I am not clicking on the border, so it's not that. 
    It doesn't happen in all documents... just some.  I copied the info to a new doc and it didn't do it right away, then started happening.
    Macros are off.
    How can I make this stop happening?
    Thanks!

    Plesase post Excel related questions on Microsoft's own forums for their Mac software.  Apple Communities only provide support for Apple products:
    http://answers.microsoft.com/en-us/mac

  • UI API URGENT: Click on cell in matrix doesn't work in SBO 2005

    Hi all,
    I've detected very strange problem. We have developed some addons for SBO2004A in SDK2004. There we used CLICK function on matrix cell, where the whole form was freezed, f.e. Purchase Order:
    oForm.Freeze True
    Set oMatrix = oForm.Items("38").Specific
    For i = 1 to oMatrix.RowCount
    oMatrix.Columns("1").Cells(i).Specific.String = sItemCode
    oMatrix.Columns("1").Cells(i+1).Click ct_Regular
    oApplication.ActivateMenuItem ("1292")
    Next i
    oForm.Freeze False
    If the form is freezed, the application in SBO2005 doesn't react on
    oMatrix.Columns("1").Cells(i+1).Click ct_Regular
    , although this worked in SBO2004 without any problems. The Click event is not filtered for this form and in Event_Filter the pVal.BeforeAction property is TRUE.
    Then I found, that if form isn't freezed, the CLICK on matrix cell function works.
    Is there any workaround, how to solve this problem without reprogramming a lot of code and to prevent flickering on form, when it is not freezed?
    I work with SBO 2005A SP01 PL07.
    Many thanks in advance.
    Kind regards
    Libor.
    Is there

    Hi Frank,
    I created message to SAP Support with this issue on Wednesday the 16th with priority high. The first solution from SAP Support was to disable freezing on forms, while they are processed. But for the performance reasons this is not possible. The reasons for clicking while freezed are relative simple and there are some of them:
    1) In some system forms that are filled by user we need to append special items between other items already existing in form. The many of fields (price fields) for all items in matrix have to be recalculated. For this we use freezing on form, then we search for related item, simulate click on row, and call
    Application.ActivateMenuItem ("1292")
    which calls Add Row [Ctrl+I] system function, then in newly created row we append our data, the prices for related item will be recalculated atc.
    2) we developed automatic calculations in documents, which uses VALIDATE event_type. That means if value in some field in matrix is changed, the values in other fields are recalculated. In some cases we needed to use CLICK too.
    I believe, there is possibility how to replace this 'on CLICK based' functionality...but then we need to rebuid many of our projects.
    Even I don't know, if this issue is bug in SBO2005 - UI API or it has some reason, but I suppose, this worked in all previous SBO SDK versions (since 6.5).
    Any ideas?
    Thanks.
    Kind regards
    Libor.

  • In my numbers when I click on a cell it shows the formula but what I want ot see is the number I input inot the cell.  what did I do and how can I change it?

    In Numbers, when I click on a cell I see the formula, how do I see the number I input inot the cell?

    Gerald,
    A cell either contains:
    1) what you typed (or entered) OR
    2) the result of a formula
    to enter a formula, select a cell, then type the "=" sign then the formula, then enter
    to enter a number oer text, then type the number(s) or text you want, then the enter key
    the contents of a cell is the last thing you typed into that cell.  If there was a formula, then selecting the cell and typing will result in losing the formula.
    B3 will change as you modify the cell contents in B1 and B2

  • 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

Maybe you are looking for