Allegheny Posted September 28, 2001 Posted September 28, 2001 My goal with this calculation is simple: shipping charges are accrued based upon the subtotal of the purchase. Unfortunately I've spent too much time working on this one to be able to see my mistake. Here are two ways I tried: If(One Subtotal <= 40, "6", If(One Subtotal > 40 and One Subtotal <= 75, "8.50", If(One Subtotal > 75 and One Subtotal <= 100, "10.50", If(One Subtotal > 100 and One Subtotal <= 150, "13",If(One Subtotal > 150 and One Subtotal <= 200, "15",If(One Subtotal > 200 and One Subtotal <= 10000, "17", "200")))))) Case(One Subtotal >= 40, "6", One Subtotal >= 41 >= 75, "8.5", One Subtotal >= 76 >= 100, "10.5", One Subtotal >= 101 >= 150, "13", One Subtotal >= 151 >= 200, "15", One Subtotal >= 200, "17","") Anyone out there able to see my errors? What am I overlooking? Allegheny
Gerd Muller Posted September 28, 2001 Posted September 28, 2001 Try this: code: Case(One Subtotal <= 40, 6, One Subtotal >= 41 AND One Subtotal <= 75, 8.5, One Subtotal >= 46 AND One Subtotal <= 100, 10.5, One Subtotal >= 101 AND One Subtotal <= 150, 13, One Subtotal >= 151 AND One Subtotal <= 200, 15, One Subtotal >200, 17, "") Result should be set to value. Have fun Gerd
Allegheny Posted September 28, 2001 Author Posted September 28, 2001 Thanks! I didn't realize it doesn't matter if there's a carriage return in the middle of the calculation. Allegheny
LiveOak Posted September 28, 2001 Posted September 28, 2001 I only leave them out when I want the customer to be in total awe of the complexity of the calculation . -bd
Recommended Posts
This topic is 8528 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now