#1   Report Post  
CheriT63
 
Posts: n/a
Default Sumif

How do I add the numbers of cells in column B only if they meet the criteria
of "Monday" from column A and "Yes" from column B?

Thanks for any help!
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

How can you add numbers from B where B = Yes.

Assuming you meant C

=SUMPRODUCT(--(A1:A1000="Monday"),--(B1:B1000="Yes"),C1:C1000)

--

HTH

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


"CheriT63" wrote in message
...
How do I add the numbers of cells in column B only if they meet the

criteria
of "Monday" from column A and "Yes" from column B?

Thanks for any help!



  #3   Report Post  
CheriT63
 
Posts: n/a
Default

I apologize for being unclear.

If I have various days in column A and want to know how many "yes" responses
I have in column B to preset criteria, how would I do that. It has nothing
to do with column C.

Instead of adding numbers, I merely want to count how many cells contain the
Yes for the day. Say, how many Yes's were there for Monday? How many for
Tuesday? Etc.

Thanks again for your time.

"Bob Phillips" wrote:

How can you add numbers from B where B = Yes.

Assuming you meant C

=SUMPRODUCT(--(A1:A1000="Monday"),--(B1:B1000="Yes"),C1:C1000)

--

HTH

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


"CheriT63" wrote in message
...
How do I add the numbers of cells in column B only if they meet the

criteria
of "Monday" from column A and "Yes" from column B?

Thanks for any help!




  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

It was the add that threw me :-)

Just use
=SUMPRODUCT(--(A1:A1000="Monday"),--(B1:B1000="Yes"))
--

HTH

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


"CheriT63" wrote in message
...
I apologize for being unclear.

If I have various days in column A and want to know how many "yes"

responses
I have in column B to preset criteria, how would I do that. It has

nothing
to do with column C.

Instead of adding numbers, I merely want to count how many cells contain

the
Yes for the day. Say, how many Yes's were there for Monday? How many for
Tuesday? Etc.

Thanks again for your time.

"Bob Phillips" wrote:

How can you add numbers from B where B = Yes.

Assuming you meant C

=SUMPRODUCT(--(A1:A1000="Monday"),--(B1:B1000="Yes"),C1:C1000)

--

HTH

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


"CheriT63" wrote in message
...
How do I add the numbers of cells in column B only if they meet the

criteria
of "Monday" from column A and "Yes" from column B?

Thanks for any help!






  #5   Report Post  
RagDyer
 
Posts: n/a
Default

And since you're looking for a total for each day, how about entering
Monday thru Friday in Column C,
From C1 to C5,
And then enter Bob's formula in D1 with these revisions:

=SUMPRODUCT(--($A$1:$A$1000=C1),--($B$1:$B$1000="Yes"))

Then drag down to copy to D5, to get each individual day's total.
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================

"Bob Phillips" wrote in message
...
It was the add that threw me :-)

Just use
=SUMPRODUCT(--(A1:A1000="Monday"),--(B1:B1000="Yes"))
--

HTH

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


"CheriT63" wrote in message
...
I apologize for being unclear.

If I have various days in column A and want to know how many "yes"

responses
I have in column B to preset criteria, how would I do that. It has

nothing
to do with column C.

Instead of adding numbers, I merely want to count how many cells contain

the
Yes for the day. Say, how many Yes's were there for Monday? How many for
Tuesday? Etc.

Thanks again for your time.

"Bob Phillips" wrote:

How can you add numbers from B where B = Yes.

Assuming you meant C

=SUMPRODUCT(--(A1:A1000="Monday"),--(B1:B1000="Yes"),C1:C1000)

--

HTH

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


"CheriT63" wrote in message
...
How do I add the numbers of cells in column B only if they meet the

criteria
of "Monday" from column A and "Yes" from column B?

Thanks for any 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 Criteria Brent Martin Excel Discussion (Misc queries) 6 January 7th 05 05:17 AM
SumIF anuita Excel Discussion (Misc queries) 1 January 4th 05 06:06 PM
SUMIF with only one criteria cell within range Stan Excel Discussion (Misc queries) 5 December 16th 04 10:12 PM
Sum or Sumif Frank Kabel Excel Discussion (Misc queries) 1 December 15th 04 09:56 PM
Sumif or if statements-Help! ber_harris Excel Discussion (Misc queries) 5 December 1st 04 10:57 PM


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