ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   COUNTIF or SUMPRODUCT (https://www.excelbanter.com/excel-discussion-misc-queries/206514-countif-sumproduct.html)

Jimmy1982

COUNTIF or SUMPRODUCT
 
I have to count the number of approved loans, 1 column will have P/L or H/L,
and the next column will have the approved amount. But not all are approved.
A B
P/L 2000
P/L 0
H/L 158000
P/L 1000
H/L 0
I need a function that will count all the P/L that are greater than zero and
also the number of H/L that are greater than zero. Can anyone help??


Max

COUNTIF or SUMPRODUCT
 
An example for "P/L":
=SUMPRODUCT((A1:A5="P/L")*(B1:B50))
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:19,000 Files:362 Subscribers:62
xdemechanik
---
"Jimmy1982" wrote:
I have to count the number of approved loans, 1 column will have P/L or H/L,
and the next column will have the approved amount. But not all are approved.
A B
P/L 2000
P/L 0
H/L 158000
P/L 1000
H/L 0
I need a function that will count all the P/L that are greater than zero and
also the number of H/L that are greater than zero. Can anyone help??



All times are GMT +1. The time now is 07:50 AM.

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