Formula Help Please

VbaHell

Well-known Member
Joined
Jan 30, 2011
Messages
1,220
Hello all, I am using Excel 2007 and require help please with a calcualtion formula

If the Selling price is <50% of the cost price and the value loss is => 50.00 then the answer is "No" otherwise "Yes"

Also not taking into account the above if there is a straight loss =>200.00 then "No" othwise "Yes"

B2 = Selling Price
C2 = Cost Price
D2 = Margin %
E2 = Value

I can change the cells or add more formula's if needed
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
CodeNinja

This seems not quite right, I have tried this but it is also not working

IF(OR(AND(D2<=-100,E2<=-200),AND(E2<=-50)),"NO","YES")



B2 = 410
C2 = 500
D2 = -21.95
E2 -= -90

ANSWER IS YES BECAUSE D2 IS GREATER THAN -100 AND E2 IS LESS THAN -200

B2 = 75
C2 = 160
D2 = -113.33
E2 -= -85

ANSWER IS NO BECAUSE D2 IS OVER -100

B2 = 290
C2 = 500
D2 = -72.41
E2 -= -210

ANSWER IS NO, D2 IS GREATER THAN -100 SO THAT WOULD MAKE THE ANSWER YES BUT E2 IS GREATER THAN -200
 
Upvote 0
Sorry, I misunderstood your scenarios....

=IF(E2<=-200,"No",IF(D2<-0.5,IF(E2<=-50,"No","Yes"),"Yes"))

or

=IF(E2<=-200,"No",IF(D2<-50,IF(E2<=-50,"No","Yes"),"Yes"))


Depending on whether you are marking the D2 as a percentage or actually putting in the number corresponding to the percentage
 
Upvote 0
=IF(E2>=-200,"No",IF(D2<-100,"No",IF(AND(B2<0.5*C2,E2>=50),"No","Yes")))
 
Upvote 0

Forum statistics

Threads
1,214,591
Messages
6,120,427
Members
448,961
Latest member
nzskater

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top