Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default sum data betwen two blank row

I have a file like below
sub-total
jan 10
20 30 <== how to creat a formula to sum data between
blank row ?
feb 30
10
10 50
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default sum data betwen two blank row

Assuming your data starts on row 2, allowing for headers, put this in
C2:

=IF(AND(B3="",B2<""),SUM(B$2:B2)-SUM(C$1:C1),"")

and copy down as far as needed.

Hope this helps.

Pete

On Nov 27, 7:10*am, eva cheng <eva
wrote:
I have a file like below
* * * * * * * * * *sub-total
jan * * *10 * * *
* * * * * *20 * * * 30 * * * * *<== how to creat a formula to sum data between
* * * * * * * * * * * * * * * * * * * * * *blank row ?
feb * * *30
* * * * * *10
* * * * * *10 * * * * 50 * * * * * *


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
finding is a value is betwen a range of values Alberto Ast[_2_] Excel Discussion (Misc queries) 5 September 12th 09 05:31 PM
Calculate number of codes betwen dates Danielah21 Excel Worksheet Functions 5 October 18th 08 12:59 AM
area betwen 2 graphs Travis Charts and Charting in Excel 5 January 17th 08 09:09 AM
Determine years betwen 2 dates Darren Excel Worksheet Functions 2 May 3rd 06 05:26 PM
Working betwen excel and acces filo666 Excel Discussion (Misc queries) 5 February 16th 05 07:19 PM


All times are GMT +1. The time now is 12:21 AM.

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"