I am creating a price list/order form and need some help with "If, Then" statements and how their result drives a price selection.
I have a product that is priced differently based on both how many is purchased and how many colors it has. My variables are (a) one, two, three or four colors, and (b) 10 to 500 pieces in six tiers (10-24, 25-49, 50-99, 100-249, 250-499, 500+).
I want to autopopulate a price field based on the color number and the quantity, making the pricing foolproof and the total order amount automatically calculated.
Here's my situation:
- Field A is Number of Colors (let's say 1-color)
- Field B is Quantity (let's say it's 23, putting us in the 10-24 tier pricing)
- Field C is Unit Price (1-color @ 23 qty would be $76.63 each)
- Field D is Total Price (23 x $76.63)
My statement would look like the following, but I don't know how to structure this in the form fields or where to put the quantity or pricing table for the software to calculate B or C:
If A is 1-color, and B is 23, then C is $76.63.
My Field D calculation is pretty straight-forward (Field C x Field D) if I can figure out a way to determine Field C's value.
Help!