How to populate column with formula based on value in cell
I have a large spreadsheet that I enter data into from one of our
laboratory instruments. Data Initially got dumped into cell i10. Columns a-f contain various formulas (which are mostly used as lookups for other workbooks) that are dependant on whether there is a value in the cell i10. Each Column has a different formula. At the moment, everytime i enter in new data, for eg in cell i11, i12, i13 etc, select the range from a-f then I drag the fill handle downwards to populate the new rows so that my formulas are repeated. (I elected not to populate the formula in anticipation for the growth in data to row 65000 as the workbook size became to big and performance was slow). If there a way to populate the relevant row in colum a-f by copying the formulas down automaically? Thanks Cameron |
select a-f of the rank below the populated row and do Ctrl+d
If you want code, turn on the macro recorder while you do it manually. -- Regards, Tom Ogilvy "Cameron Stewart" wrote in message om... I have a large spreadsheet that I enter data into from one of our laboratory instruments. Data Initially got dumped into cell i10. Columns a-f contain various formulas (which are mostly used as lookups for other workbooks) that are dependant on whether there is a value in the cell i10. Each Column has a different formula. At the moment, everytime i enter in new data, for eg in cell i11, i12, i13 etc, select the range from a-f then I drag the fill handle downwards to populate the new rows so that my formulas are repeated. (I elected not to populate the formula in anticipation for the growth in data to row 65000 as the workbook size became to big and performance was slow). If there a way to populate the relevant row in colum a-f by copying the formulas down automaically? Thanks Cameron |
Thnx Tom - didn't know about the ctrl+D Function . . .
Also Tried it with macro recorder as automated function preferred in my situation. My code was something this but it's requires manual update - not real practical. Sub Macro2() ' ' Macro2 Macro ' Macro recorded 2/11/2004 by SFES ' Range("A10:Y10").Select Selection.AutoFill Destination:=Range("A10:Y20") Range("A10:Y20").Select End Sub Was hoping for more dynamic functionality to last row etc....I sourced this (which I modified - columns a-y now repeat formulas starting at row 10) http://groups.google.com.au/groups?h...3D0% 26sa%3DN Sub Fill_Down() Range([a10], [y10].End(xlDown)).FillDown End Sub Problem is that for 70 rows for eg - takes over 5 mins to run . . . . Any suggestions. Cameron "Tom Ogilvy" wrote in message ... select a-f of the rank below the populated row and do Ctrl+d If you want code, turn on the macro recorder while you do it manually. -- Regards, Tom Ogilvy "Cameron Stewart" wrote in message om... I have a large spreadsheet that I enter data into from one of our laboratory instruments. Data Initially got dumped into cell i10. Columns a-f contain various formulas (which are mostly used as lookups for other workbooks) that are dependant on whether there is a value in the cell i10. Each Column has a different formula. At the moment, everytime i enter in new data, for eg in cell i11, i12, i13 etc, select the range from a-f then I drag the fill handle downwards to populate the new rows so that my formulas are repeated. (I elected not to populate the formula in anticipation for the growth in data to row 65000 as the workbook size became to big and performance was slow). If there a way to populate the relevant row in colum a-f by copying the formulas down automaically? Thanks Cameron |
All times are GMT +1. The time now is 05:14 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com