ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Countif, Sumif (https://www.excelbanter.com/excel-discussion-misc-queries/18771-countif-sumif.html)

tamato43

Countif, Sumif
 
This should be easy enough but my brain is fried and I can use the help.

How can I formulate:

Sum everything in column B when "Yes" is shown, as long as column A has the
name "TONY" in it.

I hope this makes sense.


Duke Carey

check out the detailed discussion at

http://www.xldynamic.com/source/xld.SUMPRODUCT.html

"tamato43" wrote:

This should be easy enough but my brain is fried and I can use the help.

How can I formulate:

Sum everything in column B when "Yes" is shown, as long as column A has the
name "TONY" in it.

I hope this makes sense.


Jason Morin

=SUMPRODUCT(--(A1:A10="Tony"),--(B1:B10="Yes"))

HTH
Jason
Atlanta, GA


-----Original Message-----
This should be easy enough but my brain is fried and I

can use the help.

How can I formulate:

Sum everything in column B when "Yes" is shown, as long

as column A has the
name "TONY" in it.

I hope this makes sense.

.



All times are GMT +1. The time now is 12:53 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com