ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   SUMPRODUCT using more than 2 criteria? (https://www.excelbanter.com/excel-worksheet-functions/154586-re-sumproduct-using-more-than-2-criteria.html)

Max

SUMPRODUCT using more than 2 criteria?
 
whoops, sorry, think I missed the "not" in your specs:
.. get it not to count patients that have SWG or NUR in the HOSP range name


It should be the other way round, viz:
=SUMPRODUCT(('MTD Stats.xls'!FIN=ADMITS!$A15)*('MTD
Stats.xls'!ADMDAY=ADMITS!$B$2)*(ISNA(MATCH('MTD
Stats.xls'!HOSP,{"SWG";"NUR"},0))))

Plug-in criteria: ..*(ISNA(MATCH('MTD Stats.xls'!HOSP,{"SWG";"NUR"},0)))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


All times are GMT +1. The time now is 03:44 AM.

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