#1   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 390
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default 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

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default 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

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



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