ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sum (https://www.excelbanter.com/excel-discussion-misc-queries/242688-sum.html)

Max

Sum
 
I have 2 colums A and B. I want to sum a total of B only where A=Y??

Thanks

A B
Y $9,290.41
Y $9,290.41
Y $8,740.94
Y $8,740.94
Y $8,280.00
Y $8,280.00
Y $6,375.00
Y $6,375.00
Y $5,760.00
Y $5,760.00
Y $5,277.43
Y $5,277.43
S $4,130.00
S $4,130.00
Y $4,014.55
Y $4,014.55
N $3,937.25
N $3,937.25
Y $3,474.77
Y $3,474.77


Jacob Skaria

Sum
 
Use SUMIF()

=SUMIF(A:A,"Y",B:B)

If this post helps click Yes
---------------
Jacob Skaria


"Max" wrote:

I have 2 colums A and B. I want to sum a total of B only where A=Y??

Thanks

A B
Y $9,290.41
Y $9,290.41
Y $8,740.94
Y $8,740.94
Y $8,280.00
Y $8,280.00
Y $6,375.00
Y $6,375.00
Y $5,760.00
Y $5,760.00
Y $5,277.43
Y $5,277.43
S $4,130.00
S $4,130.00
Y $4,014.55
Y $4,014.55
N $3,937.25
N $3,937.25
Y $3,474.77
Y $3,474.77


FSt1

Sum
 
hi
try this
=SUMIF(A2:A22,"y",B2:B22)

regards
FSt1

"Max" wrote:

I have 2 colums A and B. I want to sum a total of B only where A=Y??

Thanks

A B
Y $9,290.41
Y $9,290.41
Y $8,740.94
Y $8,740.94
Y $8,280.00
Y $8,280.00
Y $6,375.00
Y $6,375.00
Y $5,760.00
Y $5,760.00
Y $5,277.43
Y $5,277.43
S $4,130.00
S $4,130.00
Y $4,014.55
Y $4,014.55
N $3,937.25
N $3,937.25
Y $3,474.77
Y $3,474.77



All times are GMT +1. The time now is 08:01 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com