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

Similar Messages

  • How can I make an Equation apply to an entire column, but only use the values in the specific rows?

    I am working on a research project using Numbers 09 and have columns for values that require me to use formulas using values in other columns. Becuase I am lazy and have 180 rows of data, I would like to find a way to have a formula apply to an entire column so that I don't have to go row by row inputting the formula.
    Essentially, I want to be able to have N(X)=F(X)+G(X). Where X is the row number. Is this possible?
    The real formula I want to have is (4*(F(X))^2)/G(X)
    Thanks! 

    Place this formula in your chosen column in the first row containing data in columns F and G.
    =(4*F^2)/G
    Press enter to confirm the entry. The result will appear in the cell.
    Click (once) on the cell containing the formula.
    Shift Click on the cell in the same column on the last row containing data in F and G to select all cells between. .
    Go Insert > Fill > Fill down.
    Done.
    Regards,
    Barry

  • How to apply =Hyperlink() to entire column

    I created the following formula:   =HYPERLINK("http://www.somewhere.com/search.aspx?kw="&C2, C2),   where C2 is relative to the cell in which apply the formula. So in effect I am attempting to create relative Hyperlink URLs down a column.   Here's my problem, I cannot copy-and-paste this formula to entire column because the cell I need to copy is now a hyperlink.

    Open the hyperlink inspector:
    and check the box "Make all hyperlinks inactive".  Now copy and paste the formula, then select the whole column and paste

  • Large datasets...paste a formula into entire column

    I have a large data set....>40,000
    How do I past a formula to an entire column?
    e.g. Score a value using "if/then" logic to the entire dataset
    thanks
    Ryan

    You said "entire column" but maybe you meant "entire column except for header and/or footer rows"?
    If have header cells to avoid, do what Wayne said but after selecting the entire column, Command Click on the header cell(s) to deselect them. If you have footer rows, scroll to the bottom and deselect them too.

  • Help with Appleworks-Spreadsheet - "Dragging down formula for entire column

    I have Appleworks 6 and am attempting to duplicate what I can do in Excel - Namely, entering a simple formula (=a1*.20) and dragging the lower righthand corner down to duplicate for the entire column. I know that Appleworks doesn't mimic many of Excel's features but am wondering what the Apple variation of this is?
    Thanks,
    Roberta

    You can "Fill Down" (or Fill Right) from the Calculate menu. Enter your formula, text, etc. it the first cell, click on that cell & drag the cursor until all of the cells you want to populate are highlighted, the choose your fill. Unless the original formula has absolute references, the filled formulas will be relative to the original cell. Say C1 is the first cell & the formula is =A1+B1, filling down from C1, the formula in C6, for example, will be =A6+B6.
    Peggy

  • 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

  • Applying formula to two columns of data

    Hi,
    I've started to use DIAdem and it appears very powerful.  Comparision between different data channels
    is straightforward and the built in functions are useful.  What I'm comparing with with the older way I
    analysed data within EXCEL.  To deduce INL and DNL from raw data of a DAC.  See attached how the
    formula has been applied to some dummy data I made up of a 3 bit DAC!  Anyhow I'm wondering if there
    is a correspondingly easy way to implement this formula in DIAdem.  Any help appreciated.  I'm played
    around with the calculator a little but to no avail.
    Thanks,
    Mike
    Attachments:
    INL+DNL results.xlsx ‏14 KB

    Michael,
    I took your Excel file and tried to recreate the exact same thing in DIAdem 2010.
    Here's what I did:
    The Excel function that subtracts values within a column from each other can be replaced by the "Calculate Differences" function in DIAdem ANALYSIS (ANALYSIS > Basic Mathematics > Calculate Differences). That creates a new Channel I called "Delta" in my DIAdem Data Portal.
    The next thing I did was add the LSB value as a property to a data channel (in my case I added it to "Readings" as a custom property).
    The next step was to go to ANALYSIS and select the Calculation Manager from the toolbar. I added two calculations to the calculation manager, one for DNL and one for INL.
    And here is the INL calculation:
    That's what got me the same results you have in Excel ...
    Ask if you have further questions,
          Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

  • Installing formula for entire  Column

    Im putting together a wholesale business and want to format a column so that when I enter a price in column D column E automatically calculates and additional 15% for Freight. So As I proceed down each row with additional items when I enter the price of each item in Column D the landed cost of the good(with the additional 15%) automatically appears in column E... I know how to format each cell individually but want to format all the cells in the column at the same time.

    muleneck,
    You said you wanted to calculate a new price including freight when you entered a basic price. So suppose you are entering this basic price in B3. Then your new price in, say, C3 would be:
    =IF(B3="","",1.15*B3). This says, if there is no price value in B3, leave the cell (C3) blank. But if the price cell has a value, find the new price by adding 15% (.15) to that price or 1.15 times the original price. This lets you add rows not yet in use without seeing results of the calculation. But it's there when you enter a price.
    pw
    Message was edited by: pw1840

  • Why won't 'IF-Statement' Formula work for an entire column?

    I am trying to make an IF formula subtract a cells value from another cells value, creating a 'balance'.  The formula is working when selecting one cell for each part of the formula, but is not working when I try to use the formula for multiple cells (entire column).  The formula I am using for single cells is as follows:
    =IF(Monthly Timeline :: F2="Citi",Monthly Timeline :: D2+1000,1000)
    The formula works with way, when I select the pop-up menu in F2 to say "Citi" it will add the value of D2 to 1000 and give me a proper solution, but when I change it to the entire column as follows:
    =IF(Type="Citi",Amount+1000,1000)
    The formula for entire columns 'Type' and 'Amount' does not produce a proper solution, it will display 1000, no matter how many values in the 'Amount" column have "Citi" selected in the pop-up menu in the 'Type' column.
    I know there is a way to make this formula work but I can't seem to figure out what I am doing wrong  any help would be greatly appreciated.
    Thanks!

    the function if() does not apply to a column.  the functions sumif() and sumifs() do apply to columns.  You can get detailed information regarding these functions in the function browser.  To open the function browser select the menu item:
    "View > Show Function Browser"
    OR dowload the free function reference from Apple here:
    http://support.apple.com/manuals/#productivitysoftware
    The document is titled "iWork '09 Formulas and Functions User Guide"
    There is also a User Duide you may find helpful: "Numbers '09 - User Guide"

  • Apache POI- HSSFDataValidation Formula Validation for Entire column

    Hello,
    I have been looking HSSFDataValidation and was able to run the sample below.
    My requirement is I need to apply this formula for Entire column to achieve the need like
    When user enters data in col2 (B) of greater than the number specified in col1 (A) and then show the ErrorBox.
    I am able to get the formula working through code only for first cell as per below code... I want it to dynamically apply for the entire column.
    Please suggest...
       1. import java.io.File; 
       2. import java.io.FileOutputStream; 
       3. import java.util.ArrayList; 
       4. import org.apache.poi.hssf.usermodel.DVConstraint; 
       5. import org.apache.poi.hssf.usermodel.HSSFDataValidation; 
       6. import org.apache.poi.hssf.usermodel.HSSFSheet; 
       7. import org.apache.poi.hssf.usermodel.HSSFWorkbook; 
       8. import org.apache.poi.hssf.util.CellRangeAddress; 
       9. import org.apache.poi.hssf.util.CellRangeAddressList; 
      10. import org.apache.poi.ss.usermodel.Cell; 
      11. import org.apache.poi.ss.usermodel.Row; 
      12.  
      13. public class TestThis{  
      14. public static void main1(String[] args) { 
      15.         // New Workbook.  
      16.         File outputFile = new File("C:/mamatha.xls"); 
      17.         try { 
      18.             
      19.             FileOutputStream fos = new FileOutputStream(outputFile); 
      20.             HSSFWorkbook workbook = new HSSFWorkbook(); 
      21.             HSSFSheet sheet = workbook.createSheet("Validation"); 
      22.             Row row = sheet.createRow(0); 
      23.             Cell cell = row.createCell(0); 
      24.             cell.setCellValue(5); 
      25.             cell = row.createCell(1); 
      26.             cell.setCellValue("good"); 
      27.             row = sheet.createRow(1); 
      28.             cell = row.createCell(0); 
      29.             cell.setCellValue(7); 
      30.             cell = row.createCell(1); 
      31.             cell.setCellValue("now"); 
      32.  
      33.             //String formula = "IF(LEN($B$1) > $A$1, FALSE, $B$1)"; 
      34.             String formula = "IF(LEN($B$1:$B10) > $A$1:$A10, FALSE, $B$1:$B10)"; 
      35.             CellRangeAddressList addressList = new CellRangeAddressList(); 
      36.             addressList.addCellRangeAddress(0, 1, 3, 1); 
      37.             DVConstraint constraing = DVConstraint.createFormulaListConstraint(formula); 
      38.  
      39.             HSSFDataValidation dataValidation = new HSSFDataValidation(addressList, constraing); 
      40.             dataValidation.setEmptyCellAllowed(true); 
      41.             dataValidation.setShowPromptBox(true); 
      42.             dataValidation.setSuppressDropDownArrow(false); 
      43.             dataValidation.createErrorBox("Invalid input !!", " Length of Col B > colA "); 
      44.             sheet.addValidationData(dataValidation); 
      45.             workbook.write(fos); 
      46.         } catch (Exception e) { 
      47.             System.out.println(e); 
      48.         } 
      49.     } 
      50. }  Thanks
    Mamatha
    Edited by: user8984775 on Mar 17, 2011 11:20 PM
    Edited by: user8984775 on Mar 17, 2011 11:22 PM

    user8984775 wrote:
    My requirement is I need to apply this formula for Entire column to achieve the need like
    When user enters data in col2 (B) of greater than the number specified in col1 (A) and then show the ErrorBox.
    I am able to get the formula working through code only for first cell as per below code... I want it to dynamically apply for the entire column. Well I'm certainly no expert on POI, but that looks like a very odd formula to me.
    When you "pull" a formula down a column, Excel automatically changes the formula for each row, but because you've fixed both the column AND the row ($A$1), it'll be the same in all cases.
    I don't know if POI allows that sort of "auto-generate" for formulas, but if so try something like $A1 instead; otherwise I suspect you'll need a different formula for each row.
    Winston

  • Can I have a product formula in an entire column that will multiply the previous two columns?

    Trying to enter a product formula for an entire column that will multiply the previous two columns without having to select each row of two cells and clicking on "product".  This is tedious.  Thanks.

    My own tip to apply fill down to a column :
    click the tab at top of the column to select the entire column
    press command then click the header cells to unselect them
    Trigger Table > Fill > Fill Down
    It's the kind of info which is available in Numbers User Guide.
    It's always good practice to Read The Free Manual.
    Yvan KOENIG (VALLAURIS, France) mercredi 21 septembre 2011 21:07:53
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • 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

  • Failed validation highlights entire column in tabular form

    Hi,
    I have a tabular form where one of the field is a date field. I need to ensure that that the date selected or entered falls in the correct range of another page item P6_WEEK_ENDING. Here is my code.
    DECLARE
         last_week_fri      DATE;
         this_week_fri     DATE;
         in_range NUMBER:=1;
         ret_bool BOOLEAN := TRUE;
    BEGIN
         -- Get current end of week ID
         this_week_fri:= CONVERTDATE2(:P6_WEEK_ENDING);
         SELECT CONVERTDATE2(this_week_fri-7) INTO last_week_fri FROM DUAL;
         FOR i in 1..apex_application.g_f03.count LOOP
              IF apex_application.g_f03(i) IS NOT NULL THEN
                   CASE
                        WHEN CONVERTDATE2(apex_application.g_f03(i)) >= CONVERTDATE2(last_week_fri) AND CONVERTDATE2(apex_application.g_f03(i)) <= CONVERTDATE2(this_week_fri) THEN
                             null;
                        ELSE
                             in_range:=0;                    
                   END CASE;
              END IF;
              if in_range != 1 THEN
                   ret_bool:= FALSE;
                   EXIT;
              END IF;          
         END LOOP;
         return ret_bool;
    END;Where
    convertdate2 takes date format and outputs date in dd-mm-yyyy format.
    apex_application.g_f03(i) is the date field.
    Now it all works well except when my validation fails, it highlights the entire column instead of highlighting the only the bad entries.
    I have my execution scope as : Created and Modified Rows, tried changing it with no luck.
    Many thank.
    Environment: APEX.4.1.1 using Sand theme

    Taepodong ,
    I assume this is a validation. When you first created the validation, you either selected a page item or tabular form. If you selected the latter, you then selected the tabular form to which the validation would apply. On the next screen, you were asked to "Identify the validation level:" I am guessing that, at that point, you selected "Tabular Form Row" rather than "Column" The former will highlight the entire row, while the latter will only highlight the column which was specified.
    -Joe

  • BSEG table value can't apply formula

    I download amount column for BSEG into excel, for example, in excel, the document number 400000235 has amount 51.866,60,
    when I apply formula column X=1.5*amount column, it shows #value!, if I change to 51866.6, it works fine, I have more than 2000 lines to change, I can't do it one by one, any one got idea how to fix this issue. thanks

    Hi,
    before you make the download from SAP, change the user parameters in su3 transaction (Defaults / decimal notation) to the decimal notation you need (eg. from xxx.xxx,yy to xxx,xxx.yy) . In MS Excel, you can try to do the same and convert the figures to values by using the formula "value" but the easier way is to change the setting in the source system.
    Best regards, Christian

  • Hide entire column based on presentation variable?

    Has anyone ever tried to do this? If user selects all records from prompt i want to display analysts assigned to those records. If user selects specific analyst i don't want to display analyst column. I know i can null out or show analyst based on presentation variable but what about hide entire column?
    If this is not possible has anyone tried to use conditional formatting to hide entire column?

    Try this:
    0) Create a dashboard prompt on "analysts" and check the "All Choices" checkbox. Set the prompt to a presentation variable.
    1) Create a small report with two columns, one column will be your analyst column, the other will be a column which houses MAX(RCOUNT(1)) in the Edit Column formula window (what you get when you press the fx button). Put another filter on the analyst column set to the presentation variable with one of the analysts as the default.
    2) Put a filter on the the MAX(RCOUNT(1)) column "greater than 1"
    3) Create two copies of your actual report, one which has the analyst column, one without.
    4) Now in your dashboard you will need three sections, one for your prompt, one for the "with column" report and one for the "without column" report.
    5) In the Section Properties of the "with column" report, click on "Guided Navigation" and navigate to the small report you created in step one. Set this section to display "if request returns rows." Don't forget the filter on this report set to the presentation variable.
    6) In the Section Properties of the "without column" report, click on "Guided Navigation" and navigate to the small report you created in step one. Set this section to display "if request returns nothing." This report will not need a filter on the analyst prompt, because by definition it will display all analysts.
    Now when "all choices" is selected on the prompt, the second report displays in the dashboard, and when a single analyst is selected, then the first report will display with the analyst column.

Maybe you are looking for