ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Count if 2 criteria are met (https://www.excelbanter.com/excel-worksheet-functions/255584-count-if-2-criteria-met.html)

clare_s

Count if 2 criteria are met
 
Hi- need to get a formula which will count the number of times 2 seperate
criteria are met- firstly that in column G the entry is Alicia, and secondly
that in column I there is an entry- have tried to piece this together myself
but as only an occassional user i'm struggling!! Thanks C

Don Guillett[_2_]

Count if 2 criteria are met
 
Also takes into account if someone touched the space bar in i2:i22

=SUMPRODUCT((G2:G22="alicia")*(LEN(TRIM(I2:I22))0 ))

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"clare_s" wrote in message
...
Hi- need to get a formula which will count the number of times 2 seperate
criteria are met- firstly that in column G the entry is Alicia, and
secondly
that in column I there is an entry- have tried to piece this together
myself
but as only an occassional user i'm struggling!! Thanks C




All times are GMT +1. The time now is 01:13 AM.

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