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.

Similar Messages

  • 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

  • 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

  • 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

  • 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

  • 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

  • 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

  • MS Project 2010 cut and paste 255 characters in notes column field into MS Excel

    I need to copy and paste notes fields in MS Project 2010 which have more than 255 characters into MS Excel and I want all the text to paste into MS Excel (ie >255 characters). I need to be able to do this for at least a text column and the notes column
    as I can do a lookup from there. So to recap I need to copy and paste the contents of 2 columns including the notes column into Excel and paste all the text >255 characters. I know how to do this cell by cell however this is not feasible for a large
    plan on a weekly basis. It sounds so simple if you know how!

    John, 
    I agree that note field will accept more than 255 characters. May be in my comment i have written "Both" that is confusing. Limit is only for text column.
    Some time note field  may give some issues refer to http://support.microsoft.com/kb/169726
    kirtesh

  • 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 to import many large graphic images to fit into column width?

    I have a 2-column layout and about 150 large graphic images which must be imported so that they fit exactly into the column width. These are bitmaps which have all the same dimensions. All of them will need a border (stroke). And they should be inline graphics because they belong to exact positions in the text flow.
    What would be the sensible approach to that (apart from scripting which I have not done yet)? I tried to define an object style which has the attribute "Fit content to frame", but this does not scale the image to the column size. How can I avoid to format 150 those images manually?

    It may be easier to change the ppi in photoshop so the image can be placed at the exact size.
    so if the image is 10 inches and the file is 300 ppi
    with resample image unchecked change the width to whatever you want it say 2 inches no the ppi will automatically change to 1500 ppi. Save. If you are creating a PDF make sure these images are not downsampled if you need the resolution.
    another way if all images are the same size would be to size one and place it where all the images go and relink to the other pics, when you relink it should retain the properties of the previous pic.

  • Copy-Paste ranks into a column

    Hi, I would like to copy a ranks of 10 cells and paste it into a column.
    Thank you

    Hello
    Enter the search tool of this forum and search for the keyword "transpose".
    Yvan KOENIG (from FRANCE dimanche 17 février 2008 19:27:57)

  • Is it possible to copy and paste a formula without changing the cell references?

    I am trying to paste a formula to a cell adjacent to where it currently is but when I do, the cell references in it change. I am trying to get exactly the same formula in the cell (without re-typing it).

    dedwards96 wrote:
    Just another quick question, is it possible to make a large number of cell references 'absolute'?
    Individual cell references in formulas may have four distinct states: relative, absolute column, absolute row, or absolute column and row. These are set using the popup menu on the reference itself. Click on the reference in the formula and choose one of the four states from the popup menu.
    Once set, you can fill the formula into the rest of a column or row using the Fill Handle (small circle at the lower right of a selected cell). Cell references in the new copies of the formula will remain absolute or adjst to their new position dependent on the setting for each reference. You can also copy and paste the cell (single click to select it, command-C to copy) with the same results.
    You can also copy/paste without changing the formula's cell references if you select the formula (Drag across the formula in the entry bar, copy, press tab to deselect and reconfirm the formula in the original cell) rather than the cell. Pasted into a new cell, the formula will appear as if you typed it in exactly as it was in the original cell—neither absolute references nor relative references will have changed.
    Regards,
    Barry

  • Is anyone working with large datasets ( 200M) in LabVIEW?

    I am working with external Bioinformatics databasesa and find the datasets to be quite large (2 files easily come out at 50M or more). Is anyone working with large datasets like these? What is your experience with performance?

    Colby, it all depends on how much memory you have in your system. You could be okay doing all that with 1GB of memory, but you still have to take care to not make copies of your data in your program. That said, I would not be surprised if your code could be written so that it would work on a machine with much less ram by using efficient algorithms. I am not a statistician, but I know that the averages & standard deviations can be calculated using a few bytes (even on arbitrary length data sets). Can't the ANOVA be performed using the standard deviations and means (and other information like the degrees of freedom, etc.)? Potentially, you could calculate all the various bits that are necessary and do the F-test with that information, and not need to ever have the entire data set in memory at one time. The tricky part for your application may be getting the desired data at the necessary times from all those different sources. I am usually working with files on disk where I grab x samples at a time, perform the statistics, dump the samples and get the next set, repeat as necessary. I can calculate the average of an arbitrary length data set easily by only loading one sample at a time from disk (it's still more efficient to work in small batches because the disk I/O overhead builds up).
    Let me use the calculation of the mean as an example (hopefully the notation makes sense): see the jpg. What this means in plain english is that the mean can be calculated solely as a function of the current data point, the previous mean, and the sample number. For instance, given the data set [1 2 3 4 5], sum it, and divide by 5, you get 3. Or take it a point at a time: the average of [1]=1, [2+1*1]/2=1.5, [3+1.5*2]/3=2, [4+2*3]/4=2.5, [5+2.5*4]/5=3. This second method required far more multiplications and divisions, but it only ever required remembering the previous mean and the sample number, in addition to the new data point. Using this technique, I can find the average of gigs of data without ever needing more than three doubles and an int32 in memory. A similar derivation can be done for the variance, but it's easier to look it up (I can provide it if you have trouble finding it). Also, I think this funtionality is built into the LabVIEW pt by pt statistics functions.
    I think you can probably get the data you need from those db's through some carefully crafted queries, but it's hard to say more without knowing a lot more about your application.
    Hope this helps!
    Chris
    Attachments:
    Mean Derivation.JPG ‏20 KB

  • 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

Maybe you are looking for

  • Refresh Materialized views

    Hi, While I was refresh the materialized view I found below error. SQL> exec dbms_mview.refresh(MV1','C'); BEGIN dbms_mview.refresh('MV1','C'); END; ERROR at line 1: ORA-12008: error in materialized view refresh path ORA-01652: unable to extend temp

  • Oracle 11g zip file Checksum

    Hi, i have downloaded oracle 11g R1 zip file for linux x86.The checksum of the zip file on the download page is "302838609" However, when i find out checksum through md5sum.exe dos utility after downloading the zip file, it gives me the following che

  • Dragging photos to email them gives recipient error

    Just upgraded to Yosemite 10.10 and iPhoto 9.6 (910.29), both current as of this writing. I did what I often to do email a photo: selected it in iPhoto and dragged the image to the Apple Mail icon. The picture appeared normally and emailed normally,

  • Adding a past holiday in Holiday Calendar

    Hi, We have a Holiday Calendar for our organisation. However, 14th April being notified later was not added in the Calendar. I want to add it now in such a way that the IT2001 (which is already updated as Not Marked for all the employees for 14th Apr

  • The cloud doesn't have all my music only 1300 of about 2200

    is there a reason that when i started itunes match i only have 1300 songs and not all of my music in the cloud and how can i change this. the main reason i did this is because i have a 16gb iPad mini and all of my music won't fit on it so I figured t