Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
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  
Posted to microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 27,285
Default How to populate column with formula based on value in cell

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  
Posted to microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default How to populate column with formula based on value in cell

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
Populate cells based on key cell Banshee[_2_] Excel Discussion (Misc queries) 4 September 8th 09 04:49 PM
Populate one column based on the dropdown choice of others Nat Excel Discussion (Misc queries) 2 August 17th 09 10:01 PM
Formula to populate data in a cell based on another cell's color Cassie Excel Discussion (Misc queries) 1 February 6th 09 04:12 PM
Populate column based on data in other cells JR Excel Discussion (Misc queries) 2 September 4th 07 05:38 PM
How to populate column with formula based on value in cell Cameron Stewart Excel Worksheet Functions 2 November 2nd 04 01:36 AM


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

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"