Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default Fill down Formula Automatically

Use "FillDownC" if your changing data in columns A & B should increase or
decrease in rows.

Sub FillDownC()

With Range("C1")
.Formula = "=A1+B1"
.AutoFill Destination:=Range("C1:C" & Range("A10000").End(xlUp).Row)
End With

End Sub

--
Thank you

Aussie Bob C
Little cost to carry knowledge with you.
Win XP P3 Office 2007 on Mini Mac using VMware.


"Shon" wrote:

Can I automate filling down a formula e.g.

if I have to formulas a1+b1 and answer is in c1 I then want the next formula
to calculate a2+b2 and put answer in c2 and repeat this down 20 rows. I
currently have to put the formula in manually as the cells references
containing the data may change sometimes

Any ideas?

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
Fill-in formula which calculates automatically KLUG Excel Discussion (Misc queries) 3 December 7th 09 10:47 PM
Automatically fill cell value ingalla Excel Worksheet Functions 1 March 28th 07 08:58 PM
automatically fill in formula Stan Excel Discussion (Misc queries) 3 January 25th 07 06:06 PM
set up a formula to automatically fill down from previous cell audif New Users to Excel 4 January 15th 07 07:26 PM
Copy and fill automatically Daniel[_6_] Excel Programming 5 October 13th 03 06:25 PM


All times are GMT +1. The time now is 02:48 AM.

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

About Us

"It's about Microsoft Excel"