Forum Discussion
deldridgdeldrid
5 years agoQrew Trainee
This can be done in a Case statement. The formula stops when the first match is found. Try something like this:
Case(True,
[Miles]<=0, 0,
[Miles]<=150, 450,
[Miles]<=200, 600,
0
)
The last zero is what's returned if nothing else matches. (You didn't specify what should happen if miles > 200.)
Case(True,
[Miles]<=0, 0,
[Miles]<=150, 450,
[Miles]<=200, 600,
0
)
The last zero is what's returned if nothing else matches. (You didn't specify what should happen if miles > 200.)