Excel formula - Pricing based on quantity

Need Formula Help

New Member
Joined
Sep 16, 2010
Messages
1
I am creating a purchasing form in Excel 2003, Windows XP. The items have a sliding scale for pricing (the more you buy, the cheaper they are). So the Quantity price (N10) in the formula effects the total price. I have three different pricing amounts and can only get two to work. How do I add in the third IF statement to make it work? See formula below:

=IF(ISBLANK(#REF!),IF(ISNUMBER(I10),IF(N10>=I10,N10*L10,N10*K10),N10*K10),IF(ISNUMBER(I10),IF(N10>=I10,N10*L10,N10*K10),N10*K10))

Thank you for your help and let me know if you need more info.
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
I only see 2 pricing options in your formula 1) N10*L10 or 2) N10*K10....what is the 3rd option? If it is N10*J10, you could do something like:

'=IF(N10<I10,N10*L10,IF(N10=I10,N10*K10,IF(N10>I10,N10*J10,"")))
 
Upvote 0
For some reason, last post wouldn't accept my whole formula. Here it is:

sorry, it's just not taking the whole formula for some reason....let me try it in pieces:


<I10,N10*L10, p bit<I10,N10*L10,< first the <---------that?s>IF(N10=I10,N10*K10, <---------that's the second bit
IF(N10>I10,N10*J10,""))) <-------that's the ending bit

...=IF(N10=I10,N10*L10 <-----------first bit



wow......that was weird<I10,N10*L10,< p>
 
Last edited:
Upvote 0
If you're trying to include something like a ">" in your formula, doofusby, pad it out with a space either side, otherwise the board software may not recognise it.

Matty
 
Upvote 0

Forum statistics

Threads
1,215,734
Messages
6,126,543
Members
449,316
Latest member
sravya

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