Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Sum data different size

Hi Guys,

I have a spreedsheet that looks like this:
Column A Column B ColumnC
XXXX 1000 HERE I want the sum result
YYY 1200
ZZZZ 1100
blank
XXXX 1000 HERE I want the sum result
YYY 1000
blank
ZZZ 500 HERE I want the sum result

I am trying to find a formula to sum column B up to the blank since
column B can vary sizes I don't how to tell the formula to sum until
there is a blank and place the result in the first row of the data
range in column C (HERE I want the sum result).
please help me

XOXOXOX
Pamela
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Sum data different size

On Jun 30, 9:37*am, Pamela wrote:
Hi Guys,

I have a spreedsheet that looks like this:
Column A * *Column B * ColumnC
XXXX * * * * * *1000 * * * * * HERE I want the sum result
YYY * * * * * * 1200
ZZZZ * * * * * * 1100
blank
XXXX * * * * * * *1000 * * * * HERE I want the sum result
YYY * * * * * * * 1000
blank
ZZZ * * * * * * * * *500 * * * * HERE I want the sum result

I am trying to find a formula to sum column B up to the blank since
column B can vary sizes I don't how to tell the formula to sum until
there is a blank and place the result in the first row of the data
range in column C (HERE I want the sum result).
please help me

XOXOXOX
Pamela


Forget about it I solve it!!! =SUMPRODUCT(OFFSET(N5,,,MATCH
(TRUE,N5:N1002="",)))

Thank you http://www.eggheadcafe.com
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 913
Default Sum data different size

On Tue, 30 Jun 2009 09:37:12 -0700 (PDT), Pamela
wrote:

Hi Guys,

I have a spreedsheet that looks like this:
Column A Column B ColumnC
XXXX 1000 HERE I want the sum result
YYY 1200
ZZZZ 1100
blank
XXXX 1000 HERE I want the sum result
YYY 1000
blank
ZZZ 500 HERE I want the sum result

I am trying to find a formula to sum column B up to the blank since
column B can vary sizes I don't how to tell the formula to sum until
there is a blank and place the result in the first row of the data
range in column C (HERE I want the sum result).
please help me

XOXOXOX
Pamela


Try this formula:
You need an empty row before each section of data, also the first
section.

=IF(AND(A1="",A2<""),SUM(OFFSET(B2,,,MATCH(1,INDE X(--(B2:B$100=""),),0))),"")

The first part, the AND, is there to make the sum to appear just for
the first line in each section and not display any 0's below the
table.
It should be safe to copy this formula down as far as needed for any
future data size.

Hope this helps. / Lars-Åke
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
specify data size in cell add 0's donna13pa Excel Worksheet Functions 2 June 24th 09 08:41 PM
Data Label size Phil Stanton[_2_] Excel Worksheet Functions 4 May 22nd 08 12:24 PM
Set Circle Size from cell data? Colby Excel Discussion (Misc queries) 2 April 11th 07 04:56 PM
Cell size? Or size limit for Text data type? CClem Excel Discussion (Misc queries) 0 April 21st 06 04:09 PM
Change the size of the data labels DrLostinExcel Charts and Charting in Excel 1 November 26th 04 07:14 PM


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