Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 55
Default Conditional Sum in Range

Dear Gurus,

I need a formula that sums subtotals in a range. Here's an example range:

A
1 <formula
2 <header
3 5
4 5
5 10
6
7 5
8 5
9 10
10

I need the formula in A1 to sum every cell in that range that is above a
blank cell (the "blank" cells have formulas in them, but return no values).
So the formula in cell A1 will return a value of 20, since it sums cells A5
and A9.

Thank you.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,726
Default Conditional Sum in Range

=SUMIF(A2:A20,"",A3:A21)

Note the relationship between the ranges, offset by one row.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Exceller" wrote in message
...
Dear Gurus,

I need a formula that sums subtotals in a range. Here's an example range:

A
1 <formula
2 <header
3 5
4 5
5 10
6
7 5
8 5
9 10
10

I need the formula in A1 to sum every cell in that range that is above a
blank cell (the "blank" cells have formulas in them, but return no
values).
So the formula in cell A1 will return a value of 20, since it sums cells
A5
and A9.

Thank you.




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 55
Default Conditional Sum in Range

It works!
Thanks, Bob, for your valuable help!
Regards,
Exceller

"Bob Phillips" wrote:

=SUMIF(A2:A20,"",A3:A21)

Note the relationship between the ranges, offset by one row.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Exceller" wrote in message
...
Dear Gurus,

I need a formula that sums subtotals in a range. Here's an example range:

A
1 <formula
2 <header
3 5
4 5
5 10
6
7 5
8 5
9 10
10

I need the formula in A1 to sum every cell in that range that is above a
blank cell (the "blank" cells have formulas in them, but return no
values).
So the formula in cell A1 will return a value of 20, since it sums cells
A5
and A9.

Thank you.





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
Can I use a conditional if with a range < Motaad Excel Worksheet Functions 3 September 6th 06 08:56 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Conditional formatting based on date range RGB Excel Discussion (Misc queries) 3 May 23rd 06 05:37 PM
Conditional format IP range deo89 Excel Discussion (Misc queries) 4 December 29th 05 02:56 AM
Conditional Formatting - Lookup Range murphyz Excel Discussion (Misc queries) 8 August 24th 05 03:55 PM


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