Maximum number query

  • Thread starter Thread starter charles.gallegos2
  • Start date Start date
C

charles.gallegos2

I have a list of values that I want to change to have a maximum of 100.
For example, if the value is 330, the result should be 100. If the
value is 50, the result should be 50. And so on. Any ideas? Thanks in
advance. I appreciate any help you can give me! Thanks.
 
Hi -

Try the Iif() function:
x = iif(y>100, 100, y)

HTH - Bob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top