Question on Numbers Formula:

Hello Guys,
Thanks in Advance for all those who attempt to solve my question.
I am preparing a numbers file that helps me track my expenses.
I would like to know a formula that i should apply on a table that basically sorts and populates all the entires of specific payment type from another table
The picture attached  is self explanatory of the problem that i am facing

HI Prakash,
Looking at the received document, I see this formula in Transactions::F2:
=IF(LEN(E)<1,"",E&COUNTIF(E,E2))
Here is the formula as shown in my post above:
=IF(LEN(E)<1,"",E&COUNTIF($E$2:E2,E))
In the COUNTIF section, your version counts the number of times the value in E2 occurs in ALL of column E (3). That value is appended to the value in E2, to produce "Z Bank Credit Card3" in every line containing "Z Bank Credit Card" in column E.
In the version provided above, the second argument (E) returns the value in E2 (the same as E2 does in your formula)—the value to be counted.
But the first argument ( $E$2:E2 ) tells COUNTIF to restrict its count to the cell(s) from E2 to E2.
As this formula is filled down, $E$2 will remain pointed to the same cell (E2) while E2 will change to point to the column E cell in the same row as the formula. In F4, for example,  this argument will read $E$2:E4, and COUNTIF will count the number of times the value in E4 occurs in the three cells E2, E3 and E4.
The LEN() part of this formula is a switch that prevents the formula from producing an error when there is no entry in column E. As cells in column E of this table are filled by choices in a pop-up menu, and none of these choices are less than one character long, this will never happen—the formula will index "None" as it does the other values. As the index column is intended to be hidden, that will not create a problem.
On the Summary table, the formula in A3 needs two minor changes:
A3: =IFERROR(OFFSET(Transaction :: $A$1,MATCH($A$1&ROW()-2,Transaction ::$F,0)-1,COLUMN()-1),"")
Both instances of "Transaction" must be changed to exactly match the name of your Transaction table.
$A$1 needs to be changed to $C$1 to match the location of the payment type name ( Z Bank Credit Card ) on your summary tables,
Note that the Payment type name in C1 must match exactly the Payment type name(s) used in the transactions table.
Regards,
Barry
PS: Noticed a couple of strange behaviours in the file you sent. In the first summary table (Z Bank...).
The row and column Reference tabs did NOT appear when I selected a cell, so I could not use them to resize the width of column A to accomodate the full dates.
Fill down (in column A) worked only one row at a time when done manually. I had to re-grab the fill handle after each move down one row.
The application hung on selecting the whole able (body rows only) and choosing fill right from the Insert menu. A small progress window opened, and the progress bar moved to about 20% completed, then stopped. Sometime later, the bar moved to 50%, but stalled again. It was still there a few hours later, and I did a force quit, then completed this post.
B

