ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Help with Functions & formulas (https://www.excelbanter.com/excel-worksheet-functions/193292-help-functions-formulas.html)

Pauline

Help with Functions & formulas
 
I am creating a form and the conditions are... a student is required to have
a minimum of 20 clinical hours. And for each additional 4 hours they receive
1 point up to 40 hours over the required minimum. For example for 24 hours
they would receive 1 point and 60 hours they would receive 10 points. How do
I write a formula to do this.

Thanks
R

Bob Phillips

Help with Functions & formulas
 
=MIN(INT(MAX(0,num_Clinical_hours-20)/4),10)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Pauline" wrote in message
...
I am creating a form and the conditions are... a student is required to
have
a minimum of 20 clinical hours. And for each additional 4 hours they
receive
1 point up to 40 hours over the required minimum. For example for 24 hours
they would receive 1 point and 60 hours they would receive 10 points. How
do
I write a formula to do this.

Thanks
R




Teethless mama

Help with Functions & formulas
 
=MIN(MAX(INT((A1-20)/4),0),10)


"Pauline" wrote:

I am creating a form and the conditions are... a student is required to have
a minimum of 20 clinical hours. And for each additional 4 hours they receive
1 point up to 40 hours over the required minimum. For example for 24 hours
they would receive 1 point and 60 hours they would receive 10 points. How do
I write a formula to do this.

Thanks
R


Sandy Mann

Help with Functions & formulas
 
=MEDIAN(0,INT((A1-20)/4),10)

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Pauline" wrote in message
...
I am creating a form and the conditions are... a student is required to
have
a minimum of 20 clinical hours. And for each additional 4 hours they
receive
1 point up to 40 hours over the required minimum. For example for 24 hours
they would receive 1 point and 60 hours they would receive 10 points. How
do
I write a formula to do this.

Thanks
R




Pauline

Help with Functions & formulas
 
Thank you ! I works perfectly.

"Bob Phillips" wrote:

=MIN(INT(MAX(0,num_Clinical_hours-20)/4),10)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Pauline" wrote in message
...
I am creating a form and the conditions are... a student is required to
have
a minimum of 20 clinical hours. And for each additional 4 hours they
receive
1 point up to 40 hours over the required minimum. For example for 24 hours
they would receive 1 point and 60 hours they would receive 10 points. How
do
I write a formula to do this.

Thanks
R





Pauline

Help with Functions & formulas
 
Thank you, I have tried your formula and Bob and both will do what I need.
Thanks again!

"Teethless mama" wrote:

=MIN(MAX(INT((A1-20)/4),0),10)


"Pauline" wrote:

I am creating a form and the conditions are... a student is required to have
a minimum of 20 clinical hours. And for each additional 4 hours they receive
1 point up to 40 hours over the required minimum. For example for 24 hours
they would receive 1 point and 60 hours they would receive 10 points. How do
I write a formula to do this.

Thanks
R



All times are GMT +1. The time now is 04:04 AM.

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