• 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.

If Formula using <0,Calculate %

need If(B3:B7<0,D3:D7*10%) attached sample file for reference
A B C D
2 Add
3 10 100 100
4 0 100 100
5 5 100 100
6 0 100 100
7 0 100 100
8 500 500
9 Add 15 Result will be 20
 

Attachments

  • sample.xlsx
    24.3 KB · Views: 3
Hi Aditya,

You file on Sheet3 there you want formula?
You want the sum of 10% of Column D value only if corresponding Column B value is less than 0?

Regards,
 
Put in E3 and copy down:

=IF(B3>0,0.1*D3,0) and than use a SUM in E9

Or if you want a single formula than use below
=SUMPRODUCT(($B$3:$B$8>0)*(0.1*$D$3:$D$8))

Regards,
 
=SUMPRODUCT((G14:G18>0)*(0.1*M14:M18))
This work great but small issue if i delete one content from my actual file which is formula base
error occured as #VALUE, Hence may require Formula with IFERROR !
 
Sending you Sample file but i dont want to make any change in D3 to D8 Formula, (Which is Correct & Result Shows me Blank (Array Formula)
 

Attachments

  • sample.xlsx
    25.4 KB · Views: 3
I Had gone through your other thread, but a lil confused can you state all the conditions. OR is the table in the range N6:U12 are all the conditions?

Regards,
 
I3 Tab = "Fresh" C5=Self F5 greater than 55,Cost <5000,0,20% & If "Quote"10%
I3 Tab = "Fresh" C7:C9=Self G5:G6<5000,child<3000,0,10%
I3 Tab = "Quote" C7:C9=Self G5:G6<5000,child<3000,0,10%

If you change I3 Tab & Few changes in Cost G5:G9 Such as 2000,3000,5000 result will be right in J5:j9
which i want to make in single formula H13
 
Tried this & Worked for this file But or actual file required IFERROR fomula

IF(AND($I$2="Source",G5<5000),IF(AND($I$3="Fresh",F5<55),H5*20%,H5*10%)*IF($G$11="Y",0.9,1),0)+IF(AND($I$2="Source",G6<5000),IF(AND($I$3="Fresh",F6<55),H6*20%,H6*10%)*IF($G$11="Y",0.9,1),0)+IF(AND(OR($G$5>=5000,$G$6>=5000),G7>=3000),0,H7*10%)*IF($G$11="Y",0.9,1)+IF(AND(OR($G$5>=5000,$G$6>=5000),G8>=3000),0,H8*10%)*IF($G$11="Y",0.9,1)+IF(AND(OR($G$5>=5000,$G$6>=5000),G9>=3000),0,H9*10%)*IF($G$11="Y",0.9,1)
 

Attachments

  • sample (2).xlsx
    19.8 KB · Views: 1
Hi again Stuck in if, Result require in J5
If I3="Fresh",If F5 is greater than 55, 10% to loaded rest formula is ok
 

Attachments

  • sample.xlsx
    24.2 KB · Views: 2
Sorry was confused
IF(AND($I$2="Source",G5<5000),IF(AND($I$3="Fresh",F5<55),H5*10%)*IF($G$11="Y",0.9,1),0)

result require 0 in case of "Fresh",<55 & cost greater than 1000
 
Back
Top