Using the SUMIF formula in Xcelsiuis

Hi,
I am trying to use the =sum(if( array formula in Xcelsius - but cant crack it. The formula seems to be working in offline mode and when i preview it. But when i launch the dashboard via a portal - the formula returns 0 value. Wanted to understand that is there something wrong that i am doing or does the formula not work in xcelsius ?
Thanks !

Hi Pat,
"=SUM(B3-C3)" works.  Another option is "=B3-C3" No quotations.
The bottom Right corner of A3 has a o click & drag down page.
Alternatively click A3 then the position down the page you would like to end the formula, then got to Insert, Fill, Fill Down.  NB I have set up a shortcut for it.
Enjoy
Hope this helps

Similar Messages

  • Extracting a distinct list of values using the Index formula

    In Xcelsius, I am trying to retrieve a distinct list of values from data imported using the Reporting Services button.
    In the spreadsheet I am using the following formula:
    =INDEX($A2:$A831,MATCH(0,COUNTIF($B$2:B2,$A2:$A831),0))
    The above formula works correctly in Xcelsius, but when I select the preview button the values change to #N/A.
    Please could you advise on why this does not work?
    Many thanks,
    Natalie

    Hi Natalie,
    First, you have to be aware of the fact that Xcelsius "simulates" an Excel function. When you are in design mode, the actual "Excel" (MS code) functions are executed. But when you are in preview mode (or export to a swf), all Excel functions are simulated (Xcelsius code).
    The fact that your function works in design mode but not in preview/export may point to a bug.
    But there are also certain assumptions (to address speed/efficiency) on the Xcelsius code which may cause the preview to fail. One such assumption is that on the VLOOKUP function, Xcelsius does not recalculate formulas in the index column of the VLOOKUP table array - if the index column contains formulas, the index column will always remain in the initial state (will not dynamically recalculate).
    Also, not all features on a supported Excel function works. For example, array formulas are not supported.
    Bobby

  • How do I insert the date to be continuous but not have the current time inserted using the NOW Formula?

    I am using the NOW formula to have the current dated inserted when ever I open my sheet, but I can not figure out how to keep the current time from also being added.

    Thank you, but I tried that.  This cell formating seems to only work when the cell contains only the formula.  I have text included in my formula, so the formating does not allow for it. It reverts to the default and as you see it wont even let you change the date format.

  • Why do I receive Error -23088 when using the Eval Formula Node.vi (LV6.1)?

    Hi,
    I want to evaluate formulas like x=v>20; with that vi. When typing the
    same formula into an normal Formula Node I get the correct answer. When
    changing the formula into x=v+20; the eval Formula node.vi works fine.
    But whenever I try to resolve a boolean function like that mentioned
    above, I receive that f****n Error! Why this? What can I do? Is the Eval
    ... .vi less powerfull than the normal node?
    Thanks for your help,
    Daniel

    Joel A wrote:
    > I think the boolean (binary) ops are the only difference between the two nodes.  I pulled this from the help:
    > Formula Node and Expression Node Functions
    >
    > The following list contains the names of the Formula Node and Expression Node functions, and their descriptions. Except for the binary functions, you also can use these functions with <a href="gmath.chm::/Parser_VIs.html" target="_blank">Formula VIs</a>. All function names must be lowercase. You also can use <a href="mk:@MSITStore:C:\Program%20Files\National%20Instruments\LabVIEW%208.0\help\lvhowto.chm::/Precedence_of_Operators_in.html" target="_blank">operators</a> and the pi constant in Formula and Expression Nodes.
    > Start at the help above, and see if you can find any helpful information.
    > &nbsp;
    > &nbsp;
    > J
    Thanks for help,
    I solved the problem by using the "Parse Arithmetic Expression.llb" from
    examples. You can modify it and add the operators you need..

  • How do I use the product formula in Numbers?  I want to calculate the product of three numbers?  In Excel it is simply calculated as '=b4*b5*b6.'  How do I do this in Numbers?  I cannot figure it out, and I can't type in the Excel type formula.

    Can someone tell mr the steps to write a formula to calculate a product of the cells?  I cannot figure it out.

    You double click the cell the product is to be placed in.
    Then click the "=" from the little bar that appears above the numeric keyboard.
    Then click cell B4.  That should place its reference in the bar to the right of the equal sign.
    Then click the "x" from the function guide next to the numeric keypad.
    Then click cell B5.
    Then click the "x".
    Then click cell B6.
    Finally click the green check mark on the right.  Done.

  • Can't get a delimiter between Reapting Table Fields using the Double Eval formula.

    I have a problem in setting up the "Double Eval" formula, for a repeating table field.
    Background:
    I have a multiple-selection list box in an InforPath (2010) form. I want to concat all selected values in the list box and display them in a textbox with ";" as delimiter. I've gotten so far that with rules running when the list box is updated, the
    textbox content is updated listing the IDs of the selected items (I'm not sure yet if I want to display the IDs or make a lookup for the true text values, but that's another issue for later...).
    Problem:
    My problem is that I can't get the delimiter between the values. They are all listed in sequence with the ";" delimiter only at the end.
    I use the following formula ("Required" is the repeating field)
    eval(eval(Required; 'concat(., ";")'); "..")
    and get the following result:
    What I want to get into the comments text box is the string "684;239;91;".
    Any ideas what's wrong with my formula?
    (Using InforPath 2010 on a list published to SharePoint 2010.)

    Additional info that maybe is important to know:
    The multiple-selection list box is getting its values from a secondary data connection using a web service call:
    http://MySite/_vti_bin/ListData.svc/MyList?$filter=((CT%20eq%20'Product')%20and%20(CompGroup%20ne%20'OS'))&$orderby=Title
    The selections in my list box is yet stored in the field "Required" in a different SharePoint list, we can call it "BaseList", at the same site ("MySite").
    So to summerize:
    List 1: MySite/MyList
    Fields: CT, CompGroup, Title
    List 2: MySite/BaseList
    Fields: Required
    The different lists have more fields of course, but no need to list them all.

  • Numbers sumif formula

    I used the following formula in Excel =SUMIF(I$27:I$105,"=M",H$27:H$105). This formula does not work in Numbers, I have tried a variety searches under help and have looked for books at the bookstores that may add insight to no avail. I anticipate there is a syntax error, anyone with thoughts.
    The formula works in Excel.
    Bill

    When you say it "does not work", what exactly do you mean? If it were a syntax error, you would see an error in the cell. Do you mean the formula displays 0? If so, maybe the numbers you are adding are formatted or evaluated as text somehow. Just playing with a table similar to Yvan's and formatting the number column as text kills the SUMIF formula in Numbers. But, in Excel, the formula appears to live on. Just a guess.

  • Any way to add two conditions to a sumif formula?

    I tried:
    =SUMIF(table 1::category, B2, AND(table 1::subcategory), B3, Table 1::Amount)
    But that didn't work. Any ideas?

    use the SUMIFS() function
    =sumifs(Table 1::Amount,   table 1::category, B2,      table 1::subcategory, B3)

  • How to use the date repository variable in filter expression

    Hi Gurus
    I am getting error in using the date repository variable in Filter expression. I am using the below formula
    filter( Fact.calls USING  "Dim Time"."Fiscal Month End Date" = VALUEOF("month_start") )
    I am getting below error
    Formula syntax is invalid.
    [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 22024] A comparison is being carried out between non-compatible types. (HY000)
    SQL Issued: SELECT filter( fact.Calls using "Dim Time"."Fiscal Month End Date" =VALUEOF("month_start")) FROM "Call Data"
    Then i tryed the below format i am getting still the error
    filter( Fact.calls USING  "Dim Time"."Fiscal Month End Date" = DATE'(VALUEOF("month_start"))' )
    Formula syntax is invalid.
    [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 46047] Datetime value (VALUEOF("month_start")) from (VALUEOF("month_start")) does not match the specified format. (HY000)
    SQL Issued: SELECT filter( Fact.Calls using "Dim Time"."Fiscal Month End Date" =DATE'(VALUEOF("month_start"))') FROM "Call Data"
    Please let me know what i am missing or what is the correct syntax for fitler using the date repository variable.
    Thanks in advance
    Regards
    @li

    Hi @li,
    Syntax-1 is fine it will work,What kind of Variable is it?
    Static or Dynamic
    Thanks,

  • Replacement Path Problem (Use in Local Formula or CKF?)

    Hello BW Experts,
    I have a couple of questions for a query I am currently working on that uses replacement path variables.
    I am looking to calculate the difference between 2 dates (u201Ctodays dateu201D u2013 u201Cstatistics dateu201D)
    The statistics date is a characteristic in the cube and for u201Ctodays dateu201D I am using a local formula using the SAP replacement path variable for todays date.
    Currently I am using the replacement path in a local formula in the columns of the query and this is fine when the reference characteristic is in the querry rows i.e statistics date.
    I believe the reference characteristic needs to be in the rows when using a formula variable replacement path in a local formula in the columns as if I remove the u201Cstatistics dateu201D from the rows the replacement path does not work.
    The actual query specification requires the u201Cstatistics dateu201D to be a u201Cfree characteristicu201D not part of the rows so the replacement path using a local formula will not work if the u201Cstatistics dateu201D is in the u201Cfree characteristicsu201D
    I have also tried using a CKF and using the same formula variable in this but it still did not work with the u201Cstatistics dateu201D in the rows?
    Do you know of any solution?
    Also could somebody explain what "Characteristic Reference (Constant 1)" means?
    Thanks in advance..
    Steve

    Hi Steve,
    I think you are right in infering that the replacement path wouldnt work if you didnt have the reference characteristic key in the rows to enable the replacement.
    I think, the solution for you could be Virtual Characteritic.
    Have you already thought about this?
    I am not aware about the characteristic reference(constant).
    Regards,
    Sunmit.

  • Using An Array Formula within a Pivot Table

    Hello Everyone!
    I've discovered a problem with using the Pivot Table. I wish to add this array formula for Counting Distinct names into a Pivot Table, but within Power Query for Excel 2013, it won't allow me to add an array formula. I need to use slicers for filtering city
    names which I'm not able to with this new restriction. 
    For example, suppose I wish to get (using a slicer) a distinct count of city names in a particular year using the year slicer. I cannot do this as I am not allowed to use array formulas within the Pivot Table which contains names of cities according to years.
    If I use the array formula for counting distinct city names outside the Pivot Table, then I won't be able to use the year slicer in order to get a distinct count of names of cities.
    Is there a way around this problem and how may I be able to resolve it ??
    Appreciate your help. Thanks.
    The problem with being punctual is, there's nobody there to appreciate it !!!

    Hello Everyone!
    I've discovered a problem with using a Pivot Table. I wish to add an array formula for Counting Distinct names into a Pivot Table, but within Power Query for Excel 2013, it won't allow me to add an array formula. I need to use slicers for filtering city names
    which I'm not able to with this new restriction. 
    For example, suppose I wish to get (using a slicer) a distinct count of city names in a particular year using the year slicer. I cannot do this as I am not allowed to use array formulas within the Pivot Table which contains names of cities according to years.
    If I use the array formula for counting distinct city names outside the Pivot Table, then I won't be able to use the year slicer in order to get a distinct count of names of cities.
    Is there a way around this problem and how may I be able to resolve it ??
    Appreciate your help. Thanks.
    The problem with being punctual is, there's nobody there to appreciate it !!!

  • Is it possible to use a DateDiff formula within a single field?

    Post Author: EarthMover
    CA Forum: Formula
    I have a field that lists transaction times for the signing on and off of maintenance tickets.
    My problem is that since both the sign-on and the sign-off are in the same field, I don't have the
    option of using the DateDiff formula like I normally would ex: DateDiff ("Interval",startDatetime, endDateTime).
    Because the start-date and end-date are in the same field, the formula returns no value.  To combat this
    I believe that an IF/THEN/ELSE statement would work, if I made one for the start-date and one for the end-date.
    My transaction field is using a DateTime format ex: 10/28/2007  11:58:07.  I tried making the IF portion of the statement
    dependant on another field that tells me if they've signed off or on ex: ACDN or ACUP, both of these are examples of someone
    signing on to a ticket,  and signing off of a ticket results in: COMP.  Based on this information I believe it should be possible to create
    a conditional statement to return to the information I require. I've attached an example of what I see, at the bottom.
    I've only been using Crystal for a couple of weeks now, so I'm still learning, any help would be greatly appreciated.
    PROBLEM DESC TEXT    COND   TRANSACTION TIME
    NEED RAILING FIXED       ACUP    10/25/2007   12:43:16AM
    NEED RAILING FIXED       COMP   10/25/2007   2:35:22PM

    Post Author: yangster
    CA Forum: Formula
    well this is what i can think of off the top of my head to deal with your problemyou are going to need create a variable for both begin and end date and this will have to be evaluated at the group footer levelHere is the sample data i will be working withID     Condition  TimeABC  ACUP     10/25/2007ABC  COMP    10/26/2007DEF  ACUP      10/25/2007DEF  COMP     10/27/2007create a group on the unique id, this will seperate ABC from DEFnext create the formulas to strip out the begin and end dates@begin_date_init (place in group id header)whileprintingrecords;datetimevar begin_date := datetime(0000, 00, 00, 00, 00, 00)@begin_date_eval (place in detail section)whileprintingrecords;datetimevar begin_date;if left(condition, 2) = "AC" then begin_date := time@begin_date_display (place in group id footer)whileprintingrecords;datetimevar begin_date;begin_date;the end date is identical except the if statement will be if condition = COMP then end_date := timeafter you've dropped these formulas in their appropriate places in the reportsupress the detail and group header sectionsyou will see that you will see something along the lines ofABC  10/25/2007  10/26/2007DEF  10/25/2007   10/27/2007so its just a matter of creating a simple formula to calculate the diff between your 2 variables@date_diffdatediff("d", @begin_date_display, @end_date_display)this should do what you are trying to do, the layout may be different then you have pictured so you can play with it but its a starting pointswell i'm off to whistler for some R&R if this doesn't work i'm sure someone else here can try to help you figure out something that works

  • Context not overriden by the EPMDimensionOverride formula (Excel).

    Hello experts.
    I'm building an input form and  I'm overriding 2 of my dimensions with the EPMDimensionOverride formula --> but it don't seems to work.
    In the context ribbon my dimension selection is a high level hierarchy member (no input possible) but this dimension is suposed to be overriden by the following formula :
    EPMDimensionOverride("000";"COST_CENTER";B10)
    The B10 cell provide an existing low level cost center member (a hierarchy leaf)
    The text result of the formula is "Expansion of COST_CENTER Overriden" --> so I make me feel that the context is overriden, but when I try to send data I get :
    Error Message
    Member 0050 of dimension COST_CENTER is a calculated member
    (0050 is the ribbon cost_center selected, not the cost center in B10 cell)
    When I use the =EPMFullContext() formula, the result I get is the ribbon cost center, not the cell one (I don't know if this formula is supposed to take in account that members are overriden)
    There is only one report in the sheet, only one excel file open in Excel.
    It is very disturbing and I'm wasting time, thanks a lot for any useful help.
    Regards

    Hello Daniel,
    thanks for your answer.
    I do not wish to prevent the report to send data on any members (all cells are supposed to be saved to database).
    I wish that when I "Save data", amounts sent to database are associated with the dimension member I use in my override formula (and not with the context's one).
    According to the pdf help file this formula should do exactly what I need, but it doesn't.
    Hope it brings light on my need.
    Regards.

  • Can you really use Display String formula to test for NULL

    I am trying to manipulate the Display String of a field throught the Format Editor.  If a field is null, it should display "N/A", or "No data given", or anything else appropriate I might choose.
    I can't get this feature to work and I'm wondering if there's a bug here.  I'm using the following formula:
    if (isnull() or    trim() = "")
    then "N/A"
        else
    Am I doing something wrong or is there a better way to do this?

    Hi Adriane
    The other way to display "N/A", or "No data given" if a field is null is using a formula with if -else statement as follows:
    whileprinting records;
    if (isnull() or trim () =" ")
    then "N/A"
    else
    Please let me know if this helps.
    Thanks
    Poonam Thorat

  • How to use the AGO function to calculate the sum of the last 12 months?

    year     |     month     |     amount                    
    2009     |     01     |     100                    
    2009     |     02     |     150                    
    2009     |     03     |     120                    
    2009     |     04     |     110                    
    2009     |     05     |     155                    
    2009     |     06     |     180                    
    2009     |     07     |     105                    
    2009     |     08     |     145                    
    2009     |     09     |     200                    
    2009     |     10     |     205                    
    2009     |     11     |     150                    
    2009     |     12     |     120                    
    2010     |     01     |     225
    SUM OF THE LAST 12 MONTHS OF 201001=>225+120+150+205+200+145+105+180+155+110+120+150     *1.865*
    How do I do this? Could anyone help me?
    Thanks.

    hi,
    Create a dummy column in Fx
    Use *Filter ( amount_col using date col= TimeStampAdd(SQLTSI_MONTH, -12 ,date_col)*
    If u want to show at grand total level
    Go with combine with similar request
    same as u mentioned (1st criteria)
    date_col, month, use the above formula (2nd criteria)
    try this and let me know
    Thanks,
    Saichand.v
    Edited by: Saichand Varanasi on Oct 7, 2010 7:27 PM

Maybe you are looking for