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

Hello,

I am trying to write a formula to do the following:

Sum the contents of a row for a specific "week" and a specific Category
"Machine 1"

So, if I enter a "5" for production week 5 in cell B8 and a "Mach 1"
for the machine I am looking at in cell H6, what formula in F8 will go
though the data sheet and return a sum of a specific column when it
meets those conditions?

I have tried nesting SUMIF's with no luck and I have tried leveraging
my VERY limited knowledge of arrays to no avail

Any suggestions would be greatly appreciated!!!!

-Bryan

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Roger Govier
 
Posts: n/a
Default SUMIF 2 conditions are met???

Hi Granger

One way
=SUMPRODUCT(--(range1=$B$8),--(range2=$H$6))

Substitute your cell range where the data is held for range1 and range2
Regards

Roger Govier


Granger wrote:
Hello,

I am trying to write a formula to do the following:

Sum the contents of a row for a specific "week" and a specific Category
"Machine 1"

So, if I enter a "5" for production week 5 in cell B8 and a "Mach 1"
for the machine I am looking at in cell H6, what formula in F8 will go
though the data sheet and return a sum of a specific column when it
meets those conditions?

I have tried nesting SUMIF's with no luck and I have tried leveraging
my VERY limited knowledge of arrays to no avail

Any suggestions would be greatly appreciated!!!!

-Bryan

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default SUMIF 2 conditions are met???

=SUMPRODUCT(--(M2:M200=B8),--(N2:N200=H6),O2:O200)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Granger" wrote in message
oups.com...
Hello,

I am trying to write a formula to do the following:

Sum the contents of a row for a specific "week" and a specific Category
"Machine 1"

So, if I enter a "5" for production week 5 in cell B8 and a "Mach 1"
for the machine I am looking at in cell H6, what formula in F8 will go
though the data sheet and return a sum of a specific column when it
meets those conditions?

I have tried nesting SUMIF's with no luck and I have tried leveraging
my VERY limited knowledge of arrays to no avail

Any suggestions would be greatly appreciated!!!!

-Bryan



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Granger
 
Posts: n/a
Default SUMIF 2 conditions are met???

Excellent!!! Thanks Roger and Bob!!!!

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 with 2 conditions ?? can this be done?? WTG Excel Worksheet Functions 2 July 4th 05 10:08 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 05:58 PM.

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"