News0 min ago
Help With Exel Funtions
In a spread sheet, I need to establish how much a club member pays for for their membership. The fees are based on the age of a child. The age bands are:
1) From birth up to and including the age of 10. Fee £5-00
2) From 10 (11) up to 18 years. Fee £20-00.
3) From 18 (19) i.e adult years. Fee £40-00.
I have tried using the "IF" Function but get myself tied up as I need to follow this kind of logic:
If the child is 10 or less then the fee is £5-00. if the child is over 10 but less than 18 the fee is £20-00. If the age exceed 18 the fee is £40-00.
The age of each is entered in the appropriate cells in a column, the fee needs to appear in an adjacent cell.
Can anyone help?
Thank you
1) From birth up to and including the age of 10. Fee £5-00
2) From 10 (11) up to 18 years. Fee £20-00.
3) From 18 (19) i.e adult years. Fee £40-00.
I have tried using the "IF" Function but get myself tied up as I need to follow this kind of logic:
If the child is 10 or less then the fee is £5-00. if the child is over 10 but less than 18 the fee is £20-00. If the age exceed 18 the fee is £40-00.
The age of each is entered in the appropriate cells in a column, the fee needs to appear in an adjacent cell.
Can anyone help?
Thank you
Answers
Best Answer
No best answer has yet been selected by davidk65. Once a best answer has been selected, it will be shown here.
For more on marking an answer as the "Best Answer", please visit our FAQ.Reading the post again soap, does it need to be up to 11 for the first price rather than 10 and 19 for the second?
The only reason I was going to suggest using a cell instead of the process was to allow you to put them up in the future without changing to formula. But i lost the will when I couldn't get the answer to post.
The only reason I was going to suggest using a cell instead of the process was to allow you to put them up in the future without changing to formula. But i lost the will when I couldn't get the answer to post.
Two things to bear in mind with soapy’s formula:
1. Members over 99 years of age will be charged no fee (which may not be a problem!)
2. If you have a fee change you will have to change the values in the formulae. Not a big deal, perhaps, but I would use cell references instead of values. So I would put the fee values in (say) cells Z1, Z2 and Z3. The formula would then become:
=IF(A2
1. Members over 99 years of age will be charged no fee (which may not be a problem!)
2. If you have a fee change you will have to change the values in the formulae. Not a big deal, perhaps, but I would use cell references instead of values. So I would put the fee values in (say) cells Z1, Z2 and Z3. The formula would then become:
=IF(A2
Two things to bear in mind with soapy’s formula:
1. Members over 99 years of age will be charged no fee (which may not be a problem!)
2. If you have a fee change you will have to change the values in the formulae. Not a big deal, perhaps, but I would use cell references instead of values. So I would put the fee values in (say) cells Z1, Z2 and Z3. The formula would then become:
=IF(A21 < 10, $Z$1,IF(A21 < 18,$Z$2,IF(A21 < 100, $Z$3,0)))
Then, if your fees change, all you need to do is change the values in cells Z1, Z2 and Z3.
(I’ve had to put a few spaces in as did soapy - don’t forget to take them out.
1. Members over 99 years of age will be charged no fee (which may not be a problem!)
2. If you have a fee change you will have to change the values in the formulae. Not a big deal, perhaps, but I would use cell references instead of values. So I would put the fee values in (say) cells Z1, Z2 and Z3. The formula would then become:
=IF(A21 < 10, $Z$1,IF(A21 < 18,$Z$2,IF(A21 < 100, $Z$3,0)))
Then, if your fees change, all you need to do is change the values in cells Z1, Z2 and Z3.
(I’ve had to put a few spaces in as did soapy - don’t forget to take them out.
Related Questions
Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.