Numbers09: editing formulas/blank cells

I tried to have a look trough all the topics on this forum, but it is impossible.
These questions have probably been treated already, but I didin't find the answers:
1) when editing formulas and refering to the same cells several time in this formula, I can't click on it a second, third .. time. I can click once on it, then i have to highlight it, copy it, and paste it in the rest of formula; here is an example:
=SI(D4=" ";"0";E4F4*H4SI(D4="Cèdre CAT 1";Marché du Bois :: B7;SI(D4="Cèdre CAT 2";Marché du Bois :: G7;SI(D4="Cèdre CAT 3";Marché du Bois :: L7;SI(D4="Iroko";Marché du Bois :: B8;SI(D4="Bois Rouge";Marché du Bois :: B9;SI(D4="Bois Blanc";Marché du Bois :: B10;"0")))))))
Here, D4 is set the first time by clicking on the cell, and after that, I have to copy and paste it to use it again.
Why is that ?. Why can't I just click on the reference cell as many time as needed ?.
2)How do i make the formula understand that a cell remains blank (no space, no 0, .. nothing) under conditions ? And then, using this "blank" cell in a sum, as a "0" value in the sum ?.
Thanks.

Lionnel2n wrote:
I tried to have a look trough all the topics on this forum, but it is impossible.
These questions have probably been treated already, but I didin't find the answers:
1) when editing formulas and refering to the same cells several time in this formula, I can't click on it a second, third .. time. I can click once on it, then i have to highlight it, copy it, and paste it in the rest of formula; here is an example:
=SI(D4=" ";"0";E4F4*H4SI(D4="Cèdre CAT 1";Marché du Bois :: B7;SI(D4="Cèdre CAT 2";Marché du Bois :: G7;SI(D4="Cèdre CAT 3";Marché du Bois :: L7;SI(D4="Iroko";Marché du Bois :: B8;SI(D4="Bois Rouge";Marché du Bois :: B9;SI(D4="Bois Blanc";Marché du Bois :: B10;"0")))))))
Here, D4 is set the first time by clicking on the cell, and after that, I have to copy and paste it to use it again.
Why is that ?. Why can't I just click on the reference cell as many time as needed ?.
*_Because itsn't designed to behave this way !_*
The correct way of use is described in a recent thread entitled : "Formula question":
http://discussions.apple.com/thread.jspa?threadID=2603281&tstart=0
In this one, Badunit wrote :
You have to hold down the command key to make a second reference to a cell if you already have a reference to the cell in your formula. Or you can type it in rather than clicking to create the reference.
2)How do i make the formula understand that a cell remains blank (no space, no 0, .. nothing) under conditions ? And then, using this "blank" cell in a sum, as a "0" value in the sum ?.
There is no way to set a cell to blank with a formula. It's a feature which I already asked to Apple.
At this time, when a formula is supposed to returned a NIL value, I ask it to return the nil string defined by "" (string whose length is zero).
When we use the SUM() function, cells which don't store a valid number are carefully dropped.
So, when you aren't sure that cells contain a valid number, don't use the + operator but use the SUM() function.
SUM() behave flawlessly when cells contain the nil string described above.
An alternate soluce is to ask the formula to return zero and apply a custom format which doesn't display the zeroes.
A problem arise when we fill an entire column with calculations.
The custom format is applied to the entire column but it doesn't make the difference between a zero which must be displayed and a zero which doesn't.
In such a case, using the nil string makes the difference and the document is lighter.
Yvan KOENIG (VALLAURIS, France) mercredi 6 octobre 2010 13:49:04

