• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Danilão asks something about Bank Statement

Danilão

New Member
Good morning, everyone
I need help to include in this calculation the value of the following word : "DEV TED*" which is in Column B

My excel version : 2013
 

Attachments

  • BANK STATEMENT.xlsx
    30.3 KB · Views: 12

Danilão

Please, modify Your thread's title as written in Forum Rules.
=FILTER(CHOOSE({1,2},A1:A52,D1:D52),LEFT(B1:B52,7) ="DEV TED")
 
The only reason that row 44 is not included in the calculation is because its value in column D is not <0.
1723203187300.png
If it were -94000 (less than 0) it would make the calculation go the wrong way (it would show -R$ 854,121.00)
In words, what is this formula trying to do?

ps. Note that the MMULT part of your formula EXCLUDES rows which contain any of "TAR","01-*","INT*"
 
Last edited:
The only reason that row 44 is not included in the calculation is because its value in column D is not <0.
View attachment 87828
If it were -94000 (less than 0) it would make the calculation go the wrong way (it would show -R$ 854,121.00)
In words, what is this formula trying to do?

ps. Note that the MMULT part of your formula EXCLUDES rows which contain any of "TAR","01-*","INT*"
In this case, if there is a DEV TED, it must add it up, giving the result $666,121.00.
As for MMult, it does not count the values for the 3 registered texts
 
try:
Code:
=SUMPRODUCT(($A$2:$A$1544=F6)*($D$2:$D$1544<0)*(1-(MMULT(--(ISNUMBER(SEARCH({"TAR","01-*","INT*"},$B$2:$B$1544))=TRUE),COLUMN($B$2:$B$1544)+{0;0;0})>0)),$D$2:$D$1544)+SUMPRODUCT($D$2:$D$1544,ISNUMBER(SEARCH("DEV TED",$B$2:$B$1544))*($A$2:$A$1544=F6))
 
try:
Code:
=SUMPRODUCT(($A$2:$A$1544=F6)*($D$2:$D$1544<0)*(1-(MMULT(--(ISNUMBER(SEARCH({"TAR","01-*","INT*"},$B$2:$B$1544))=TRUE),COLUMN($B$2:$B$1544)+{0;0;0})>0)),$D$2:$D$1544)+SUMPRODUCT($D$2:$D$1544,ISNUMBER(SEARCH("DEV TED",$B$2:$B$1544))*($A$2:$A$1544=F6))
p45cal...Shoooowwwww !!!!
Formula worked perfectly.
Thank you very much!!!
 
Back
Top