ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Do not let a percentage be greater than 100 (https://www.excelbanter.com/excel-worksheet-functions/199210-do-not-let-percentage-greater-than-100-a.html)

triplejay23

Do not let a percentage be greater than 100
 
I am calculating percentages, to come up with the percentage, in some cells I
am taking a larger number and dividing by a smaller number, therefore ending
up with a percentage greater than 100.

E.g. 150/148 = 101.35%

How can I format my percentage cells so any percentage that is GREATER than
100 ONLY DISPLAYS as 100?

Is there a way to do that???

Thanks!
John


Glenn

Do not let a percentage be greater than 100
 
triplejay23 wrote:
I am calculating percentages, to come up with the percentage, in some cells I
am taking a larger number and dividing by a smaller number, therefore ending
up with a percentage greater than 100.

E.g. 150/148 = 101.35%

How can I format my percentage cells so any percentage that is GREATER than
100 ONLY DISPLAYS as 100?

Is there a way to do that???

Thanks!
John



=MIN(1,150/148)

triplejay23

Do not let a percentage be greater than 100
 
GOT IT! THANKS!!!!!!!!!!!!!!!!!

JJ


Glenn wrote:
I am calculating percentages, to come up with the percentage, in some cells I
am taking a larger number and dividing by a smaller number, therefore ending

[quoted text clipped - 9 lines]
Thanks!
John


=MIN(1,150/148)




All times are GMT +1. The time now is 03:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com