Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
formulas and functions | Excel Discussion (Misc queries) | |||
Functions & Formulas | Excel Worksheet Functions | |||
functions/formulas | Excel Worksheet Functions | |||
Using formulas/functions | Excel Worksheet Functions | |||
functions/formulas | Excel Worksheet Functions |