Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Cameron Stewart
 
Posts: n/a
Default 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
  #2   Report Post  
Tom Ogilvy
 
Posts: n/a
Default

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



  #3   Report Post  
Cameron Stewart
 
Posts: n/a
Default

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert rows based on specific value bob Excel Worksheet Functions 6 February 29th 08 08:11 PM
what formula do i put for column m = column k minus column l in e. jenniss Excel Discussion (Misc queries) 5 January 6th 05 09:18 PM
inserting data from a row to a cell, when the row number is specified by a formula in a cell [email protected] New Users to Excel 2 January 6th 05 08:18 AM
Delete Cell Value Based on Another Cell T or F DocuMike Excel Discussion (Misc queries) 3 January 5th 05 09:46 PM
Aligning Two Lists in Excel Rich Excel Discussion (Misc queries) 2 December 4th 04 06:44 PM


All times are GMT +1. The time now is 06:07 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"