I have the following problem...
I have a system of pipework, made from individual pipes. Each pipe have 2 flanges, 8 bolts, and 8 nuts. I have the prices for these, and a very very simple forum whereby if I type in an amount for 'Number of meter's, I can get a price (cost of pipe x amount of meters + flanges + bolts + nuts).
Now the maximum length I am allowed for a single pipe is 5m's. Therefore I actually need a formula that if I type in more than 5 meters then it will multiply my flanges, bolts and nuts, by two and add to my pipe price. If its more than 10 meters, it muliplies them by 3 and add to my pipe price. If its more than 15 mters its mulitples them by 4 and add to my pipe price, etc, etc, etc.
So I think it need some that says 'if A is greater than B, then do C. If X is greater than B, then do C'....
Any help appreciated,
John C
Bookmarks