#1   Report Post  
Posted to microsoft.public.excel.misc
Rob Rob is offline
external usenet poster
 
Posts: 718
Default Fill formulas

I am trying to add data every 14 rows up to a couple thousand rows. Is there
an easy way to do this?
--
radjr
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default Fill formulas

=SUMPRODUCT(--(MOD(A1:A3000,14)=1),A1:A3000)


"rob" wrote:

I am trying to add data every 14 rows up to a couple thousand rows. Is there
an easy way to do this?
--
radjr

  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Fill formulas

Perhaps you mean ..

Assuming data to be added is within B1:B141
(ie you want:=B1+B15+B29+...+B141)

In say, C1:
=SUMPRODUCT(--(MOD(ROW(A1:A141)-1,14)=0),B1:B141)

Or perhaps you were hinting at something like this ..

In any starting cell, say in E2:
=IF(MOD(ROW(A1)-1,14)=0,"Std Msg","")
Copy E2 down as far as required to insert the phrase: Std Msg
in E2, E16, E30, etc
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"rob" wrote:
I am trying to add data every 14 rows up to a couple thousand rows. Is there
an easy way to do this?
--
radjr

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
Array Formulas take waaaay too long... belly0fdesire Excel Worksheet Functions 7 August 8th 05 10:11 PM
Excel won't fill formulas Jeff Brown Excel Worksheet Functions 3 June 28th 05 06:55 AM
Fill formulas down in macro hhunt Excel Discussion (Misc queries) 2 February 17th 05 09:03 PM
How do I fill down formulas so they iterate in intervals other th. picklet222 Excel Worksheet Functions 2 December 18th 04 01:23 PM
calculating formulas for all workbooks in a folder Chad Excel Worksheet Functions 3 November 13th 04 05:22 PM


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