ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   counif with two conditions (https://www.excelbanter.com/excel-programming/314229-counif-two-conditions.html)

rp[_2_]

counif with two conditions
 
range a1:a3 contains paid, paid, paid, outs, denied respectively
range b1:b3 contains 12, 15, 10, 3, 4

i want to count if it is paid and less than 14. so the result of my countif
should be 2. that is row 1 and 3. how will i do that?

--
rp



Bob Phillips[_6_]

counif with two conditions
 
=SUMPRODUCT(--(A1:A3="paid"),--(B1:B3<14))

--

HTH

RP

"rp" wrote in message
...
range a1:a3 contains paid, paid, paid, outs, denied respectively
range b1:b3 contains 12, 15, 10, 3, 4

i want to count if it is paid and less than 14. so the result of my

countif
should be 2. that is row 1 and 3. how will i do that?

--
rp





rp[_2_]

counif with two conditions
 
it works!! exactly what i want. thanks!




All times are GMT +1. The time now is 04:21 AM.

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