Similar Messages

  • How do I reference a blank cell in an if/then formula?

    How do reference a blank cell in an if/then formula, i.e. =IF(A4="Blank",0,A7)

    The upfront answer to your question is
    =IF(ISBLANK(A4),0,A7)
    Typically I just check for an empty string which is TRUE if the cell contains an empty string or is blank.
    =IF(A4="",0,A7)
    You can also do both to be doubly sure.
    IF(OR(ISBLANK(A4),A4=""),0,A7)
    Test all three and you will see the difference.
    Message was edited by: Badunit

  • 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

  • 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.

  • How to allow multiple values in a single blank cell in WebI report

    Hi
             I am working in BO XIR2. I have a scenario as follows.
    In a single cell (blank cell from template) i need to display multiple contact persons. When I drag the contact person name into the blank cell, I am getting an error: MULTIVALUE). Please let me know how to use a function so that I can show two or three contact person names in a single blank cell.
    I tried to use Replace and Char function as follows to bring Carriage Return functionality to the cell.
    Replace([Contact Person]; ";" ; Char(13)) but this did not work.
    Thanks in Advance.

    BOUser11:
    I know this thread has been answered. I recently came across a scenario where I happen to populate multiple values in a single blank cell(from templates). But the only catch being that if user enters multiple values for a prompt you can show them in a single cell eg: =UserResponse("Enter value(s) for Branch:"). would be the formula for the blank cell. Afetr the user selects three values say A, B,C, webi puts it in the format of A;B;C. in a single cell.
    In your case try giving that as a prompt to the user or answer that multi prompt some how and when u use the above formula it should suffice your requirement.
    Let me know if you have tried.
    Thanks,
    karthik

  • 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"?

  • Concatenate with Commas in Non-Blank Cells

    I am concatenating last and first name cells in a pair of long columns.  I do not want to display commas in the non-blank cells when extending the formula down the sheet.  On the web I found a formula which almost works:  =C7&IF(B7="","","
    "&B7) .
    But, I need to put a comma between the last and first names.  So, instead of "Smith Hal" it would read "Smith, Hal".  Please advise.
    PS, An alternative would be to delete the commas from blank cells in the concatenated column from earlier today.  But, Excel does not see them for some reason and will not allow me to replace them with nothing.  Is there a way to do this en masse?
    Thanks.
    Doug in York PA
    Douglas R. Eckert

    I stumbled upon the solution.  Here is my note to myself for future reference.
    COMMAS in CONCATENATE BUT NOT IN BLANK CELLS – FORMULA
    To concatenate a long column of names (last, first) without leaving extra commas in the blanks cells use the following formula: 
    =C7&IF(B7="","",", "&B7) .
    Please close this question.
    Thanks.
    Doug in York PA
    Douglas R. Eckert

  • Insert subtotals in blank cells in Excel

    I just completed a complicated exercise where I expanded upon an existing table using VLOOKUP.  My next step was to insert subtotals in each of the new columns of the modified table.  But, the original subtotals in the original table
    were text, not formulas.   So, I had to insert new subtotal formulas in each cluster of the table.  This was time-consuming, because each grouping contained a different number of rows.
    Q:  How could I have instructed Excel to insert subtotals quickly for each set of rows in the new table, without having to enter a new range of cells in each formula?  The subtotals would have to land in the blank cells underneath each cluster
    of data.
    Doug in York PA
    Douglas R. Eckert

    I'm not quit sure what's your table looks like.
    If you want to excel insert a formula to the blank cells under each cluster of data. You may need to use VBA code to achieve that, otherwise I don't think excel will be so smart that can insert formula automatically.
    And how is it time consuming to enter the formula? since you have said they are all formatted as table, you can take advantage of the column names in the formula.
    Maybe you can share your file with us, meanwhile if you hope to find some VBA code to achieve it, you can post your question to the forum for Excel Developer:
    http://social.msdn.microsoft.com/Forums/office/en-US/home?forum=exceldev
    Best Regards,
    Wind

  • Blank Cells in Excel until highlighted

    Hi,
    I have an Excel document with a lot of formulas and so on, intermittently, the cells when i scroll down for instance some cells are blank, not all, just a random few. They have either formulas in or an actual value, when i select them i can see the contents
    in the formula bar at the top but not in the cell. If I highlight a number of cells, not just a single cell, it then shows what it is supposed to show. Then later on it will happen to another bunch of cells. The only consistency is that the value or the sum
    of the formula equals zero in every cell it happens to, it does not happen to a cell with a number above zero in.

    Hi,
    Since you want to highlight blank cells, you can apply conditional formatting > Highlight Cells Rules.
    For more reference about Conditional Formatting:
    http://office.microsoft.com/en-001/excel-help/quick-start-apply-conditional-formatting-HA010370614.aspx
    http://office.microsoft.com/en-001/excel-help/use-a-formula-to-apply-conditional-formatting-HA102809768.aspx
    Regards,
    Greta Ge
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • 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

  • When I create a PDF from Excel, there are blank cells in Excel document, when they convert to PDF the blank cells have data in them?

    There are cells in the excel document that have formula's in them.  The formulas are pulling data from other blank cells, so that is why they are blank in the formulated cells.  So in Excel, they are just a dash.  When I create the PDF, the document gets opened in Acrobat and the once blank cells have data in them.  Not sure why there is data in those fields on the PDF if its blank on Excel.

    Not really sure that I fixed the problem, but I did find a work around and wanted to post it if someone else runs across the same issue. Apparently the document creator used lots of custom rules and shading. If I pulled up the custom rules and shading palette and just unchecked both the custom ruling and shading boxes, it allowed me to create the print file correctly--the disappearing part numbers were on the new PDF. I didn't have to update the whole book which I didn't want to do because I feared it would mess up the rules and shading. Just unchecking the box before creating the PDF solved that issue for my purposes.

  • 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.

  • Ignore blank cells and truly blank cells in named range?

    Ok so my named range looks like this:
    ='Product Group Attributes'!$F$2:$F$1048576
    However, I want to ignore the "" cells and the truly blank cells... However, I think all of them will have "" since I have this formula in all of the ones I'm putting in the range:
    =IF(ISBLANK(C2),"",CONCATENATE(B2," - ",C2))
    How do I go about getting these results into a named range so I can use it on validation since validation only seems to ignore truly blank cells and not the "" ones.

    Actually, the "" cells means truly blank cells.
    But the "Ignore blanks" in data validation does not mean it will remove blanks from the list. It basically means that a Blank will be allowed as a valid entry in the cell.
    If you want to get rid of blank cells in the list, you have to create another list that does not include the blanks.
    Use the VBA code below to copy data in column F to column G, meanwhile it will remove the blank cells.
    Sub test()
    Dim arr, i&
    arr = Range("F2:F" & Range("F1048576").End(xlUp).Row)
    For i = 1 To UBound(arr)
    If arr(i, 1) <> "" Then s = s + 1: arr(s, 1) = arr(i, 1)
    Next i
    Columns(7).NumberFormatLocal = "@"
    Range("G2").Resize(s, 1) = arr
    End Sub

  • Fill in blank cells with a "junk" value

    Greetings
    If I have a table with 20 columns, and some rows that have data in varying numbers of the columns
    Col1 Col2 Col3 etc
    1
    4 4 4
    3 3
    How can I fill in the blank cells with a junk value, say ffff?
    I figure its going to involve the IF and IFBLANK functions, but I'm missing something. Perhaps I need to have it fill in a secondary table, instead of trying it with the "live data" table?
    Thanks!

    If you are trying to do it in the same table you will have to pre-fill all cells with a formula or fill in the blank cells with a formula such as RAND. ISBLANK will not work in this case because you can't have a cell checking itself.
    You could do this in a separate table with a formula such as
    A1=IF(Table 1:: A1 = "", 10*RAND(), Table 1:: A1) and fill this to all the other cells in that table.

  • 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

Maybe you are looking for