IF: Multiple Conditions with Formula Actions

thewolfdead

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

Lot PriceIndividual PriceItemSize
$50formula goes here<formula goes="" here=""><insert formula=""></insert></formula>Product A1kg
$75formula goes here<formula goes="" here=""><insert formula=""></insert></formula>Product B5kg
$100formula goes here<formula goes="" here=""><insert formula=""></insert></formula>Product C10kg

<tbody>
</tbody>

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

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
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,214,516
Messages
6,119,981
Members
448,934
Latest member
audette89

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