Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Condensing Data onto a New Worksheet

I have randomly placed data (some with data some without
data) in cells in rows 3 through 500 that represent
yearly totals for columns A through E for fiscal years
2001 through 2005. The year is displayed in row 2 & the
column totals are displayed in row 1.

On a new worksheet I want to condense this data to show
only the year, the total & the data applicable to the
year.

I need a loop that will:
1) initially place the year in cell A1 & the
corresponding total for this initial year in cell B1.
Then the data applicable to this year (only the cells
with data) directly below this total starting in cell B2.
2) add a blank row & then place the next year in A? & the
total for this next year in cell B?. Then the data
applicable to this next year (only the cells with data in
the next column) directly below this next year total.
3) continue until all five years of data are condensed
onto a new worksheet that displays the applicable year &
total on one row followed by the applicable corresponding
data (which varies in number of rows) on the following
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
Condensing data from 3D to 2D Garbin Excel Worksheet Functions 7 December 5th 07 06:29 PM
Condensing Imported fixed-width text with multiple data lines to one Excel row [email protected] Excel Discussion (Misc queries) 1 August 5th 06 04:04 AM
Condensing a large data dump Ant Excel Discussion (Misc queries) 1 October 4th 05 06:30 PM
Condensing my worksheet Derek Witcher Excel Worksheet Functions 4 September 1st 05 03:59 PM
condensing information onto one worksheet Louise Excel Worksheet Functions 1 July 1st 05 12:17 PM


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