Forum Discussion

Kim-Kay's avatar
Kim-Kay
Brass Contributor
Oct 06, 2022
Solved

Limit Formula Results to Max of 100%

I need to set a limit of 100% on a field that contains the formula =(AK102/500)*100.  I have the format of the cell set as custom with the type as 0.00\%.  My data can cause the value to exceed 100% ...
  • JoeUser2004's avatar
    Oct 06, 2022

    Kim-Kay 

     

    I'm not sure I understand.  I suspect you want:

     

    =MIN(1, AK102/500)*100

     

    (Note the 1 is the same as 100%.  You could write 100% instead, if you wish.)

     

    But I suspect that should be formatted as Number, not Percentage.

     

    IOW, I suspect AK102/500 returns the percentage of AK102 out of 500.  I presume you multiply by 100 so that the percentage is displayed as a decimal number without "%".

     

Resources