Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Steve
 
Posts: n/a
Default Sumif, 2 criteria

I have seen about a dozen entries with that subject. I can't get a single
of oneof them to work. Am I missing something? In the range n12:n1000 I am
looking for cells with "yes" and in the range o12:o1000 i am looking for
cells with "L". If they match up in the same row, i want to sum m12:m1000.
Can anyone help?

Thanks,
Steve
  #2   Report Post  
cmart02
 
Posts: n/a
Default

Steve,

If you are looking at an "array formula" you'll need to press (all together)
the keys CTRL+SHIFT+ENTER; otherwise, it won't work.

Regards,
Robert
  #3   Report Post  
N Harkawat
 
Posts: n/a
Default

=sumproduct(--(n12:n1000 ="yes"),--(o12:o1000="L"),(m12:m1000))

"Steve" wrote in message
...
I have seen about a dozen entries with that subject. I can't get a
single
of oneof them to work. Am I missing something? In the range n12:n1000 I am
looking for cells with "yes" and in the range o12:o1000 i am looking for
cells with "L". If they match up in the same row, i want to sum m12:m1000.
Can anyone help?

Thanks,
Steve



  #4   Report Post  
JulieD
 
Posts: n/a
Default

Hi Steve

try
=SUMPRODUCT(--(N12:N1000="yes"),--(o12:o1000="L"),M12:M1000)

Cheers
JulieD

"Steve" wrote in message
...
I have seen about a dozen entries with that subject. I can't get a
single
of oneof them to work. Am I missing something? In the range n12:n1000 I am
looking for cells with "yes" and in the range o12:o1000 i am looking for
cells with "L". If they match up in the same row, i want to sum m12:m1000.
Can anyone help?

Thanks,
Steve



  #5   Report Post  
Steve
 
Posts: n/a
Default

Now that worked out perfectly. I don't know what I was doing differently. But
I greatly appreciate the help. Saved me a ton of time.

"N Harkawat" wrote:

=sumproduct(--(n12:n1000 ="yes"),--(o12:o1000="L"),(m12:m1000))

"Steve" wrote in message
...
I have seen about a dozen entries with that subject. I can't get a
single
of oneof them to work. Am I missing something? In the range n12:n1000 I am
looking for cells with "yes" and in the range o12:o1000 i am looking for
cells with "L". If they match up in the same row, i want to sum m12:m1000.
Can anyone help?

Thanks,
Steve






  #6   Report Post  
Sir Paul
 
Posts: n/a
Default

Hi Harkawat, help me out here please, what do the double "--" mean in a
formula? Much appreciated.

"N Harkawat" wrote:

=sumproduct(--(n12:n1000 ="yes"),--(o12:o1000="L"),(m12:m1000))

"Steve" wrote in message
...
I have seen about a dozen entries with that subject. I can't get a
single
of oneof them to work. Am I missing something? In the range n12:n1000 I am
looking for cells with "yes" and in the range o12:o1000 i am looking for
cells with "L". If they match up in the same row, i want to sum m12:m1000.
Can anyone help?

Thanks,
Steve




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 Criteria Brent Martin Excel Discussion (Misc queries) 6 January 7th 05 05:17 AM
SUMIF with only one criteria cell within range Stan Excel Discussion (Misc queries) 5 December 16th 04 10:12 PM
How do I ask for multiple criteria when creating a "sumif" formul. Rachelle Excel Worksheet Functions 3 December 1st 04 11:49 PM
SUMIF with more than 1 criteria Mike@Q Excel Worksheet Functions 4 November 26th 04 12:17 AM
Can I use a cell reference in the criteria for the sumif function. Number Cruncher Excel Worksheet Functions 2 November 4th 04 07:52 PM


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