Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jeff B
 
Posts: n/a
Default Summation of columns of varying heights?

Hi, I need some help here. I have data that has records in Rows. There is a
cost column that I need to sum up but the range of the fields varies.
Fortunately, the height of each range is provided. As an example:

Row 1, Column N has number of rows below to be summed: 4
Rows 2-5, Column P needs to be summed per N1
Row 6, Column N has number of rows below to be summed: 18
Rows, 7-24 Column P needs to be summed per N6
and so on...
Also, for items to be summed, their Column N is always 0 (zero).

any ideas how to do this?

Thanks,

Jeff
  #2   Report Post  
Posted to microsoft.public.excel.misc
SimonCC
 
Posts: n/a
Default Summation of columns of varying heights?

With first cell of column M or O (or another unused column), use the formula
=IF(N1=0,"",SUM(OFFSET(N1,1,2,N1,1)))
and just copy formula down as far as needed.

-Simon

"Jeff B" wrote:

Hi, I need some help here. I have data that has records in Rows. There is a
cost column that I need to sum up but the range of the fields varies.
Fortunately, the height of each range is provided. As an example:

Row 1, Column N has number of rows below to be summed: 4
Rows 2-5, Column P needs to be summed per N1
Row 6, Column N has number of rows below to be summed: 18
Rows, 7-24 Column P needs to be summed per N6
and so on...
Also, for items to be summed, their Column N is always 0 (zero).

any ideas how to do this?

Thanks,

Jeff

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
How do I sort the data in 8 columns by two of the columns? Sorting Excel Worksheet Functions 1 October 25th 05 03:57 PM
How to swap rows and columns? [email protected] Excel Discussion (Misc queries) 5 September 21st 05 08:07 AM
Clearing information in certain columns jolly_lolly Excel Discussion (Misc queries) 1 April 22nd 05 02:41 AM
Hiding columns and custom views problem Bettergains Excel Discussion (Misc queries) 2 April 12th 05 11:48 PM
Removing Near-Duplicate Rows, Leaving Those w/Most Data in Specific Columns foofoo Excel Discussion (Misc queries) 1 April 2nd 05 12:02 AM


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