Similar Messages

  • How do I stop Numbers formulas from converting (/) into (÷) for hyperlinks. Ref Ver. 3.5.2

    How do I stop Numbers formulas from converting ( / ) forward slash into (÷) divide for hyperlinks. Ref Ver. 3.5.2
    I am trying to hyperlink to a dropbox url, but the numbers formula is automatically converting / into ÷, preventing the links from working.
    Thank you.

    Hi Merritt.B,
    If you are using HYPERLINK() everything goes inside quotes:
    HYPERLINK("https://discussions.apple.com/thread/6772428","This question")
    quinn

  • Rounding question in Numbers

    Why does =ROUND(16.9*2.35,2) = 39.71 instead of 39.72?

    It is not a bug. I'll try to explain once again for you and whoever else might have the same question.
    Numbers follows the IEEE standard for floating point math. Computers do math in base-2 (binary) with only a set number of digits of precision, not in base-10 with infinite precision like you would do on a piece of paper. If a base-10 number cannot be exactly represented in base-2 with a set number of digits, it gets rounded. Guess what that does? It creates small errors. Therefore, floating point math calculations may have small errors when compared to doing the same calcuation on a piece of paper using base-10 numbers. The important thing is that as long as the standard is followed, the same calculation will always give the same result. Consistency is very important with standards
    The difference between Excel and Numbers:
    Later versions of Excel "optimize" the results of the floating point math to better fit customer expectations. In other words, Excel tries to remove those small errors. Numbers does not, it follows the standard exactly. Earlier version of Excel ('95 and earlier) did not "optimize", they followed the standard.
    In your example, the Excel result is what you as the customer expected.  The Numbers result is correct in accordance with the standard but it does not meet your expectations. Personally, these little errors bother me too but I do not consider the result to be "wrong" and it is certainly not a bug.
    What can go wrong with "optimization":
    Try these two formulas in both Excel and Numbers
    =(4/3-1)*3-1
    and the exact same thing with a set of parentheses around it
    =((4/3-1)*3-1)
    In Numbers you get the same IEEE standard result for both: -2.22044604925031E-16
    In Excel the first one results in 0 while the second is what Numbers gave.  Oops, by straying from the standard and trying to "optimize" the results, Excel is inconsistent with itself.
    Try =(1+5/2^52)-1 in Excel
    You would expect the result to be =5/2^52 which is 1.11E-15 but what Excel gives you is a big fat zero because the correct result got "optimized" away. It gives the WRONG answer. It is wrong according to your paper and pencil calculation and wrong in accordance with the standard.
    Numbers gives 1.11E-15 which is the correct result.
    And yet another:
    The result of =0.1-0.3+0.2 should be zero, right.
    In Numbers, the result due to floating point error = 2.776E-17. This is correct in accordance with the standard but not what you would get on paper.
    In Excel the result is zero, as you would have expected.
    Now try =1/(0.1-0.3+0.2).  Should be infinity in Excel, right? Oops, it's not, it is 3.6E16, same as in Numbers. Excel is once again inconsistent with itself.
    Bottom line: when the standard is not followed, you don't know what to expect.
    I don't know what Apple will choose to do in new versions of Numbers. They may try to "optimize" like Excel (but consistently I would hope) because there are many more cases of simple calculations giving what appear to be strange answers than there are cases of small numbers getting "optimized" to zero. I would support the change.

  • Is anyone from Apple Support reading these questions regarding Numbers for IOS crashing?

    Is anyone from Apple Support reading these questions regarding Numbers for IOS crashing?

    This is a user – user forum.
    Leave Apple feedback here: https://www.apple.com/feedback/numbers_ios.html

  • I am questioning about Numbers?

    I am questioned by numbers operating system with this statement. What is my misunderstanding?
    The operator"+" expects a number, date or duration, but cell Transcations::B11 contains a string.
    Thank you

    The most common cause of this error message is that you entered a Date in a format that isn't recognized by Numbers. It also can arise from typographical errors, such as adding a space or other character instead of a number. For instance, typing the letter "O" instead of the intended zero, or the letter "L" instead of the number one.
    Jerry

  • BIG Numbers formula Questions-looking for clarity and direction

    Besides a general lack of computer knowledge, here is my problem. I'll try to make it clear and easy to read.
    I'm working on a spreadsheet that would organize and keep track of student's choices and payments for a ski retreat. There are 4 checkbox columns for their choices (ticket, ski rental, board rental, tubing). All of these have different costs associated with them, in addition to the basic cost for the retreat.
    Using basic arithmetic and an IF formula in the header column I can calculate each student's Total Cost.
    =Retreat Cost+(IF(Lift Ticket,TRUE)*50+IF(Ski Rentals,TRUE)*30+(IF(Snowboard Rental,TRUE)*50+(IF(Tubing Tickets,TRUE)*35)))-the (*number is the cost)
    This works, although it does return the error that the formula returns a Boolean in place of a number. If there is no easier way to write my formula, how do I turn off that warning-I can't take the glaring reminder of a mistake!
    Students need to turn in a deposit, generally set at $50. Using a Deposit column with checkboxes, I worked out how much a student owes after their deposit. Once I check the box, their Balance shows Total Cost minus the general $50.
    =Total Cost-(IF(Deposit,TRUE)*50)
    Occasionally a student will overpay or underpay their deposit, and right now I'm just going in and manually trying to readjust. I just can't figure out any other option.
    I'd like to keep track of how much money is coming in. Currently this is my formula.
    =SUM(COUNTIF(Students :: Deposit,TRUE)*50+SUMIF(Students :: Paid,TRUE,Students :: Balance))
    My main issue really comes down to the varying deposits. If someone pays $60, I have to check the box, subtract 10 from their balance and add 10 to the student payments. I also wanted the Balance column show "0" once the Paid column was checked, but that was definitely out of my skill set!
    Also, I'm going to try to paste a screen shot. Any help/advice would be greatly appreciated! I'm new to working with numbers (1 week baby!) and honestly, the vast majority of my knowledge has come from reading the message board, so thanks!

    =Retreat Cost+(IF(Lift Ticket,TRUE)*50+IF(Ski Rentals,TRUE)*30+(IF(Snowboard Rental,TRUE)*50+(IF(Tubing Tickets,TRUE)*35)))-the (*number is the cost)
    I would change it to somehting more like this...
    =Retreat Cost+(IF(Lift Ticket,1,0)*50)+(IF(Ski Rentals,1,0)*30)+(IF(Snowboard Rental,1,0)*50)+(IF(Tubing Tickets,1,0)*35))
    (This last part I don't get at all... >-the (*number is the cost))
    The form for an if is If(Test,True,False) meaning if the TEST is true then answer whatever replaces the word true in the description. I think you thought you had to type true. Common mistake if you haven't used them before.
    Look at one of my If's...
    IF(Lift Ticket,1,0)*50
    If the lift ticket box is checked, then answer 1 and multiply by 50, if not answer 0 and multiply by 50, taking that cost to zero.
    Just repeat for each cost and your done...
    Does that help get you on the right track?
    Jason

  • Numbers Formula Question

    Hey guys,
    I would like to start off saying I appreciate all the help these discussion boards have given me. I am having a numbers issue. I am trying to set up a way for me to manage the money that comes in, and set up a cell that tells me how much I should have been paying in taxes so I don't get bent over next year like I did this year.
    So:
    Table 1 - Income tracked, how much they've paid. Claim Check box - only checked if they've paid
    Table 2 - Basically has one cell - and I've written a forumla that obviously doesn't work, but I want it to sum up the total of all Column C from previous table only but only include that cells in Column C if the Checkbox in Column F is checked.
    Is this possible?
    I am new to spreadsheets in general, would appreciate any help.
    Thanks a million
    Message was edited by: pcConvert
    Message was edited by: pcConvert to add second photo

    Hello
    In the auxiliary column, theformula is:
    =IF(F=TRUE,C,””)
    In the cell A1 of Table 2
    =SUM('Income & Tax' :: G)
    This kind of thing is clearly described in the Help
    Yvan KOENIG (from FRANCE lundi 17 mars 2008 10:37:13)

  • Numbers Formula/Condition Question

    I've created a small calendar in Numbers, would like to know how have the numbers (representing the day) gray out (or become a strikethrough character) as that day passes.

    If the cells contain actual Date and Time values, you could use the conditional format rule(s) shown below:
    Conditional Format rules are set in the Cell Format Inspector.
    Regards,
    Barry

  • A Numbers Formula Question

    I need a formula to find the lowest number in a range, yet greater than another number/cell.  There will be no "0's" in the range, but may contain blank cells, if that matters. Thanks!

    HW,
    Here's one approach.
    The table on the left, named "Data" contains the list of values. The table on the right contains your minimum value in A1 and the Result in A2.
    The expression in A2 is:
    =INDEX(Data, MATCH(A1, Data :: A, -1))
    The Match function finds the row of the smallest value greater than the input value and the Index function grabs the value in that row of Data and displays it.
    Regards,
    Jerry

  • Help with difficult numbers formula

    I need help with a formula im trying to create in numbers on my iPad. I'll try to explaine the best I can and attach images to help.
    Ive created a spreadsheet to do rotas for work. Currently it calculates the shifts each person does and adds it to the total for that persons week in the end column and the total for the day in the bottom row. If the shift is equal to or more than 8 hours long then an hour needs to be deducted as they have a lunch hour that is unpaid for. This is currently done by a hidden row under each persons row that calculates the shift for that person on that day with the given conditions. Also is a 'H' (for holiday), 'RDO' (for requested day off) or 'X' (for unable to work this day) is placed in any of the cells the formular will return value 0. What I am wanting to do is to get rid of all the hidden rows and still have the total calculated in the end column for that person and the day in the bottom row. Is there a way of doing this without having to copy the formula in the hidden cell and adding them in series for each day to achieve the total? I hope this makes sense. Ive attached images to try and help with the explanation.
    Thanks in advance

    Hi Gary,
    I believe that it is generally good practice to choose several smaller formulas over large and complex ones. As you noted in your question you could add your daily IF()s to get the result you want but it would be an unwieldy construction. I also suspect that the daily hours for each employee could be useful info.
    I hope things are working out for you.
    quinn

  • Numbers formula problem

    I have the following numbers, 20 in total. Numbers are from 0-9.
    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
    3 7 8 1 2 6 6 7 3 1   0   7   0   1   2    2   1   6   8   2
    i have another row where I want to put all the numbers that exist in the row 2. numbers that do not appear in that row should not appear in my other row.
    But i just want to display the numbers once. The result would be like this:
    0 1 2 3 6 7 8
    Each number in a different cell.
    4,5 and 9 do not appear.
    I Hope you could understand my problem. I could post a screenshot, but this forum is buggy.
    many thanks,

    Splitting a series of data into more than one column or row complicates life.  But if it is important to do that (perhaps for ease of data entry) then here is one way to accomplish what I understand you are looking for:
    This is the sample data table (I reduced the number of columns for demonstration purposes):
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    DATA 1
    16
    15
    17
    16
    19
    17
    16
    16
    16
    18
    15
    14
    14
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    DATA 2
    11
    9
    12
    10
    12
    14
    13
    11
    12
    14
    15
    13
    14
    15
    18
    Then you can create a "Helper Table" that looks like this (in practice it will have many more rows):
    Value
    Distinct
    Ranked
    DATA 1
    DATA 1
    9
    16
    16
    10
    15
    15
    11
    17
    17
    12
    16
    13
    19
    19
    14
    17
    15
    The formula in A2 of the Helper Table, copied down as far as you can go until you get a red triangle range error is, is:
       =INDEX(UNION.RANGES(FALSE,Data::$A$1,Data::$2,Data::$4),1,ROW())
              (The $2 and $4 appear in this pasted formula means to anchor to those rows. You get that by clicking the row number to select the row)
    The formula in B2, copied down, is:
       =IFERROR(IF(COUNTIF(A$1:A2,A2)=1,A2,""),"")
    The formula in C2, copied down, is:
        =IFERROR(SMALL(B,ROW()−1),"")
        (The B here is the column B address token which you get by clicking the column letter to select the column.)
    Your summary table would look something like this:
    Durchmesser
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    The formula in B2, copied right until you get a blank, is:
       =IFERROR(INDEX(Helper Table::$C,COLUMN()),"")
    SG

  • Contract Generation question: Formatting, Numbering of clauses, variables

    Hi!
    I am trying to create a Contract Document Template (for Contract Generation) with Variables
    I created some Variable Collections, but when I link them to the Contract Template, they add on with a different formatting altogether, which is neither like the placeholder in the template nor like the template attached to the variable.
    My variable configuration was of the type Paragraph.
    If anyone has any helpful tips on formatting Contract Document Templates, it would be most appreciated.
    Also, how do I ensure that numbering of sections and clauses is sequentially made in the final Contract.
    Regards,
    Reshma

    I was able to fix the problem by making some word document format changes.
    Please ignore this question.
    Regards,
    Reshma

  • Numbers formula assistance needed

    I'm having a problem coming up with a formula for a schedule worksheet. Every template and tutorial that I've come across so far only allows for one length of lunch break to be subtracted from the total hours worked and what I'm trying to do is subtract an hour if the shift is five hours or longer and only 30 minutes if it is not. Being new to Numbers, I'm having problems with the logic commands to get this to work. If anyone could offer some assistance it would be greatly appreciated.

    it would help to see a screenshot o how your sheet is set up, but it sounds like you can just use an IF statement.
    maybe like this if column A had the the hours worked:
    =B2-IF(B2<5,0.5,1)</div>
    Jason

  • Numbers formula for "sum of all cells above this row"

    Is there a way, using the cell formulas in Numbers, to say "sum of all the cells above this row"?  I'm trying to make a ledger of sorts, and I want to have a column that is "how much you've spent so far" for each entry, which is the sum of all the "Price" cells for that row and above.
    Is this possible?  Thank you in advance for your help!

    Hi Alexander,
    You could start with a table like this:
    To get started,
    Cell D2 =C2
    Then to continue,
    Formula in D3 (and Fill Down)
    =D2+C3
    Row 10 is waiting for you to fill in details... .
    Regards,
    Ian.

  • Questions regarding Optimizing formulas in IP

    Dear all,
    This weekend I had a look at the webinar on Tips and Tricks for Implementing and Optimizing Formulas in IP.
    I’m currently working on an IP-implementation and encounter the following when getting more in-depth.
    I’d appreciate very much if you could comment on the questions below.
    <b>1.)</b> I have a question regarding optimization 3 (slide 43) about Conditions:
    ‘If the condition is equal to the filter restriction, then the condition can be removed’.
    I agree fully on this, but have a question on using the Planning Function (PF) in combination with a query as DataProvider.
    In my query I have a filter in the Characteristic restriction.
    It contains variables on fiscal year, version. These only allow single value entry.
    The DataProvider acts as filter for my PF. So I’d suppose I don’t need a condition for my PF since it is narrowed down on fiscal year and version by my query.
    <b>a.) Question: Is that correct?</b>
    I just one to make sure that I don’t get to many records for my PF as input. <u>How detrimental for performance is it to use conditions anyway?</u>
    <b>2.)</b> I read in training BW370 (IP-training) that a PF is executed for the currently set filter (navigational state) in the query and that characteristics that are used in restricted keyfigures are ignored in the filter.
    So, if I use version in the restr. keyfig it will be ignored.
    <b>Questions:
    a.) Does this mean that the PF is executed for all versions in the system or for the versions that are in the filter of the Characteristic Restrictions and not the currently set filter?</b>
    <b>b.) I’d suppose the dataset for the PF can never be bigger than the initial dataset that is selected by the query, right?
    c.) Is the PF executed anaway against navigational state when I use filtering? If have an example where I filter on field customer thus making my dataset smaller, but executing the PF still takes the same amount of time.
    d.) And I also encounter that the PF is executed twice. A popup comes up showing messages regarding the execution. After pressing OK, it seems the PF runs again...</b>
    <b>3.)</b> If I use variables in my Planning Function I don’t want to fill in the parameter VAR_VALUE with a value. I want to use the variable which is ready for input from the selection screen of the query.
    So when I run the PF it should use the BI-variable. It’s no problem to customize this in the Modeler. But when I go into the frontend the field VAR_VALUE stays empty and needs a value.
    <b>Question:
    a.) What do I enter here? For parameter VAR_NAME I use the variable name, but what do I use for parameter VAR_VALUE?  Also the variable name?</b>
    <b>4.)</b> Question regarding optimization 6 (slide 48) about Formulas on MultiProviders:
    'If the formula is using data of only one InfoProvider but is defined on a MultiProvider, the the complete formual should be moved to the single base InfoProvider'.
    In our case we have three cubes in the MP, two realtime and one normal one. Right now we have one AggrLevel (AL) on op of the MP.
    For one formula I can use one cube so it's better to cretae another AL with the formula based on that cube.
    For another formula I need the two <u>realtime</u> cubes. This is interesting regarding the optimization statement.
    <b>Question:
    a.) Can I use the AL on the MP then or is it better to create a <u>new</u> MP with only these two cubes and create an AL on top of that. And than create the formula on the AL based on the MP with the two cubes?</b>
    This makes the architecture more complex.
    Thanks a lot in advance for your appreciated answers!
    Kind regards, Harjan
    <b></b><b></b>

    Marc,
    Some additional questions regarding locking.
    I encounter that the dataset that is locked depends on the restrictions made in the 'Characteristic Restrictions'-part of the query.
    Restrictions in the 'Default Values'-part are not taken into account. In that case all data records of the characteristic are locked.
    Q1: Is that correct?
    To give an example: Assume you restrict customer on hierarchy node in Default Values. If you want people to plan concurrently this is not possible since all customers are locked then. When customer restriction is moved to Char Restr the system only locks the specific cutomer hier node and people can plan concurrently.
    Q2: What about variables use in restricted keyfigures like variable for fy/period? Is only this fy/period locked then?
    Q3: We'd like to lock on a navigational attribute. The nav attr is put as a variable in the filter of the Characteristic Restrictions. Does the system then only lock this selection for the nav.attr? Or do I have to change my locking settings in RSPLSE?
    Then question regarding locking of data for functions:
    Assume you use the BEx Analyzer and use the query as data_provider_filter for your planning function. You use restricted keyfigures with char Version. First column contains amount for version 1 and second column contains amount for version 2.
    In the Char Restrictions you've restricted version to values '1' and '2'.
    When executing the inputready query version 1 and 2 are locked. (due to the selection in Char Restr)
    But when executing the planning function all versions are locked (*)
    Q4: True?
    Kind regards, Harjan

Maybe you are looking for

  • How do I....

    Ok.... I set up my Apple TV to auto sync and now I want to change it to stream since my library is so large. Does anyone know how to do that?   Mac OS X (10.4.9)  

  • Pictures on Firefox add-ons pages will not load in Firefox but will in IE

    My operating system is now Windows 7 on a new computer although I use Firefox, not IE to browse the internet. I am having problems on the Firefox website, especially the add-ons pages. If I click on any pictures relating to add-ons I get a blank page

  • Printing in Illustrator

    I've been trying to print my document I created in Illustrator however it keeps printing off center and no where near what it looked like in the program. I tried printing it as a pdf but that also came out not centered. I did at test page in Microsof

  • How to disable password in a file before sharing

    I have to share my credit card statement but I donot want to share the password.Help?

  • Color change tool not working properly

    I am running Photoshop CS5. Now when I try to replace color, these are my steps color replacement tool mode: color sampling: continuous limits: find edges tolerance: 33% anti-alias: selected I pick my color that I want to replace. If it is a green, o