Excel Help Forum
ExcelTip.com
Account Icon Account Icon Account Icon
ExcelTip.com

Go Back   Excel Help Forum > Microsoft Office Application Help - Excel Help forum > Excel General > Excel - New Users

Reply
 
Thread Tools Display Modes
  #1  
Old 01-09-2009, 05:06 PM
ronanalex ronanalex is offline
Registered User
 
Join Date: 09 Jan 2009
Location: dublin,ireland
MS Office Version:Excel 2003
Posts: 1
ronanalex is becoming part of the community
Calculating with some rules

Hi All. Perhaps someone might be able to assist.

I need to a formula which can calculate the cost of various types of glass subject to the following rules.
1. if area is below 0.4 m2 then the cost should not be less than 0.4m2 cost.
2. if area is above 3.2m2 cost should be plus 35%.
3. if area is above 4.2m2 cost should be plus 45%.


Best regards
Reply With Quote
  #2  
Old 01-09-2009, 05:51 PM
martindwilson's Avatar
martindwilson martindwilson is offline
Forum Guru
 
Join Date: 23 Jun 2007
Location: London,England
MS Office Version:office 97 ,2003 ( 2007 is now here. lol)
Posts: 3,688
martindwilson is attaining expert status martindwilson is attaining expert status
size in a1 cost per m2 in b1

Code:
=if(and(a1>0,a1<=0.42),0.42*b1,if(and(a1>0.42,a1<=3.2),a1*b1,if(and(a1<=4.2,a1>3.2),(a1*b1)+(a1*b1)*35%,if(a1>4.2,(a1*b1)+(a1*b1)*45%,""))))
Reply With Quote
  #3  
Old 01-09-2009, 06:34 PM
shg's Avatar
shg shg is offline
Forum Moderator
 
Join Date: 20 Jun 2007
Location: The Great State of Texas
MS Office Version:2003, 2007
Posts: 12,491
shg is very confident of their ability shg is very confident of their ability shg is very confident of their ability shg is very confident of their ability
Or =IF(A1 = 0, "", MAX(A1, 0.42) * B1 * (1 + 35% * (A1 > 3.2) + 10% * (A1 > 4.2) ) )
__________________
Entia non sunt multiplicanda sine necessitate.

Last edited by shg; 01-09-2009 at 06:37 PM.
Reply With Quote
Reply

Bookmarks

New topics in Excel - New Users


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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

Forum Jump


All times are GMT -4. The time now is 12:06 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0