Presumably you either have a formula for the cost, or you have a table like 0-12 -> 70, 13-24 ->105, or whatever. In the first case, you type in the formula; in the second, you can use if statements...