Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Loop and AutoFill

Please help!

I'm new to vb in excel.
I've attempted to automate this in excel.
The data is as follows:

Column A Column B Column C
Start Date Amount #ofmonths

I need to take the amount divided the number of months, and spread it
over a period of time.

If the start date is from Jan 01, 2005 with a 12 month period, then the
amount/# of months, is spread from Jan05 to Dec05.

I have also set up columns naming them Jan05, Feb05, March05, etc, so I
can spread the amount over the period of months.

I'm thinking I should loop through the start dates, to see what column
to start spreading the amount/#ofmonths, and then do an autofill based
on the #ofmonths.

Please help, I've tried all different kinds of code scenarios.


*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 718
Default Loop and AutoFill

With formulas only! No VBA!
http://cjoint.com/?dbt6apTVJH

HTH

--
AP

"Anonymous" a écrit dans le message de
...
Please help!

I'm new to vb in excel.
I've attempted to automate this in excel.
The data is as follows:

Column A Column B Column C
Start Date Amount #ofmonths

I need to take the amount divided the number of months, and spread it
over a period of time.

If the start date is from Jan 01, 2005 with a 12 month period, then the
amount/# of months, is spread from Jan05 to Dec05.

I have also set up columns naming them Jan05, Feb05, March05, etc, so I
can spread the amount over the period of months.

I'm thinking I should loop through the start dates, to see what column
to start spreading the amount/#ofmonths, and then do an autofill based
on the #ofmonths.

Please help, I've tried all different kinds of code scenarios.


*** Sent via Developersdex http://www.developersdex.com ***



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
Loop and autofill CaroleO Excel Discussion (Misc queries) 1 April 12th 07 05:37 PM
AutoFill Loop Pete Excel Programming 5 January 16th 06 07:55 PM
Advancing outer Loop Based on criteria of inner loop ExcelMonkey Excel Programming 1 August 15th 05 05:23 PM
Autofill: Need to autofill one week block, (5) weekday only into cells. dstock Excel Discussion (Misc queries) 1 June 17th 05 08:21 PM
Q. Autofill question: Can I autofill alpha characters like I can numbers? George[_22_] Excel Programming 5 August 7th 04 10:33 AM


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