ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Meeting two conditions before summing (https://www.excelbanter.com/excel-worksheet-functions/32309-meeting-two-conditions-before-summing.html)

Andeb

Meeting two conditions before summing
 
Hi,

I'm a bit if a newbie....

How can I sum only those cells that match 2 criteria (the company name cell
on the left of the $ figure to be added must = a reference cell AND the date
cell on the right must be blank)

This is a simple(?) spreadsheet that allows me to select a specific customer
and shows me the outstanding debt (ie the date cell is empty because they
didnt pay on x date)

Bob Phillips

=SUMPRODUCT(--(A12:A100=M1),--(C2:C100=""), B2:B100)

--
HTH

Bob Phillips

"Andeb" wrote in message
...
Hi,

I'm a bit if a newbie....

How can I sum only those cells that match 2 criteria (the company name

cell
on the left of the $ figure to be added must = a reference cell AND the

date
cell on the right must be blank)

This is a simple(?) spreadsheet that allows me to select a specific

customer
and shows me the outstanding debt (ie the date cell is empty because they
didnt pay on x date)





All times are GMT +1. The time now is 06:45 AM.

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