#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Create an equation;

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"))
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Create an equation;

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"))

  #3   Report Post  
Posted to microsoft.public.excel.misc
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"))

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 857
Default Create an equation;

Hi,

If you know they always enrole for 12 or more hours then

=A1*10

Stop and think about it you will see the logic.

If they could enrole for less than 12 hours but the base fee was still 120
then

=120+MAX(A1-12,0)*10
--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"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"))

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create a graph for a given regression equation? JJaya Charts and Charting in Excel 6 September 2nd 08 08:30 PM
How do I create a formula for this equation sc Excel Discussion (Misc queries) 2 July 10th 08 04:44 AM
How do I create a certain equation in Excel spreadsheet? tomscobie Excel Worksheet Functions 1 April 27th 06 10:36 PM
Equation Editor- problem when editing an equation Gaby L. Excel Discussion (Misc queries) 0 September 27th 05 09:24 PM
How do I create a graph from an equation and not a set of data? ashemorry Charts and Charting in Excel 1 January 20th 05 10:14 AM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"