make formula max at 100%

nparsons75

Well-known Member
Joined
Sep 23, 2013
Messages
1,256
Office Version
  1. 2016
Hi,

I am using the following formula, would it be possible to ensure the result never exceeds 100%?

=INT(R15-R13)/(R14-R13)

Thanks
 
Last edited:

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
@Aladin Akyurek you guessed corrected, thank you for spotting! I was thinking floors and ceilings and mixed myself up!

Corrected:
Code:
=MIN(1,INT(R15-R13)/(R14-R13))
 
Upvote 0
Hi,

No MAX. The formula is currently returning 120%, I need it to show 100% at maximum. The value relates to the progress of a project, its not possible to complete it 120% so once the value reached 100%, I want the value to max at that.

Hope that makes sense, difficult to explain clearly.

Thanks,
 
Upvote 0
Having said all that....the one that worked is MIN....

My misunderstanding how this works, thank you very much.
 
Upvote 0

Forum statistics

Threads
1,223,162
Messages
6,170,432
Members
452,326
Latest member
johnshaji

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top