Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default SUM+IF Array formula

I'm using a {=SUM(IF((A2:A11="1188")*(B2:B11="Feb"),C2:C11))}

I need to count the # in Column C when the criteria is met in A and B. This
is an array formula.

And I keep getting 0....

What am I doing wrong?

Thanks,



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default SUM+IF Array formula

Hi,

Firstly there's no need for an array, the formula

=SUMPRODUCT((A2:A11=1188)*(B2:B11="Feb")*(C2:C11))

works equally well but note that i've taken the 1188 out of quotes on the
assumption it's a number your looking for and left "Feb" inside quotes once
again assuming it isn't a correctly formatted date. Adapting your formula in
the same way also works array entered.

=SUM(IF((A2:A11=1188)*(B2:B11="Feb"),C2:C11))

but i suggest you stick with sumproduct

Mike


"PFAA" wrote:

I'm using a {=SUM(IF((A2:A11="1188")*(B2:B11="Feb"),C2:C11))}

I need to count the # in Column C when the criteria is met in A and B. This
is an array formula.

And I keep getting 0....

What am I doing wrong?

Thanks,



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default SUM+IF Array formula

Is it meant to be

=SUM(IF((A2:A11=1188)*(B2:B11="Feb"),C2:C11))

--
---
HTH

Bob


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



"PFAA" wrote in message
...
I'm using a {=SUM(IF((A2:A11="1188")*(B2:B11="Feb"),C2:C11))}

I need to count the # in Column C when the criteria is met in A and B.
This
is an array formula.

And I keep getting 0....

What am I doing wrong?

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
meaning of : IF(Switch; Average(array A, array B); array A) DXAT Excel Worksheet Functions 1 October 24th 06 06:11 PM
Array Formula Brendan Vassallo Excel Discussion (Misc queries) 4 September 13th 06 02:25 AM
Array formula Marcelo Excel Worksheet Functions 3 May 24th 06 09:05 PM
(array?) formula Jack Sons Excel Discussion (Misc queries) 2 December 29th 05 09:24 PM
Array Formula - using LEFT("text",4) in formula Andrew L via OfficeKB.com Excel Worksheet Functions 2 August 1st 05 02:36 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"