Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default SUMIF-with 2 conditions, need to add range in 2 columns

Column a
Column b
Column c
Column d

If column d = "specific" and column a = "mary", would like to add columns b
and c

Please help!


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default SUMIF-with 2 conditions, need to add range in 2 columns

Try this:

=SUMPRODUCT((A1:A10="Mary")*(D1:D10="Specific")*B1 :C10)

--
Biff
Microsoft Excel MVP


"nursemlb" wrote in message
...
Column a
Column b
Column c
Column d

If column d = "specific" and column a = "mary", would like to add columns
b
and c

Please help!




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default SUMIF-with 2 conditions, need to add range in 2 columns

Hi

Try this:

=SUMPRODUCT(--(A1:A6="mary"),--(D1:D6="specific"),B1:B6+C1:C6)


If this helps please check the yes button.
--
Thanks,
Shane Devenshire


"nursemlb" wrote:

Column a
Column b
Column c
Column d

If column d = "specific" and column a = "mary", would like to add columns b
and c

Please help!


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default SUMIF-with 2 conditions, need to add range in 2 columns

Hi,

you can also try this array formula (Ctrl+Shift+Enter)

=sum(if((D1:D10="specific")*(A1:A10="Mary"),B1:C10 ))

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"nursemlb" wrote in message
...
Column a
Column b
Column c
Column d

If column d = "specific" and column a = "mary", would like to add columns
b
and c

Please help!


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 full columns, multiple conditions Gupta A. Excel Discussion (Misc queries) 3 May 23rd 06 09:06 PM
want sumif function's range to evaluate 2 columns Debgala Excel Worksheet Functions 7 November 6th 05 03:46 AM
count all the columns in a range with certain conditions hopeace Excel Discussion (Misc queries) 3 October 18th 05 08:38 PM
SUMIF using two columns in both Range and Criteria Gordon Excel Discussion (Misc queries) 5 June 29th 05 06:56 PM
SUMIF using two columns in both Range and Criteria Gordon Excel Worksheet Functions 5 June 29th 05 06:56 PM


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