ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Is there anonther way to write this? (https://www.excelbanter.com/excel-discussion-misc-queries/249019-there-anonther-way-write.html)

Ayo

Is there anonther way to write this?
 
Is there an easier, or simplier way to write this formular?

=SUMPRODUCT(--(Sheet1!$B$4:$B$28064=$C18),--(Sheet1!$F$4:$F$28064=$G18),--(Sheet1!$H$4:$H$28064="Selected"),--(Sheet1!$L$4:$L$28064<=TODAY()),--(Sheet1!$M$4:$M$28064="A"))+SUMPRODUCT(--(Sheet1!$B$4:$B$28064=$C18),--(Sheet1!$F$4:$F$28064=$G18),--(Sheet1!$H$4:$H$28064="Selected"),--(Sheet1!$L$4:$L$28064<=TODAY()),--(Sheet1!$M$4:$M$28064="N"))

Jacob Skaria

Is there anonther way to write this?
 
Try the below

=SUMPRODUCT((Sheet1!$B$4:$B$28064=$C18)*(Sheet1!$F $4:$F$28064=$G18)*
(Sheet1!$H$4:$H$28064="Selected")*(Sheet1!$L$4:$L$ 28064<=TODAY())*
(Sheet1!$M$4:$M$28064={"A","N"}))

If this post helps click Yes
---------------
Jacob Skaria


"Ayo" wrote:

Is there an easier, or simplier way to write this formular?

=SUMPRODUCT(--(Sheet1!$B$4:$B$28064=$C18),--(Sheet1!$F$4:$F$28064=$G18),--(Sheet1!$H$4:$H$28064="Selected"),--(Sheet1!$L$4:$L$28064<=TODAY()),--(Sheet1!$M$4:$M$28064="A"))+SUMPRODUCT(--(Sheet1!$B$4:$B$28064=$C18),--(Sheet1!$F$4:$F$28064=$G18),--(Sheet1!$H$4:$H$28064="Selected"),--(Sheet1!$L$4:$L$28064<=TODAY()),--(Sheet1!$M$4:$M$28064="N"))



All times are GMT +1. The time now is 08:46 AM.

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