Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 74
Default Insert a formula down 50,000 rows

Would you happen to know a way that I can copy or paste a sequential formula
down an Excel column without dragging for literally 50 thousand rows.
For example:

=(A1+B1)
=(A2+B2)
=(A3+B3)
=(A4+B4)
=(A5+B5)
=(A6+B6)
=(A7+B7)

--
Rene - Do appreciate your help
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 857
Default Insert a formula down 50,000 rows

Hi Rene,

Something like this:

Sub test()
ActiveSheet.Range("C1").Formula = "=A1+B1"
ActiveSheet.Range("C1:C50000").FillDown
End Sub


--
Hope that helps.

Vergel Adriano


"Rene" wrote:

Would you happen to know a way that I can copy or paste a sequential formula
down an Excel column without dragging for literally 50 thousand rows.
For example:

=(A1+B1)
=(A2+B2)
=(A3+B3)
=(A4+B4)
=(A5+B5)
=(A6+B6)
=(A7+B7)

--
Rene - Do appreciate your help

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Insert a formula down 50,000 rows

or even -

ActiveSheet.Range("C1:C50000").Formula = "=A1+B1"

Regards,
Peter T

"Vergel Adriano" wrote in message
...
Hi Rene,

Something like this:

Sub test()
ActiveSheet.Range("C1").Formula = "=A1+B1"
ActiveSheet.Range("C1:C50000").FillDown
End Sub


--
Hope that helps.

Vergel Adriano


"Rene" wrote:

Would you happen to know a way that I can copy or paste a sequential

formula
down an Excel column without dragging for literally 50 thousand rows.
For example:

=(A1+B1)
=(A2+B2)
=(A3+B3)
=(A4+B4)
=(A5+B5)
=(A6+B6)
=(A7+B7)

--
Rene - Do appreciate your help



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,069
Default Insert a formula down 50,000 rows

If you already have data in the Adjacent cells cells you can double click on
the fill handle.
--
John
MOS Master Instructor Office 2000, 2002 & 2003
Please reply & rate any replies you get

Ice Hockey rules (especially the Wightlink Raiders)


"Rene" wrote:

Would you happen to know a way that I can copy or paste a sequential formula
down an Excel column without dragging for literally 50 thousand rows.
For example:

=(A1+B1)
=(A2+B2)
=(A3+B3)
=(A4+B4)
=(A5+B5)
=(A6+B6)
=(A7+B7)

--
Rene - Do appreciate your help

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 903
Default Insert a formula down 50,000 rows

Hi Rene,
You posted in the programming group so you got programming
solutions and one that was not. Since it doesn't really look like
a programming type of problem, I'll add another non programming
solution, which might have actually been done to help generated
the first solution you got.
Place formula in C1,
then place C1:C50000 in the name box at the left of the formula
bar -- glad to see you're not using all the rows. Then use Ctrl+D
to fill down.

Additional suggestions on filling down at
http://www.mvps.org/dmcritchie/excel/fillhand.htm

If you weren't using 50000 rows before doing that, you will be,
you want to keep the used range to what you actually need as
far as entering formulas on the worksheet is concerned.

---
HTH,
David McRitchie, Microsoft MVP - Excel
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Rene" wrote...
Would you happen to know a way that I can copy or paste a sequential formula
down an Excel column without dragging for literally 50 thousand rows.




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
Automatically insert rows with formula susy Excel Worksheet Functions 10 November 21st 07 01:03 PM
how to insert rows by formula. Johnny Excel Discussion (Misc queries) 13 November 18th 07 12:38 PM
Formula to Insert Rows cgarcia[_2_] Excel Worksheet Functions 3 September 10th 07 08:22 AM
insert rows needs to copy formula Mark J Kubicki Excel Programming 1 May 10th 06 04:06 AM
Insert rows, keep a formula? tb Excel Worksheet Functions 1 April 23rd 05 03:41 PM


All times are GMT +1. The time now is 04:58 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"