Jump to content

This topic is 8528 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.