Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Louise
 
Posts: n/a
Default SUMIF with 2 conditions

I am trying to use SUMIf with 2 conditions, I see someone else asked this
question before but I still can't get it to return anything other than #Value!

Can anyone help me?

=SUMPRODUCT(--('Raw Data'!F2:F60000="TEST");--('Raw
Data'!V2:V60000="Y");'Raw Data'!S1:S60000)

Column F and V contain text values and column S contains numerica values.
does this make a difference?

Thanks in advance....

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bondi
 
Posts: n/a
Default SUMIF with 2 conditions

Hi Louise,

Your formula looks correct. I think that if you change the:
Raw Data'!S1:S60000
to
Raw Data'!S2:S60000
So that the array will match it might work.

Regards,
Bondi

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Barb Reinhardt
 
Posts: n/a
Default SUMIF with 2 conditions

Try

=SUMPRODUCT(--('Raw Data'!F2:F60000="TEST"),--('Raw
Data'!V2:V60000="Y"),('Raw Data'!S1:S60000))


"Louise" wrote:

I am trying to use SUMIf with 2 conditions, I see someone else asked this
question before but I still can't get it to return anything other than #Value!

Can anyone help me?

=SUMPRODUCT(--('Raw Data'!F2:F60000="TEST");--('Raw
Data'!V2:V60000="Y");'Raw Data'!S1:S60000)

Column F and V contain text values and column S contains numerica values.
does this make a difference?

Thanks in advance....

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
John Michl
 
Posts: n/a
Default SUMIF with 2 conditions

Bondi is correct. In order to use SUMPRODUCT, each array must have
exactly the same number of members. In your case, the first two arrays
have 59,999 members and the third 60,000. Note that the don't have to
be the same rows, just the same size. Also, I've not used semi-colons
in my Sumproduct formulas. If you are still having problems try a
comma.

- John Michl

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bondi
 
Posts: n/a
Default SUMIF with 2 conditions

Hi John,

The semi-colons are the argument seperator in (at least) some Eurpean
countries.Changable in the regional settings i think.

Regards,
Bondi



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Louise
 
Posts: n/a
Default SUMIF with 2 conditions

Thank you John and Bondi - it works perfectly now! :)

"John Michl" wrote:

Bondi is correct. In order to use SUMPRODUCT, each array must have
exactly the same number of members. In your case, the first two arrays
have 59,999 members and the third 60,000. Note that the don't have to
be the same rows, just the same size. Also, I've not used semi-colons
in my Sumproduct formulas. If you are still having problems try a
comma.

- John Michl


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ken Wright
 
Posts: n/a
Default SUMIF with 2 conditions

Barb, that would fail for the same reason as the original did, ie the ranges
are not equal in size.

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

------------------------------*------------------------------*----------------
It's easier to beg forgiveness than ask permission :-)
------------------------------*------------------------------*----------------



"Barb Reinhardt" wrote in message
...
Try

=SUMPRODUCT(--('Raw Data'!F2:F60000="TEST"),--('Raw
Data'!V2:V60000="Y"),('Raw Data'!S1:S60000))


"Louise" wrote:

I am trying to use SUMIf with 2 conditions, I see someone else asked this
question before but I still can't get it to return anything other than
#Value!

Can anyone help me?

=SUMPRODUCT(--('Raw Data'!F2:F60000="TEST");--('Raw
Data'!V2:V60000="Y");'Raw Data'!S1:S60000)

Column F and V contain text values and column S contains numerica values.
does this make a difference?

Thanks in advance....



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
SUMIF function with 2 conditions rlandlin Excel Worksheet Functions 4 September 28th 05 05:50 PM
SUMIF - 2 conditions - with references vect98 Excel Worksheet Functions 9 September 22nd 05 05:42 PM
SUMIF with two conditions Fred Holmes Excel Discussion (Misc queries) 3 May 1st 05 10:10 PM
sumif with two conditions ww Excel Worksheet Functions 3 March 31st 05 01:44 AM
SUMIF based on 2 conditions TimH Excel Worksheet Functions 3 October 28th 04 08:18 PM


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