LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Need code for fill a number trend down

I need to write a macro to fill Column C based on Column B. Column A has all
rows filled with text. Code needs to start reading at B2 (Row 1 contains my
headers) and enter a number trend down in Column C until it reads the next
number in Column B, then start the trend again and continue until the last
line of Column A. Column B is already filled out. I just need code to fill
Column C. Is this possible? I don't know where to begin with the code.
Your help would be greatly appreciated. I am using Excel 2002.
My spreadsheet example below.
Column B Column C
1 1
2
3
2 1
2
3 1
2
3
 
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
How to fill or shade space between to trend lines? Thorsten Charts and Charting in Excel 4 April 28th 23 07:42 PM
Fill Cells with same number in three rows then skip to next number Tracy Excel Worksheet Functions 2 November 7th 08 03:12 PM
Auto Fill (number & its repeat in bar code) for stickers Sonny Dumas Excel Programming 0 May 12th 06 06:20 AM
Trend using the same formula as the fill handle does Roy G. Biv Excel Worksheet Functions 0 October 18th 05 08:31 PM
Can I auto fill a cell in one worksheet by typing a code number Gomer Pyle Excel Worksheet Functions 1 August 27th 05 01:24 AM


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

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"