Creating Logical formulas in Numbers '09

I need to apply a cost per square inch on art work. The cost/sq in decreases in increments as the total area increases. Is it possible to have a formula recognize the category of a particular area and apply the appropriate cost per square inch?
Thank you

Would something like this work? The bottom table (Table 2) is the cost schedule. The formulas in Table 1 look for the largest "Sq In" in Table 2 that is equal to or less than the canvas size in Table 1 then multiplies it by the canvas size to determine the cost. For example, for a 100 sq in canvas the value returned is $0.10, which is then multiplied by the canvas size (100 sq in) for a cost of $10. A 150 sq in canvas would also return $0.10 for a total cost of $15. A 210 sq in canvas would return $0.09 for a cost of $18.90.
If your cost scale is such that the first 100 sq in costs X, the second 100 costs Y, etc. and you add up these increments to get the total cost, this idea won't work. Something very similar can be done, though.

Similar Messages

  • Creating custom formulas in Numbers V3

    I am trying to create a MAXIF formula, in order to determine the maximum value (max-values) in a range of values (test-values) that are associated with a certain category (condition).  The formula would be similar in concept to SUMIF or AVERAGEIF, except that the result is the maximum, rather than the sum or the average. Any help appreciated.

    Hi Yellowbox. I tried your solution: I started with my original table, which has 52 weeks and many $ values for each week. Here is a short version: (not sure how you got your table to look like it does)
    Date
    Week
    Debit
    02/05/14
    6
    $548.35
    02/06/14
    6
    $50.00
    02/24/14
    8
    $208.59
    02/25/14
    8
    $636.92
    02/26/14
    9
    $243.92
    Then, I built a second table and formatted it as you specified for the first two columns (C,D), so far so good:
    Week
    Debit
    22
    23
    22
    $424
    $424
    0
    22
    $572
    $572
    0
    23
    $550
    0
    $550
    24
    $137
    0
    0
    24
    $230
    0
    0
    24
    $0
    0
    0
    24
    $148
    0
    0
    25
    $305
    0
    0
    $572
    $550
    The problem started after I tried to paste the formula by dragging the formula from D into the next two columns E,F, in order to eliminate the need to manually enter a new formula for each "week."  But the formulas would not migrate the way I had hoped, and ended up with all zeros in columns where I tried to paste horizontally.
    Week
    Debit
    22
    23
    24
    25
    22
    $424
    $424
    0
    0
    0
    22
    $572
    $572
    0
    0
    0
    23
    $550
    0
    $550
    0
    0
    24
    $137
    0
    0
    0
    0
    24
    $230
    0
    0
    0
    0
    24
    $148
    0
    0
    0
    0
    25
    $305
    0
    0
    0
    0
    $572
    $550
    0
    0
    After wrestling with the formula editor to try to get the paste to work, I gave up.  So, Unless you have another solution, the only thing I know to do is to ensure the weeks in my original table are sorted to ascend from 1 to 52, then select all the transactions associated with each week, then read off the maximum that pops up at the bottom, and then manually enter week's maximum into a new table. But in the end both solutions seem a lot of work. The elegant "sort by category" option from Numbers '09 would do all this in seconds. Why did Apple remove it?

  • How do I create a formula in Numbers that will only sum a set number of entries?

    I'm trying to create a spreadsheet that will keep track of my expenses. In Table 1, I have only the totals for each spending category. All the other tables represent each of the spending categories, which contain all the transaction entries. In Table 1, I created a drop down menu with the following five options:
    Last 30 Days
    Last 365 Days
    This Month
    Last Month
    All Time
    The numerical entries in Table 1 correspond exactly to the entries of the respective footer rows. At the moment, the sum in each of the footer rows adds up all the transaction entries, but I want to be able to add up only the entries that satisfy the selected drop-down menu option.
    So how can I create a conditional formula in each of the footer rows that will allow me to do this?

    Hi tsp,
    compare each date entry with today's date
    The TODAY function will automatically update as your time zone crosses midnight.
    Here is a single-cell table to use as a reference (or you could place this somewhere in a larger table)
    =TODAY()
    Calculating days until a task must be done
    C2 (and Fill Down)
    =DATEDIF(Today::A$1,B2,"D")
    But only if your dog can wait 3 days for a walk .
    Regards,
    Ian.

  • I want to create a formula in numbers that gives me an ongoing monthly average

    I've created a spreadsheet to track my MPG, and I'm also logging all maintenance bills too.
    What I want to do, is get an idea of how much the vehicle is costing me on a monthly average. I want this to be ongoing over several years and therefore want the spreadsheet to work out the monthly average cost over the life of the vehicle.
    How would I write a formula to do this without having to manually adjust the formula each month?

    Ahhh.  OK.  you want to see an average that is only for one months data out of a list of entries,
    E2=EOMONTH(A2, 0)
    this is shorthand for... select cell E2, then type (or copy and paste from here) the formula:
    =EOMONTH(A2, 0)
    F2=EDATE(EOMONTH(A2,0)+"1d", −1)
    D2=IF(MONTH(A2)≠MONTH(A3), AVERAGEIFS(C,A,"<="&E2, A, ">="&F2), "")
    select cells D2 the F2, copy
    select cells D2 thru F8, paste
    once you are done you can combine the formulas for columns E and F into column D.... or... you can hide columns E and F

  • How do I create a formula to convert words to numbers?

    Hi,
    Basically my spreadsheet is almost entirely words and as numbers (or excel for that matter) work with words (although this I have suggested as an improvement), I need to convert all the words to numerics.
    For example. I have a question with a drop down asking for male or female (I've done drop down lists as I want to cross analyse the results at a later date). I need to create a formula so that numbers automatically counts up all the males and females and puts them in another overall table. I guess I do this by creating a formula for numbers to turn all 'males' into 1 and all 'females' into 2, then ask numbers to count up all the 1's and 2's and put them in a table?
    Here are a couple of images which may or may not explain it further:
    Raw form:
    Second table:
    Message was edited by: lawero
    Message was edited by: lawero

    lawero wrote:
    For example. I have a question with a drop down asking for male or female (I've done drop down lists as I want to cross analyse the results at a later date). I need to create a formula so that numbers automatically counts up all the males and females and puts them in another overall table. I guess I do this by creating a formula for numbers to turn all 'males' into 1 and all 'females' into 2, then ask numbers to count up all the 1's and 2's and put them in a table?
    Wasn't how to "automatically count up all the males and females" already answered in my first post to your question How do I create a graph in numbers? The coloured text is a link to that thread.
    Regards,
    Barry

  • Creating formulas in Numbers - quick key to reference cells

    Former Excel person, moving over to Numbers -- very simple question on how I can use keystrokes to reference cells when creating a formula, rather than typing in the cell or using the mouse. In Excel would just type "=", then could use the arrows keys to move around and go into the first cell for the formula, type "+", then arrow around to the second cell and hit Enter.

    As Yvan has pointed out, Numbers offers an alternative to large spreadsheets, that being multiple tables & sheets. As you point out, moving around a large spreadsheet is not fast, even when using cursor keys (which I am assuming are the same thing as arrow keys, there being just the one set on my keyboard).
    Assuming you can break your large spreadsheets down into smaller ones, you may find that navigation is remarkably quick because you can click on any table in any sheet to immediately jump to another one (even when creating cell or range references) rather than having to transverse large areas of a single spreadsheet one cell at a time.
    If you are interested in exploring this approach, you may find my comments in the thread Generating values for grades useful as a description of how this can be applied when creating cell references in Numbers.
    It may not be the right approach for your needs, but unless you know about it, you can't compare it to other approaches, right?

  • I want to create a formula for telephone numbers in the formula editor

    Is there a way to create a formula for telephone numbers in the "custom" editor in the inspector
    IE if I enter 2123456789 into a cell it automatically formats it to look like this (212) 345-6789

    You can create a new format by opening the Cells Inspector, then selecting "Custom" from the format menu:
    You can add the ### fields and click the menu on the left of the field:

  • Unable to create a formula on iPad and iPhone

    I'm able to create a formula  (like =DATEDIF) using Numbers on my MacBook, but can't get it to work using Numbers for iOS.
    It says in the manual (in the app) that you can just touch the formula you want to use, but that doesn't seem to work here 
    When I touch DATEDIF in the list, I go straight to the explanation of this function, the formula refuses to be activated.
    Moving a spreadsheet through iTunes from the Mac to the mobile units works OK.
    That document functions then fine when I change a date in one of the cells that the formula uses on the iPad - but I can't create a similar formula in iOS.
    It's probably something simple that I don't see, so I would be grateful if one of you could point me in the right direction

    OK, now I've tried again...
    And all of a sudden, it works!
    When trying again (opening the list where you find the formula), the app switched its language (the iPad uses Norwegian as default, the app was using English).
    What caused this, I don't know
    But, most important: now the app behaves as it should

  • I have created a spreadsheet on numbers for ipad with a list of customers as a drop down menu. How can i make their address appear underneath when i select the customer?

    I have created a spreadsheet on numbers for ipad with a list of customers as a drop down menu. How can i make their address appear underneath when I select the customer?
    iselect the customer?

    Hi bazza,
    We won't be able to put the address from a formula into the same cell that you enter the customer's name. We can put the address in the cell under the customers name.
    First let's take James advice and concatenate the address in the address table.
    Here is the formula in G2
    =CONCATENATE(B2&"
    ",C2&"
    ",D2&"
    ",E2)
    It shows this way because after I clicked on B2 and typed [&"] (no brackets) I typed option-return
    This gives you your new line. Then I typed the closing ". I repeated this for the rest of the address.
    Next we want to bring this to your order sheet. I prefer using the two formulas OFFSET and MATCH instead of VLOOKUP.
    base tells OFFSETwhere to start counting from. Click A1.
    row-offset is for the row. we will use MATCH() -1 to give us the row.
    What MATCH does is give you the row number where something is found and you can specify an exact match. I usually construct the MATCH formula first and then cut and paste it into OFFSET. MATCH looks like this: MATCH(A2,Table 1::A,0). A2 is what we are looking for, Table 1A::A is where we are looking (the entire column A), and 0 means we want an exact match. Can you see it inside the OFFSET formula? Notice that we had to subtract 1 from its result.
    column-offset tells OFFSET which column A=0 so we want 6.
    we ignore "rows", "colomns" we don't need them.
    If this seems like too much, just break it down into small pieces.
    quinn

  • Create a congruential random numbers

    I want to create a congruential random numbers generator in java:
    Below is the formula for it.
    ri+1=(a*ri+b) mod M .
    How can I use Math class for this?

    Your guess w.r.t. a and b being constants is right. An ordinary multiple congruence random number
    generator simply looks as you described:
    x[n+1]= (a*x[n]+b)%M
    But there's a bit more to it: a and b have to be relatively prime, i.e. gcd(a, b) == 1 and the same counts
    for both a and b w.r.t. M, i.e. gcd(a, M) == 1 and gcd(b, M) == 1. Only then the 'cycle length' of your
    generator will be maximal. In practice M is a power of two (2^32 comes to mind). Here's some code:public class MGRNG {
       private int a, b, M;
       private int seed;
       // ctors
       MGRNG(int a, int b, int M) { this(a, b, M, 1); }
       MGRNG(int a, int b, int M, int seed) {
          this.a= a;
          this.b= b;
          this.M= M;
          this.seed= seed;
       // next pseudo random number
       public int next() {
          seed= (a*seed+b)%M;
          return seed;
    } kind regards,
    Jos

  • How do I display decimal hour as time? Example, I created a formula (originally in Exel) where the result is 2.25. I need this to be displayed as 2:15, (2h, 15m). Here is the formula in cell b8   =SUM((A6/18)*B3 (B6/8)*B3 (A6 B6)/70*B3 B2)/60

    How do I display decimal hour as time in Numbers for iPhone5 ? Example, I created a formula (originally in Exel) where the result is 2.25. I need this to be displayed as 2:15, (2h, 15m). Here is the formula in cell b8   =SUM((A6/18)*B3 (B6/8)*B3 (A6 B6)/70*B3 B2)/60. The result can be in either b8 or a different cell.
      Thanks for helping this novice

    B1=DURATION(0,0,A1,0,0,0)
    The DURATION function combines separate values for weeks, days, hours, minutes, seconds, and milliseconds and returns a duration value.
    DURATION(weeks, days, hours, minutes, seconds, milliseconds)

  • I need help with creating some formulas

    I'm not sure if anyone around here can help me, but I'm trying to create a Numbers document and need some help with creating a formula/function.
    I have a column of amounts and I would like to create a formula which deducts a percentage (11.9%) and puts the result in another column.
    If anyone can help me, it would be greatly appreciated.

    Here is an example that shows one way to do this:
    The original data is in column A.  In column B we will store formulas to adjust the amounts:
    1) select the cell where you want to formula (in this case cell B2)
    2) Type the "=" (equal sign):
    3) click cell A2:
    4) now type the rest of the formula which is: "*(100-11.9)/100"  that is asterisk, then open parenthesis, 100 minus eleven point nine close parenthesis forward slash  one hundred
    The Asterisk is the multiply operator  (times) and the forward slash is the division operator (divide)
    now hit return.  select cell B2 and hover the cursor over the bottom edge of the cell:
    drag the little yellow dot down to "fill" the formula down as needed.

  • Help creating a formula

    I could use help creating a formula.
    I have a excel file that I want to move to numbers.  In it, I track the date last put in a column.
    Each Column is for a date, and each row for an item.   When I put a date in a the column, I am trying to create a forula that woudl return the date last input.
    That is probably all confusing....but here is the excel formula that works, that does not work in numbers.
    =IF(B80>0, INDEX(G80:FH80,MATCH(9.99999999999999E+307,G80:FH80)), "Not Played")
    Or a second one I have also used
    =INDEX(C5:JZ5,MATCH(9.99999999999999E+307,C5:JZ5))
    Honestly - I don't understand the forumla, I got it from someone - I just know it works in Excell, but not in numbers.
    Below is a picture of what it comes out like in Excell.  The column that is not working is the "Last played"
    Does that make sense?  Any Numbers experts out there that can help me create a forumla in Numbers for this?

    Hi Jim,
    If I'm reading your table correctly, it appears that all dates a particular song has been played are listed in the same row as the song title.
    If that's the case, your formula in G3 would be:
    =MAX(H3:XX3)
    With the letter identification of the last column in the table replacing XX.
    The formula would then be filled down from G3 to the last row containing a song title.
    Two other suggestions:
    Numbers does not really perform well with large tables. The underlying model for a Numbers spreadsheet is a number of small, single purpose tables using no extra rows or columns.
    As a first order revision to this table, I would suggest splitting the table after column G, then adding a single header column before what was column H. The seven column table consisting of columns A to G would then becone a summary table. The only entered data in this table would be the labels "Worship song (Wed)" through to "Last Played" in row 1. Row 2 would be empty to match the position of the song titles on this table with the positions on the larger table, and both row 1 and row 2 would be set as Header Rows to permit their being frozen in place, allowing other roll to scroll behind these two.
    Everything else on that table, including the song titles, would be formula generated from data on the larger table.
    The larger table would become a data collection table, containing only one or two formulas—the formula in row 2 that counts the number of songs used on each day, and possibly one to generate the weekly dates in row 1. All other data on that table would be directly entered by typing from the keyboard, pasting after copying from an outside source, or by inserting usng a script or menu item.
    The main advantage here is that this arrangement would lessen th liklihood of accidently altering formulas during data entry by moving all data entry to a separate table, and by making it possible to lock the summary table, where no data entry takes place.
    A second suggestion would be to limit the number of columns in the Data table to one for the song titles plus enough to collect the data for a period of either one or two years.
    The main question to determine whether this would be a useful step is 'Do you have a use for the actual dates on which a song was played over two years ago, or is the number of times it was played in each year sufficient at that temporal distance?'
    Making this change would involve some additional annual maintenance, with a couple of hitches that I haven't yet looked at, so unless the ie=dea interests you, I'll let the second 'sleeping dog' lie.
    Regards,
    Barry

  • Help creating a formula which returns current date last year

    I need help creating a formula which returns the current date last year. I also need it to work during leap years.
    Any ideas?

    Hi Dagros,
    I'm lucky to be a universe designer, I have to do this only once
    The easiest way would probably be to use
    =RelativeDate(CurrentDate();-365)
    So subtractiing 365 to get the same date last year,
    but you would need some extra logic for the years with a feb 29 in those 365 days.
    =If FormatDate(RelativeDate(CurrentDate();-365);"dd") = FormatDate(CurrentDate();"dd")
    Then RelativeDate(CurrentDate();-365)
    Else RelativeDate(CurrentDate();-366)
    Another question to ask is if you really want the same date last year, or if you also want a really 'same day' so monday compared to monday etc. in this case you would just subtract 364 days and get the day 52 weeks back...
    Good luck,
    Marianne

  • I have tried for 2 days to create a calendar in Numbers and it keeps crashing...not sure what to do next

    I have tried for 2 days to create a calendar in Numbers and it keeps crashing on me.  I haven't had trouble before. I'm using Numbers version 3.5.2 on the latest OS...any help would be appreciated.
    Thanks so much!
    Tammy

    Hi Tammy,
    Please place a screen shot of where you are up to. Are you using formulas to calculate the next day's date? If so, what formulas?
    Here is a screen shot of a Year Planner in Numbers 3.
    Is this what you are trying to do?
    Regards,
    Ian.

Maybe you are looking for

  • Oracle 10g update from 10.2.0.1 to 10.2.0.4

    Hi all, I like to update oracle 10g database from 10.2.0.1 to 10.2.0.4 by applying patch sets, would one please suggest me the best way. I am planning to do in the way explained below method: # Install new Oracle Home # Apply the patch to the new Hom

  • Restarting and reseting a device.

    What is the difference between restarting and reseting device? What benefits do they offer when It comes to troubleshooting a certain issue?

  • Drill down on cross tab report

    I would like to know whether it is possible to drill down through groups in a cross tab report.

  • Problem with DBMS_LOB.

    Hi, I am working with Oracle XE, I created a table with the following structure: CREATE TABLE "HR". EMPLOYEE_DOCUMENTS " "NUM_DOCUMENS" ENABLE NUMBER NOT NULL, "EMPLOYEE_COD" NUMBER (6.0) NOT NULL ENABLE, "TIPO_DOCUMENTO" VARCHAR2 (12 BYTE) NOT NULL

  • Is JMS my solution???

    Hi all, I'm making an app that call to varios web services. This call is synchronous, and i have to wait to all responses. I can wait more than 50 secons, becouse the process is Make one call---> getResponse--> MakeAnotherCall ---> getResponse and so