![]() |
Sum of specific cells
How do I return a sum of a range of cells corresponding to a certain criteria
(For example: I want the sum of all cells in A column which have a value in B colomn: A B 1 A 3 B 6 - I only want the sum of cells a1, a2 = 4) Thanks. |
=SUMIF(B1:B3,"<",A1:A3) Daniel Wrote: How do I return a sum of a range of cells corresponding to a certain criteria (For example: I want the sum of all cells in A column which have a value in B colomn: A B 1 A 3 B 6 - I only want the sum of cells a1, a2 = 4) Thanks. -- Aladin Akyurek ------------------------------------------------------------------------ Aladin Akyurek's Profile: http://www.excelforum.com/member.php...fo&userid=4165 View this thread: http://www.excelforum.com/showthread...hreadid=319037 |
Daniel
=SUMIF(B:B,"<",A:A) Regards Trevor "Daniel" wrote in message ... How do I return a sum of a range of cells corresponding to a certain criteria (For example: I want the sum of all cells in A column which have a value in B colomn: A B 1 A 3 B 6 - I only want the sum of cells a1, a2 = 4) Thanks. |
On Sat, 20 Nov 2004 11:33:36 -0600, Aladin Akyurek
wrote: =SUMIF(B1:B3,"<",A1:A3) or {=SUM(IF(B1:B3"",A1:A3,0))} to cover when b3=6 Daniel Wrote: How do I return a sum of a range of cells corresponding to a certain criteria (For example: I want the sum of all cells in A column which have a value in B colomn: A B 1 A 3 B 6 - I only want the sum of cells a1, a2 = 4) Thanks. -- Aladin Akyurek ------------------------------------------------------------------------ Aladin Akyurek's Profile: http://www.excelforum.com/member.php...fo&userid=4165 View this thread: http://www.excelforum.com/showthread...hreadid=319037 Steve |
Steve Walton Wrote:[color=blue] On Sat, 20 Nov 2004 11:33:36 -0600, Aladin Akyurek wrote: =SUMIF(B1:B3,"<",A1:A3) or {=SUM(IF(B1:B3"",A1:A3,0))} to cover when b3=6 ... You seem to think that "a value" should be restricted to letters/text. If so, you need something different than what you suggest for it fails to exclude B3 = TRUE or include B3 housing a formula blank, etc.? -- Aladin Akyurek ------------------------------------------------------------------------ Aladin Akyurek's Profile: http://www.excelforum.com/member.php...fo&userid=4165 View this thread: http://www.excelforum.com/showthread...hreadid=319037 |
All times are GMT +1. The time now is 05:17 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com