IF: Multiple Conditions with Formula Actions

thewolfdead

New Member
Joined
Sep 23, 2016
Messages
24
Dear All,

[TABLE="width: 500"]
<tbody>[TR]
[TD]Lot Price[/TD]
[TD]Individual Price[/TD]
[TD]Item[/TD]
[TD]Size[/TD]
[/TR]
[TR]
[TD]$50[/TD]
[TD]formula goes here<formula goes="" here=""><insert formula=""></insert></formula>[/TD]
[TD]Product A[/TD]
[TD]1kg[/TD]
[/TR]
[TR]
[TD]$75[/TD]
[TD]formula goes here<formula goes="" here=""><insert formula=""></insert></formula>[/TD]
[TD]Product B[/TD]
[TD]5kg[/TD]
[/TR]
[TR]
[TD]$100[/TD]
[TD]formula goes here<formula goes="" here=""><insert formula=""></insert></formula>[/TD]
[TD]Product C[/TD]
[TD]10kg[/TD]
[/TR]
</tbody>[/TABLE]

I believe that I have the write multiple IF formula but I keep getting a "#VALUE!" return on the cell. The goal is that depending on the line item @Size, a different calculation is made for its respective @Lot Price:

=IF([@Size]="10kg", ([@[Lot Price]]*(1.5))),IF([@Size]="5kg",([@[Lot Price]]*1.5/3)), IF([@Size]="1kg",([@[Lot Price]]*1.5/6))

I have reviewed it many times and referred to websites...I do not believe that the OR function will assist me.

Any advice would be greatly appreciated.

Regards,
D
 
Last edited:

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Hi,

Not Exactly sure what you're trying to accomplish, I'm just correcting your formula, you're Closed Off your First IF statement before it can go further, so set up your formula to something like this:


Book1
ABCD
1Lot PriceIndividual PriceItemSize
2$5012.5Product A1kg
3$7537.5Product B5kg
4$100150Product C10kg
Sheet122
Cell Formulas
RangeFormula
B2=IF(Size="10kg",Lot_Price*1.5,IF(Size="5kg",Lot_Price*1.5/3,IF(Size="1kg",Lot_Price*1.5/6,"")))
Named Ranges
NameRefers ToCells
Lot_Price=Sheet122!$A$2:$A$4
Size=Sheet122!$D$2:$D$4
 
Upvote 0
Hello jtakw,

That's worked wonderfully. You have correctly anticipated my objective which was to autofill @Individual_Price based on @Lot_Price and @Size.

Thank you very much.

Regards,
D
 
Upvote 0
You're welcome, glad you got it working.
 
Upvote 0

Forum statistics

Threads
1,223,910
Messages
6,175,318
Members
452,634
Latest member
cpostell

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