#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 46
Default sumif2

I've got it like this
A B C
30 2 JNB
11 3 CPT
10 4 RIO
11 5 JNB
13 6 JNB
10 7 CPT
And what I need are the total out of B only if A=11 and C=CPT.
I've had a previous one that worked the figures from B but it seems that I
must have this condition in as well.

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default sumif2

=sumproduct(--(A1:A10=11),--(c1:c10= "CPT"),B1:B10)

"ekkeindoha" wrote:

I've got it like this
A B C
30 2 JNB
11 3 CPT
10 4 RIO
11 5 JNB
13 6 JNB
10 7 CPT
And what I need are the total out of B only if A=11 and C=CPT.
I've had a previous one that worked the figures from B but it seems that I
must have this condition in as well.

Thanks

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 10:42 AM.

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"