USE OF ZERO AND BLANK CELLS IN CALCS

Hello Everybody,
I'm making a new script logic that acumulates the values month by month, it means that february=januaryfebruary, march=januaryfeb+mar, etc. Everything was workin fine, until i had some values in blank in few months, in those cases the calc ignored them and stops the acumulation.
For example if i have info only from jan to sep, the calc doesn't show any value for oct,nov and dec. What i want in those cases is that the data obtained for sep be the same in oct, nov and dec, because in theory the sum should be +zero(which is the value contained in blank cells right?)
Does anybody knows why is this calc stopping at this level?
Thanks in advance!

Hi,
Do you run the script from Data package? if not
check
XDIM_MEMBERSET is very important to fix the scope for the calculation.
To avoid this system reaction you can change the coding and clearly define
which account shall be taken into account when doing the calculation
independent if one of the defined member has or has not changed its value.
You do this via Memberset statements.
other approach  is  YTD measures
Hope this helps.
Regards,
Mehul
Edited by: Mehul Shah on Dec 16, 2010 2:44 PM

Similar Messages

  • Difference between zero and blank values

    Is there a way for the system to determine the difference between zero and blank values. One can have a zero allowed for the 0 value to actualy be there in the KF but is there a way that a macro can be written by which we can use the differentiation between the zero ( a value) and blank (no value) in the KF
    I have tried to look for an explanation on the service.sap.com and sdn but was not able to find anything.
    Thanks in advance

    Thanks for your reply. You mentioned something about the "fixing" setting that could make the "0" displayed in the planning book. Could you elaborate?
    Also, in the post from user "APO APO" on 5/8, the author seemed to indicate they could see the "0" in the planning book, as quoted below:
    "I have already made the zero allowed arrangement for that in the planning area and can see the 0 values in the planning book but I am not being able to make the macro get the results."
    I just want to find out if there is any way the user can visually distinguish b/w the "0" and blank values. If not, it'll be very confusing to the users. I understand the macros can distinguish b/w them.
    Thanks in advance.

  • SF300 and using Subnet Zero and All-Ones Subnet

    Anyone have experience using Subnet Zero and the All-Ones Subnet on the SF300 series switches?
    We have a scenario which we are using an SF300 as a Gateway Device.  We have a /29 broken up into two /30 subnets.  We have two routers which need to be isolated from each other, but use the same Internet service/circuit.
    We are in need of adding a third router which needs to be isolated from the other two. After requesting additonal IP addresses, our provider has claimed we need to use the Subnet Zero and All-Ones Subnet to make effecient use of the IP's which will ultimately give us the additional IPs we need.
    I am not familair with thsi practice or setup. Can anyone provide insight and/or if the SF300 series supports this?

    Hi Brian, this switch will not support an all-one subnet mask.
    -Tom
    Please mark answered for helpful posts

  • IOS Numbers and Blank Cells

    I am a teacher trying to use an iPad with iOS Numbers as a mobile gradebook.
    One issue I have is making a blank cell not count in sums and averages. When I enter a new assignment, the student automatically gets a zero until I enter his or her actual grade, which negatively and unfairly affects his or her averages.
    Is there a way to skip a blank cell in sums and averages instead of having it automatically count as a zero?
    I also have Numbers on a laptop (if that helps).

    Hi,
    Thanks for visiting our forum and sharing your solution. It'll benefit to other communicators.
    Have a good time.
    Regards,
    George Zhao
    TechNet Community Support

  • Adding Zeros to Blank Cells

    Hi,
    I am looking at what should be a simple piece of config, but I am struggling to implement.
    I want to show Zeros in the blank cells in my reports, in order that I can apply conditions and exceptions to them.
    Can anyone suggest a simple solution, as I am sure I am not the only one to experience this.
    Much appreciated.
    Scott

    Dear Scott,
    Iu2019m going to try helping you about your question,
    Please open your query within the BEx query designer, go to properties select the query name (top of the hierarchy) go to Value Display and select in the Zero Value Display the following option u201CZero as Default Textu201D.
    Then, please go to Rows/Columns tab and select the option u201CDo not suppressu201D in Suppress Zero.
    I hope this comment could help you to answer the question,
    Luis

  • Excel formulas and blank cells

    Hi
    I have this formula which calculates the number ordered (C11) by the price (E11) and if the cells are blank then the cell containing this formula is blank, if they aren't blank then they show the result. This works a treat.
    =IF(SUM(C11*E11)=0,"",SUM(C11*E11))
    In cell G11 I have a percentage, e.g. 80%. This is then used in cell H11 to multiply the answer from the first formula in cell (F11)to give me 80% of the cost. I would like the formula in cell F11 to show the result if figures are put into cells C11 and
    E11 (giving the result in cell F11 and if there are no figures in the corresponding cells, F11 is shown as blank.I've tried a few things but I just can't get it to work.
    Thanks, Viv
    Viv Haig

    Hi,
    Thanks for visiting our forum and sharing your solution. It'll benefit to other communicators.
    Have a good time.
    Regards,
    George Zhao
    TechNet Community Support

  • Difference between Zero and Blank

    hi
    In my 5.0 Pl Book, I am unable to enter a value '0' in a cell. Sooner i enter, it disappears for blank. In my PA, under KF details, its ticked for 'Zero Allowed'. But still, i am unable to enter 0 value.
    How can i enter this and also i want to fix it later. (Even the KF is configured as Fixable Zero.)
    thanks
    Venkat

    Hi Venkat.
    We had an unrelated 6.40 Gui issue, in response to our issue we were advised to add the files provided in OSS note 889989.
    I notice that these files are required for zero/null values to work with 6.40.
    Hopefully this will address your problem.
    Regards, M

  • Reading formulars and blank cells in Excel by POI event based API

    Hello at all,
    first sorry for my english.
    I have to read Excel files using the POI event based API.
    These files contain FormularRecords, whitch values are Strings.
    I googled a lot, but I didn't found a way, to get FormularRecords as string.
    This I need, because I have to compare the position of the Cell (row, column)
    with other values.
    An other way to get these cells is reading them as StringRecord or SSTRecod.
    But there is no method .getRow() or .getColumn() for StringRecords and SSTRecords.
    My other problem:
    Some cells without a value can not be read.
    Using the BlankRecord didn't catch all of them.
    When I go to these cells and just hit Return (no value is set), then the cells can be catched.
    Can anyone give me an idea?
    It really would be very helpfull.
    And I hope my english can be understood.
    thx a lot
    eichi

    Problem is solved,
    in the datastream the FornulaRecord appears before the StringRecord.
    I take the position from the Formula and value from the String.

  • In my area StraightTalk uses both ATT and Verizon cell towers.

    How do I know which model iPhone to choose to get Verizon's towers? I would like to purchase an iPhone 5 used. I live about 120 miles direcly SE of Wash DC that gets poor coverage from BOTH.  
    I already have an iPhone 4 on ATT using an antenna on the roof with a booster in the house.  Visitors using Verizon seem to get about a 10% better signal, but that 10% means a lot.  Thanks.
    Jim/Maryland

    Steve... if you had truly marginal service from ATT ..and know people who had less-marginal service from Verizon, then you'd want to switch for a bird-in-the-hand - today.  I would expect in three years, a whiole 'nother service may be available...
    I keep a wonderfuly cheap Net10, flip phone in my truck..as a handy 'pay phone'. I have 8,500 minutes accumulated.  (a new iP5 and the current iP4 is used by my wife)
    ... I must add, that I so much hate Verizon because of their crappy service as the former monolopy carrier to both my home and business that I cut the hardwire at both places and would refuse to enter a direct contract with them ever again. 
    I have Dish Network for Sat. connections for my Macs at home.. an ATT data plan for an iPad ..and Comcast phone and internet at my business.   ..but, Verizon's cell tower seems a little closer (or stronger signal) to my home.
    Jim
    ...You guys are replying faster than I can think!  I will print this out tomorrow and 'study'.  Cheers!

  • Removing leading zeros and leading blank spaces from an input field

    Hi All,
    I have an input field which is alphanumeric and i need to remove the leading zeros and blank spaces in it , but intermediate spaces should be kept .
    so i used the UDF
            String output = input.replaceFirst("^0+","");
            return output;
    but this code does not remove the leading blank spaces . Can anybody help in modifying this code so that even the leading blank spaces along with leading zeros  can be removed .
    Regards ,
    Loveena .

    lets say input is a
    then
    int len = a.length();
    for(int i;i< length;i++)
    if(a.substring(0,1).equals(" ") || a.substring(0,1).equals("0"))
    a = a.substring(1,len);
    return a;
    hope you got the logic so that you can enhance it better

  • Blank Cells and Zeroes

    I am a teacher trying to use an iPad with iOS Numbers as a mobile gradebook.
    One issue I have is making a blank cell not count in sums and averages. When I enter a new assignment, the student automatically gets a zero until I enter his or her actual grade, which negatively and unfairly affects his or her averages.
    Is there a way to skip a blank cell in sums and averages instead of having it automatically count as a zero?
    I also have Numbers on a laptop (if that helps).

    When I tried this using the Gradebook Template, I found that if I added a new work item to be graded (quiz, exam, assignment, etc) as a new column (adjusting the weight to keep the semester/term total equal to 100% of the grade) that the new column is blank until I enter something, even if the cell is formatted for numbers. So that worked as planned.
    There is another way, of course to keep the grade from being recorded as zero - use a pull-down (pop-up menu in the cell - you can set the first line in the menu to read "Petunia", "new item", "ungraded" or anything you wish and then build the pop-up list to match your grading needs (e.g., 100%, 99%, 98%, ... or A, B, C or A+, A, A-, B+, B, B-, or 4.0, 3.75, 3.5, 3.25, etc... you get my drift) Sounds tedious BUT you only have to build it once and then copy/paste and match style for all the rest. So here you can create a new column, paste in the pop-up menu cell you've carefully created elsewhere, fill-down and you are ready to go (just remember to adjust the weighting to stay fair.) Someone writes a stellar paper, pull-down to the grade you think it deserves, move on to the next, etc.
    On the iPad (iOS Numbers) the formatting is: Select the cell > Styles Menu (brush) > Format > Pop-Up Menu > (enter your desired list) > Initial Value = Blank or First Item.
    Works for me.  Try it.
    Hope this helps.

  • I am trying to average multiple cells including some blank cells.  How do I get numbers to assess a blank cell as zero and include that cell in the average?

    I am trying to average multiple cells including some blank cells.  How do I get numbers to assess a blank cell as zero and include that cell in the average?

    Hi rkcfizzle,
    Blanks
    Blanks = 0
    1
    1
    2
    2
    0
    3
    3
    2
    1.5
    AVERAGE ignores blank cells (Column A)
    Formula in Footer Cell A6
    =AVERAGE(A)
    If you want to include blank cells as zero, type this formula in B2 (and Fill Down)
    =IF(A2<>0,A2,0)
    Numbers 3 will change the formula to
    =IF(A2≠0,A2,0)
    Yeah, right! but that is Numbers 3.
    And the answer (6/4) is 1.5. Correct!
    Regards,
    Ian.

  • How do I get a 0 to display when a count = 0 (zero)? (The cell is blank)...

    (Running Business Objects Release 2 (Web-I), No other reporting modules)
    How do I get a 0 to display when a count = 0 (zero)? (The cell is blank)...
    In my reports, I count the number of tests of one of our products and another count on the number of failures.  I then use a simple formula to give me the defect rate percentage (DR%)
    The universe objects used in the calculation are:
    Assembly Number (dimension)
    Human Sn (dimension)
    Test Code Description (dimension)
    I created a variable (called [Count Assys]) that counts the number of Assemblies Tested:
    Formula: =Count([Assembly Number];All)
    Another variable (called [Failed Count]) counts the number of failed tests:
    Formula: =Count([Test Code Description];All) Where ([Test Code Description] <> "FUNCTIONAL TESTS PASSED")
    NOTE: There is a "not equal to sign" between [Test Code Description] and "FUNCTIONAL..." above, but the forum is blanking it when I preview the message.  Not a big deal, but it may be important for someone looking to help...
    I then have a third variable called [DR%] that divides [Failed Count] into the number of [Count Assys], which yields a number formatted as a percentage.
    Formula: =[Failed Count]/[Count Assys]
    The above works great! 
    The problem is: when I have a zero defect count (everything passes), the cell is blank, so the percentage variable remains blank.  I want a zero (0) to appear if nothing failed so the percentage appears as 0%
    I've searched this forum completely and have tried several Properties changes and different variable strings (like =If([Failed Count]<1,0) and the cell stays blank and cannot come up with an answer.
    This one seems simple to me, but everything I've tried has yielded zero <smile> results.
    Thanks,
    Charles
    Edited by: Charles Norman on Dec 9, 2008 12:44 PM
    Edited by: Charles Norman on Dec 9, 2008 12:47 PM

    Hi Charles,
    Use [Dr%] Variable formula as =if(IsNull([Dr%]);0;[DR%])
    Here IsNull returns the Boolean value of variable [Dr%] if its true then inserts 0 else the percentage values of failed tests based on the  total number of assembly tests performed.
    I Hope this is what you want to achieve....
    Thanks....
    Pratik

  • Function to replace division by zero error cells with blank cells when calculating a numeric average

    Hi everyone,
    I have a five sheet spreadsheet that uses data from four sheets to calculate numeric averages in the fifth. The problem is that there is not always data in all four sheets which produces a division by zero error in the averages sheet. Is there a function or setting in Numbers 2.3 (not yet ready to upgrade to Numbers 3) that will allow these division by zero cells to be replaced by blank cells.
    I have tried using statements of the form =AVERAGE(IFERROR(Sheet 1::Table 1:: B4,""),IFERROR(Sheet 2:: Table 1:: B4,""),Sheet 3:: Table 1:: B4,""), Sheet 4:: Table 1:: B4,"")). however instead of a division by zero error this produces an error telling me "the function AVERAGE expects that a number, date or duration but found "." ". It looks as though I will have to make about 400 changes to my sheet as these errors are in this and approximately 100 other cells!
    I am hoping that there is some way if possible of correcting these errors without having to manually edit each cell individually.
    Thanks,
    Hugh

    Hugh,
    You may want to consider an intermediate sheet to handle the errors and then pass the result on to the main sheet.
    In the following mockup, I've created a small interposing table the consists of a list of sources in column A and the result from each table. In the example, I perform some operation on those intermediate results, to be passed on to the main table. This may not be a good example, and since I don't know the overall goal of your project it's just a surrogate. (In real life we probably wouldn't be interested in finding the average of averages.)
    The expression in Summary::B2 is:
    =IFERROR(INDIRECT(A&"::B4"), "SourceError")
    Regards,
    Jerry

  • I'm trying to write a formula to return a blank cell if the condition is met, and to show the numerical difference if not.  Here is what I've written:=IF((F35-F29)=0, " ", (F35-F29)). It is returning 0.00, not a blank cell.  Where is my error?

    I'm trying to write a formula to return a blank cell if the condition is met, and to show the numerical difference if not.  Here is what I've written:=IF((F35-F29)=0, " ", (F35-F29)). When the condition is met (i.e., the difference=0) it is returning 0.00, not a blank cell.  Where is my error?

    Without knowing what is in F35 and F29, I can only guess.  Your formula matches what you said but if F35 and/or F29 are the results of formulas and are decimal numbers (not integers), it is very possible that they are not exactly the same number even though you think they should be.  IEEE Floating Point math often has very very small errors so the answer is not exactly what you would get with a pencil and paper. Try one or both of these things:
    Format the IF cell as scientific. is that 0.0 exactly zero? I suspect it will be some very tiny number.
    Type the exact same number into F35 and F29 and see if your IF formula works as you expect.
    You might need to use ROUND on F35, F29 and/or in your IF formula to get rid of the tiny math errors.
    If you search the forum for floating point math or IEEE 754 you should find more than a few posts about Numbers and floating point math. Or you can read about IEEE 754 on Wikipedia.  It trips up a lot of people.
    Here is a common example.  B2 and C2 are from the formulas shown in B1 and C1. They should both be exactly zero, if done with paper and pencil.  Neither is exactly zero (though I have them formatted with 2 decimals so they appear to be 0.00), they are different from each other, and subtracting one from the other is also not exactly zero.

Maybe you are looking for

  • Can I see how many times a shared album has been viewed?

    I primarily use Revel to share photos of events since the files get too big to email more than 2 at a time.  Usually, there is a very limited group of people that would be interested but the link to one album was shared on Facebook and I'm curious to

  • T-code for stock

    friends, i have moving price and quantify? please tell me how to check the stock value? i will give full posting

  • How to export PDF without embedded fonts?

    Hi, I'm using CrystalReports with VS2008. I export a report in this way: rpt.ExportToDisk(ExportFormatType.PortableDocFormat, filename); This works fine except it includes the used fonts. A older version of our export tool used Delphi and the vcl com

  • Controlling the client-side cache

    At the current stage on my project I'm finding that I'm changing my mapping definitions fairly frequently (because the country side is just the wrong shade of egg-shell). Clearing the server side cache is fairly easy to do, provided you remember to d

  • Speech transcription, metadata, and a massive amount of footage (CS5)

    I've been charged with developing a workflow and working environment that will capture, process, preserve and output the content of over 450 BetaSP tapes. The footage was and continues to be shot for a national documentary project that is still rolli