View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
GSnyder GSnyder is offline
external usenet poster
 
Posts: 33
Default Create an equation;

I think this formula is a good solution but has one comma out of place. Try
= if(a11<=12,120,(a11*10))

Alternatively, if you're just trying to establish a minimum cost of $120 or
$10 per hour, you could also use:

=MAX(120,D11*10)


"djungst" wrote:

Based on the problem, the if statement should be =if(a11,<=12,120,(a11*10))
format the cell that contains the statement to currency or accounting to get
the $ sign to print.

"daynek" wrote:

A student is a resident and they enroll for more than 12 hours, then their
tuition will equal $120 plus $10 per hour for every hour greater than 12.

The formula below calculates 12 hours @ $120 and 13 hours @ $130, I am not
sure how to automatically calculate additional hours.
=IF(A11<=12,"$120",IF(A1112,"$120"+"10"))