Applying formulas to different cells.

Hi,
I have a table with several different values and I am using a formula that will allow me to mark up my prices in each cell by a certain percentage. So for example, in the cell that contains $126, I have this formula (D8 is where I can enter my markup percentage):
=IF(D8>0,126*(1+D8),126)
Is there a way I can apply this same formula to the rest of the cells which contain different prices without actually pasting this formula into each cell and changing the value each time?
This is my first day using Numbers so I don't have any experience using formulas or any spreadsheet program.Would appreciate any help!
Thanks.

The fact that it's your first day using Numbers isn't an excuse to forget to read Numbers User Guide or iWork Formula and Functions User Guide.
Your question is answered in page #81 of the late edition of the 1st resource in the chapter Autofilling Table Cells   
Read also page #30 in the 2nd resource.
I don't want to be rude, I'm just unable, at this time, to insert a screenshot.
Yvan KOENIG (VALLAURIS, France) mercredi 27 juillet 2011 17:42:47
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
Please : Search for questions similar to your own before submitting them to the community
To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

Similar Messages

  • Copying formula using different sheet but same cells

    How can I copy this incredibly long formula into different cells but change the sheet that it's referencing without typing in the sheet name in every instance it occurs (at least 28 times right now).
    Is this something I'm going to have to use an outside editor (ie text edit, pages) to find & replace?

    I don't know which is the "incredibly long formula" but I know that Jerrold described the required scheme in the late 48 hours !
    In one fixed cell of your table (A1 is a good choice), store the name of the sheet to address.
    Then, in the formulas, use the function INDIRECT to compute the cell's reference grabbing the sheet name from the cell A1 (with an absolute reference : $A$1)
    This way, when you will paste the formula in an other table, it will grab the sheet name from the cell A1 of this new table.
    Yvan KOENIG (VALLAURIS, France) mardi 24 mai 2011 22:18:11
    Please :
    Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Struggling with Applying Cell refences of formulas to multiple cells

    Probably a basic question- I am new to Numbers.
    Ive been struggling for ages with applying a formula or cell reference to more than one cell at a time. If I select multiple cells (shift or command clicking them) - then I am unable to create a new 'Cell References'. Pressing the equals = sign merely gives me an error sound. And the formula bar is not accessible
    I have been struggling with this on and off now for about a week. Help - well it doesn't help and implies that I am doing the right thing, but it is not working. - Please help

    marky3 wrote:
    I ve been struggling for ages with applying a formula or cell reference to more than one cell at a time. If I select multiple cells (shift or command clicking them) - then I am unable to create a new 'Cell References'. Pressing the equals = sign merely gives me an error sound. And the formula bar is not accessible
    I have been struggling with this on and off now for about a week. Help - well it doesn't help and implies that I am doing the right thing, but it is not working. - Please help
    A better use for your time was to read carefully *Numbers User Guide* and *iWork Formulas and Fucnctions User Guide*.
    We may insert a reference to a range of cells in a cell's formula but we can't insert a formula in several cells with a single task.
    The correct protocol is :
    insert the formula in the first cell of the range then use the fill down (or fill up or fill to the right or fill to the left) feature.
    Yvan KOENIG (VALLAURIS, France) dimanche 21 février 2010 22:21:40

  • Put Together a Formula that Looks at 3 Different Cells

    Hi,
    I’m trying to put together a formula that looks at 3 different cells, and returns the cell that has data in it, and block from putting data in the other selection.
     IF ANY INFORMATION IS COMBINED IN CELL B2,B7,B9. an error will show
    If B18 = 90 PUT 100% IN CELL b1, IF B25 = 40 PUT 100% IN CELL b1, IF B33 = 20 PUT 100% IN CELL b1, 0
    Please see the attachment for more detailed information, please also look at both tabs to help understand
    Thank you for your time and help
    http://files.engineering.com/getfile.aspx?folder=f778a72d-c99c-4e8a-9d48-9e9a13cde35e&file=SCORING.xlsx

    Hi,
    My understanding is that there are three conditions : if B18 = 90, if B25 = 40, if B33 = 20, if one of them is true, B1 will display "100%". If none of them is true, B1 will display "error". Am I right? If yes, please try this
    formula and put it in B1:
    =IF(OR(B18=90,B25=40,B33=20),100%,"error")
    If I misunderstood something, please let me know.
    Regards,
    George Zhao
    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.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Apply one formula to multiple cells without duplicating?

    I'm looking for a way to enter a formula and apply it to multiple cells.  I do NOT want to copy the forumla to all rows as I want the ability to easily change it.  I'd like one formula that can modify all my pricing.  I could easily have hundreds of values to compute and many tables....
    Does anyone have any ideas?
    Thanks!
    Joe
    Example:
    price item a
    price item b
    price item c
    price item d
    price option 1
    price option 2
    price option 3
    price option 4
    function:
    (((roundup (quantity / items-per-page,0) * price item [a,b,c or d]) * discount) + price option 1 + (quantity * price option 2) + price option 3) * markup
    quantity
    discount
    items-per-page
    item a
    item b
    item c
    item d
    25
    1.00
    4
    (function)
    (function)
    (function)
    (function)
    50
    0.90
    4
    (function)
    (function)
    (function)
    (function)
    100
    0.85
    4
    (function)
    (function)
    (function)
    (function)
    5000
    0.65
    4
    (function)
    (function)
    (function)
    (function)
    quantity
    discount
    items-per-page
    item a
    item b
    item c
    item d
    25
    1.00
    2
    (function)
    (function)
    (function)
    (function)
    50
    0.90
    2
    (function)
    (function)
    (function)
    (function)
    100
    0.85
    2
    (function)
    (function)
    (function)
    (function)
    5000
    0.65
    2
    (function)
    (function)
    (function)
    (function)
    etc..

    jdr,
    I think I understand part of the request:
    I suggest you make two tables for the Items and Option prices.
    Then make separate tables by option (I do not understand the options based on what you provided).  I also do not understand the markup
    In the table "Option 1"
    rows 1 and two in the table are header rows
    D3=IFERROR($B3×($A3÷$C3)×VLOOKUP(D$2, Item Price List::$A:$B, 2), "")
    this is shorthand for... select cell D3, then type (or copy and paste from here) the formula:
    =IFERROR($B3×($A3÷$C3)×VLOOKUP(D$2, Item Price List::$A:$B, 2), "")
    select cell D3, copy
    select cells, D3 thru D7, paste
    the formula I am providing addresses the bolded portion of the formula you provided:
    function:
    (((roundup (quantity / items-per-page,0) * price item [a,b,c or d]) * discount) + price option 1 + (quantity * price option 2) + price option 3) * markup
    I think looking at what I have provided will assists you in forming the solution on you own or help you provide additional details to assist in understanding your request

  • Adding formula to a cell that is in another table in the same document

    Hi there.
    I am new to iwork and i have a question.
    I created a document in pages and i added diffent tables in the same document.
    The question is how can add a formula to a cell include cells that are on different tables?
    Thanks

    Not possible in Pages, only in Numbers.
    You will need to have just one table and have the references internal.
    You can make it look like separate tables by hiding cell borders etc inbetween, if that is necessary.
    Peter

  • How to create a running total formula for different calendar years

    Hello everyone,
    I am looking for some help in creating a running total formula for different calendar years in Oracle. This is what I currently have organized in the crosstab report: vertically I have the cities from our database organized, then horizontially have the following information for each city:
    2006 /2007 /2008
    Amount /Amount Spent /Unspent Amount Amount Recieved/Amount Spent /Unspent Amount Amount Recieved/Amount Spent/Unspent Amount
    Recieved
    I am trying to create a formula that will specify each calendar year. For example, I'd like to have a formula in 2007 which would total the: 2007= {2006 unspent amount + the unspent amount in 2007} and same for 2008= {2007 unspent amount + the unspent amount in 2008}. I hope this is clear, I have simplified the report into a basic interpretation of what i've been trying to accomplish.
    Would anybody know if this is possible and how to approach this?
    Really appreciate it! Thanks.
    Alex

    Hi,
    you can try and define a running total as a calculation in the crosstab as:
    sum(Unspent Amount) over (partition by city order by year)
    i find the crosstab format comfusing sometime since the aggregation is auto applied.
    I would start with a flat table and then "duplicate is as a cross tab"
    for your running total you can sort the data by the city,year and get it to 3 lines for each city, for example:
    city year Unspent Amount all other amount...
    X 2007 10
    X 2008 20
    X 2009 30
    Y 2007 5
    Y 2008 15
    Y 2009 25
    then you can use a funtion to calculate the amount :
    sum(Unspent Amount) over (partition by city order by year)
    this is the sql i used just to check it:
    SELECT city,year,"Unspent Amount"
    ,SUM("Unspent Amount") over (PARTITION BY city ORDER BY YEAR)
    FROM (
    SELECT 'X' city, 2007 YEAR, 10 "Unspent Amount" FROM dual UNION ALL
    SELECT 'X', 2008 ,20 FROM dual UNION ALL
    SELECT 'X', 2009 , 30 FROM dual UNION ALL
    SELECT 'Y', 2007 , 5 FROM dual UNION ALL
    SELECT 'Y', 2008 , 15 FROM dual UNION ALL
    SELECT 'Y', 2009 , 25 FROM dual
    Tamir

  • Apply formula to entire column

    I am putting together a spreadsheet using Numbers 09.  I can apply a formula to an individual cell. I want to add the revenue in C2 + E2 to give me a sum in F2.  What I want to do is apply the formula to all of the cells in  Column F.    I know there is a way to apply a formula for every cell in Column F as i have done this before.  I can't remeber how I did it.  Any suggestions?

    Waughaw,
    There are two ways to do this:
    1. Enter the expression in F2. In your case the expression would be:
    =C+E
    Copy the F2 Cell. To do this reliably, you can click off F2, then click once on F2 to highlight the cell (not the content of the cell) and Command-C.
    Then Click on the Column Tab (the letter F in this case). This Selects the entire column. Command-Click on the Header cell to De-Select just that cell. Finally, Command-V. Your formula will now be inserted in every cell of Column F except the Header Cell.
    2. Enter the expression in F2.
    Again, the expression will be C+E
    Select the cell F2, as  above, and then examine the border of the cell.
    There will be a small open circle in the lower right corner of the cell. That's called the Fill Handle.
    Drag the Fill Handel to the bottom of the column.
    That's it.
    Jerry

  • How to make a spreadsheet column-formula with relative cell addresses?

    I'm trying to make a spreadsheet compute with relative cell addresses. I tried what's on the help page, and it doesn't work.
    What I’m attempting is to make one column contain the differences of another column, like,
    Gn=Fn-F(n-1)
    to apply to the entire G column, without typing (or even pasting) 100s of individual formulas. As an added bonus, I'd like for the invalid cell address resulting from n=1, to be defaulted to 0.
    How to do this???

    Another way to move the relative formula to other cells:
    Select the cell with the formula, use the little handle in the center of the side (it appears when you move your pointer there).  In the picture it is in the center of the bottom side.  Drag that handle downward, this copies the formula into the cells you include in the drag.  You can also do this upward, leftward, rightward by selecting one of the other sides.

  • Spreadsheet question: How to apply formula to entire row?

    I am updating cells which already contain formulas. Can I select the entire row, and apply an additional formula (i.e.: 1.5*) or do I have to do it individually for each cell (there are hundreds)? I need the original formulas to stay in place, and they vary.

    Hi Pamela,
    Welcome to Apple Discussions and the AppleWorks forum.
    (The following was begun before Niel's post, and completed, with a few breaks, some time after it. It addresses a shortcoming with the solution suggested above, so I haven't altered it beyond adding this paragraph.)
    I'm not certain as to exactly what you're requesting here. Do you mean you currently have the same formula in these cells (eg. =(A1-A2) ) and you want to change all of those formulas to (same eg. =1.5*(A1-A2) ). That's cetainly possible if the formulas are in contiguous cells (or in separater groups of contiguoous cells). For the example, select the first cell containing the formula and all the others contiguous to it. Make the change in the entry box, then press command-R to fill the changed formula to selected cells in the same row and to the right, then command-D to fill the formula to all selected cells below the row containing the edited cell.
    OTOH, if you want to make the change to separate (ie. non-contiguous) cells, or to cells which do not contain what's essentially the same formula (with only the cell references changed to reference a cell located in the same relative position), I don't see any way to do it directly within the spreadsheet.
    If the existing formulas are such that you can write a description of where to insert the change, it may be possible to make such a global change through an AppleScript, or through transferring the spreadsheet content to a word processing document, using Find/Change to make the revisions there, then transferr the result back to the spreadsheet (or more cautiously, to a new spreadsheet).
    An AppleScript is someone else's territory. Here's how it could be done using the word processor.
    For the example, I'll assume you want to change ALL formulas in the spreadsheet by adding the instruction to multiply the (result of the) current calculation by 1.5.
    • Open the spreadsheet.
    • Go Options > Display...
    • Check the box "Formulas", Click OK.
    • Select ALL of the cells containing data or a formula.
    • Copy.
    • Open a new word processing document.
    • Paste.
    • Press command-F to open the Find/Change dialogue.
    • Enter "=" in the Find box, press tab, enter "=1.5*" in the Change box (no quotes in either case).
    • Click Change All. OK the two alerts that follow. Close the Find/Change dialogue.
    • Press command-A to Select All. Copy.
    • Open a new spreadsheet document.
    • Paste.
    • Done.
    Limitation: This will work only if the amended formula will give the expected result. Consider the example above, =(A1-A2) with 2 in A1 and 1 in A2.
    As written, the original formula ( =(A1-A2) ) returns a result of "1", and the amended formula ( =1.5*(A1-A2) ) returns the expected result 1.5.
    But it's unlikely the original will have included the parentheses,as they're not necessary to a correct result.
    If the original is =A1-A2, the result is still 1, but the amended formula ( =1.5*A2-A1 ) will return the result "2", not 1.5.
    Revising the beginning of the altered formula to add an opening parenthesis is easy. The difficulty here is telling Find/Change (or AppleScript) how to add the matching closing parenthesis to fomulas but not to the contents of cells containing labels, other text, or nothing at all..
    *An alternate approach:* Rather than revising the existing spreadsheet's formulas, this method transfers the labels and results to a new section of the spreadsheet, multiplies the original results by 1.5, and displays the new result.
    For discussion purposes, I'll assume the current spreadsheet contains 25 columns (A..Y) and 100 rows (1..100) of data and labels.
    • Go Format > Document...
    • Change the default 40 cells wide to 52 (or enough to accomodate twice as many columns as you have containing data now).
    • Click OK
    • Select a cell to the right of the cells containing data in the current spreadsheet. (For the example, choose cell AA1)
    • Enter the following formula:
            =IF(ISTEXT(A1),A1,IF(ISBLANK(A1),"",A1*1.5))
    • Select the block of cells extending right and down from AA1 that matches the size of the original block (for the example, AA1..AY100).
    • Fill the formula Right (command-R) and Down (command-D).
    The formula will copy the text from cells containing text, keep cells blank ("") where the originals were blank, and enter the results, multiplied by 1.5, for cells where the originals contain a formula with a numerical result or a number.
    Limitation: The formula does not distinguish between an entered number and one generated by a formula contained in the referenced cell. All numeric values will be multiplied.
    Regards,
    Barry

  • Is there any way to tell which formulas a particular cell is in, reverse look-up style? That is, is there a way to search somehow for which formulas in a sheet contain a particular cell in them without opening all of them up? If not, it would be nice

    Is there any way to tell which formulas a particular cell is in, reverse look-up style? That is, is there a way to search somehow for which formulas in a sheet contain a particular cell in them without opening all of them up? If not, it would be nice.
    I'm fixing a Numbers document that I use in business daily that's become overly complicated, but while I want to clear/delete a number of cells in it to clean it up, I'm not sure if those cells are being used as source for other formulas on the page. I don't have to open all my formulas one by one to see if that cell is in there, do I?! That'd be a huge amount of work if I wanted to eliminate say 10 cells to search each formula on the page to see if it is in there or watch all the cells when I delete that cell to see if the numbers change! There's got to be an easier way! Right click doesn't seem to be any help.
    I don't want to damage my daily tool to make it cleaner and reorganize it. Is there really no way to do a reverse look-up of which formulas a particular cell is in?! Any time I click on a formula it highlights all the CELLS in that formula. Why can't I (or can I?) do the reverse and see all the FORMULAS that contain a particular cell?
    As a Numbers document ages or gets used frequently, you can sometimes forget which cells are tied to which formulas. You just look for the results of your formulas. Would be a nice thing to be able to do. Thoughts? Work-arounds? Answers?

    Answer would be no unless application provided such feature. Numbers does not as far as I know.
    Note that even if you have complete list of formulae used in a table, identifying formulae referencing any given cell is not simple.
    E.g., cell T20 is referenced not only in
    =T20+1
    but also in
    =SUM(T)
    =SUM(20:20)
    =SUM(S19:U22)
    =OFFSET(S1,19,1,1,1)
    =INDIRECT("T"&(10*2))
    In order to identify such formula, we have to actually evaluate it to see if it references the given cell. Especially such formula as OFFSET() and INDIRECT() may not be found by static parser because their parameters can be dynamic.
    Sorry to be the bearer of bad tidings.
    H

  • Setting different editors in different cells in a single column

    Hi,
    My approach to setting different editors like JTextField,JComboBox etc to different cells in a single column is not upto fully satisfactory. As compiling the same code lower than 1.5 gives error in that line. My approach is as follows:
    ..................// other implementations
    DefaultCellEditor comboeditor,texteditor;
    JTextField tf=new JTextField();
    texteditor=new DefaultCellEditor(tf);
    texteditor.setClickCountToStart(2);
    JComboBox cb=new JComboBox("its_value_is_already_set");
    comboeditor=new DefaultCellEditor(cb);
    comboeditor.setClickCountToStart(2);
    DefaultTableModel model=new DefaultTableModel(datas,colNames);
    JTable table=new JTable(model){
      public DefaultCellEditor getCellEditor(int row,int col)
         if ((row==0) && (col==1))
            setCellEditor(texteditor);
            return texteditor;
         else if ((row==1) && (col==1))
             setCellEditor(comboeditor);
             return comboeditor;
    };The thing wat shows error while compiling in version lesser than 1.5 is in the getCellEditor(int row,int col) return type as it should be TableCellEditor not the DefaultCellEditor. But anyhow it works with 1.5 but show error in lesser version as I already said. So, wat can be the perfect code for it please help me fix it.
    regards,
    Jay

    Sorry, I forgot to mention the return statement if neither of the conditions r met in the if..else clause. I've written return (DefaultCellEditor)super.getCellEditor(). Now wats the difference in using super.getCellEditor() & super.getCellEditor(row,col). Excluding the setCellEditor(...) method is my code fine. I mean is it acceptable for other versions as I'm still confused with the return type that I have included instead of the required one... like DefaultCellEditor instead of TableCellEditor.
    regards,
    Jay

  • How to set different renderers to different cells in same column of JTable?

    Hello Friends,
    I need your help again...
    Does any body knows, how to set different renderer's for different cells of same column in JTable..??
    For ex.
    Col1 Col2 Col3 Col4
    A       A       A      A
    A       A       A      B
    A       A       A      C
    A       A      A       D
    Where A B C D would be different Renderers.  I want set exactly same ,,, ie. one column with different renderer at different cell positions..
    Right now i m setting renderer using statement bellow :
    table.getColumnModel().getColumn(int).setCellRenderer(rederer_Instance);But with this, effect in the last renderer is applicable whole column....
    Can any body help me out ?????????
    please refer this thread for similar kind of discussion...
    http://forums.sun.com/thread.jspa?forumID=57&threadID=571445Thanks
    Suyog

    Please refer to the first reply of [this thread|http://forums.sun.com/thread.jspa?forumID=57&threadID=571445] for the answer. If you have a specific problem implementing it, post you code with a specific question.

  • Report Painter: Separate formula in each cell of a column

    Hi,
    I'm creating a report painter report using GRR1. My 1st column is particulars (which includes revenue & costs) and 2nd column is % to sales. I need a separate formula in each cell of column2 to divide the contents of the respective cell in column1 by sales (the figure in 1 cell) & then multiply it by 100. Is this possible? If yes, then how?
    Regards,
    Sangeeta

    Any suggestions guys????
    Regards,
    Sangeeta

  • How can I move columns in Numbers without distorting the formula in other cells?  In Excel I can cut and paste entire columns and the formula in other cells adjusts accordingly.  When I do it in Numbers, the formula messes up.  How can I do this?

    How can I move columns in Numbers without distorting the formula in other cells?  In Excel I can cut and paste entire columns and the formula in other cells adjusts accordingly.  When I do it in Numbers, the formula messes up.  How can I do this?
    For example: I have formulas in columns D and F that relate to columns C to CU
    If I want to move one column from one position to another (say S to T), the formula loses the colums that was moved, i.e. it doesn't recognize it has moved, rather sees it as deleted...  How can I do this without distorting the formula?

    Thanks for the feedback.
    If I often urge askers to look at the available resources, it's because  a large range of questions asked in the forums are already answered in these documents.
    As they are PDFs, they are easy to search in.
    CAUTION
    Download them while they are available.
    Given what is delivered with iBooks Author, I'm afraid that we will not get such easy to use documents.
    Searching infos in the  iBooks Author documentation available on line is awfully cumbersome and a lot of embedded links are wrongly flagged this way. In the Help files they aren't links but underlined strings.
    It seems that the tool used to generate the web pages was wrongly configured.
    Yvan KOENIG (VALLAURIS, France) dimanche 22 janvier 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k
    My iDisk is : http://public.me.com/koenigyvan

Maybe you are looking for

  • Report in Multiple Columns Not Tabular

    Example, we have a search to return departments by building. The "building_name" (linked via "building_id") is clicked returning a listing of the "dept_name" (linked via "dept_id") in that building. Rather than use the "next" button and have to page

  • Item catogories in CRM and R/3 ?

    Hi, We have a Internet b2b sales scenario and are using CRM 4.0. In R/3 backend -- under transaction VOV4 -- we have the following Item Categorie assignment to the Oder type. sa type     ITC GR      USG     H lev It Ca     Df Itc     M It Ca ZEDE    

  • Wiki Placeholder does not give the option to create

    When trying to create a link on my Enterprise Wiki page I created a placeholder, the issue is that I am not able to select the placeholder and get the prompt to create. I've researched and still can't come up with a logical explanation. I am able to

  • Voucher exchange to cash.

    Friend got me an apple voucher, but I've had all the apple products that I need, is there's any chance I can exchange the voucher back to cash?

  • PR Release Workitem  in inbox

    Hi Friends, I have worked on standard BO.  PR release workflow as purchaseofficer got the mail and pr release-please register workitem..that's fine. But purofcr should be  click on workitem. he is not saved. then purofcr back to inbox. but workitem i