Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 72
Default SUMIF with two condition from two ranges

I want to sum the cells in D5:D64 where B5:B64="AA", and where E5:E64<"".
So again, I would like it to check for the cells in Column B that = "AA" and
of those check if Column E that < "" and add the cells in column D that meet
both conditions.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default SUMIF with two condition from two ranges

=sumproduct(--(b5:b64="AA"),--(E5:e64<""),d5:d64)


"JBoyer" wrote:

I want to sum the cells in D5:D64 where B5:B64="AA", and where E5:E64<"".
So again, I would like it to check for the cells in Column B that = "AA" and
of those check if Column E that < "" and add the cells in column D that meet
both conditions.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 127
Default SUMIF with two condition from two ranges

=SUMPRODUCT((B5:B64="AA")*(E5:E64<"")*(D5:D64))


"JBoyer" wrote in message
...
I want to sum the cells in D5:D64 where B5:B64="AA", and where E5:E64<"".
So again, I would like it to check for the cells in Column B that = "AA"
and
of those check if Column E that < "" and add the cells in column D that
meet
both conditions.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 72
Default SUMIF with two condition from two ranges

Thanks, that worked perfect!

"Duke Carey" wrote:

=sumproduct(--(b5:b64="AA"),--(E5:e64<""),d5:d64)


"JBoyer" wrote:

I want to sum the cells in D5:D64 where B5:B64="AA", and where E5:E64<"".
So again, I would like it to check for the cells in Column B that = "AA" and
of those check if Column E that < "" and add the cells in column D that meet
both conditions.

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 condition pdberger Excel Worksheet Functions 2 June 24th 08 08:06 PM
Sum If with two ranges and condition Nuno Jácome Excel Worksheet Functions 6 May 20th 08 08:30 PM
SumIF for more than one condition kippers Excel Worksheet Functions 3 October 26th 07 12:13 PM
Sumif, having two condition ViestaWu Excel Worksheet Functions 2 June 7th 07 10:23 AM
Counting Across Multiple Ranges, Based on Condition Stacy Excel Worksheet Functions 2 June 22nd 05 08:35 PM


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