ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Formulas (https://www.excelbanter.com/excel-worksheet-functions/221982-formulas.html)

Dnoonan

Formulas
 
Hi,
I need help, I know what I want to do, I just don't know how to do it.

Add all the (Y)'s in column C, but column A has to say (Tyree).

Thanks
Diane

Pete_UK

Formulas
 
Try it this way:

=SUMPRODUCT((C1:C100="Y")*(A1:A100="Tyree"))

Adjust the ranges to suit your data.

Hope this helps.

Pete

On Feb 23, 5:21*pm, Dnoonan wrote:
Hi,
I need help, I know what I want to do, I just don't know how to do it.

Add all the (Y)'s in column C, but column A has to say (Tyree).

Thanks
Diane



Shane Devenshire[_2_]

Formulas
 
Hi,

what is Y+Y? Are you sure you really want to add the Y's?

Suppose you really want to count:

2007:

=COUNTIFS(C1:C10,"Y",A1:A10,"Tyree")

you already have a good suggestion for 2003 from Pete.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Dnoonan" wrote:

Hi,
I need help, I know what I want to do, I just don't know how to do it.

Add all the (Y)'s in column C, but column A has to say (Tyree).

Thanks
Diane



All times are GMT +1. The time now is 10:57 AM.

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