LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Help in calculating tax % for Co2 emissions?

I'm trying to calculate degree of tax for car CO2 emissions. There are
several conditions I need to take into account.

1. Fuel type (D=diesel, G=gasoline) - column A
2. Actual Emissions - column B
3. Emission level: lower than 3, 3, 4 or higher than 4 - column C
4. Level of particles in disel engine, higher or lower than 0.005 g/km (Yes
or No)
5. Calculating degree of tax - column E

A B C D E

1 G 117 4 N %
2 D 193 3 Y ....
3 G 131 5 N

Degree of tax for Gasoline and Diesel engines is set as following:

Gasoline(% tax) Diesel (%tax)
CO2 emission(g/km)

0<=110 1 2

110<120 2 4

120<140 3 5
140<150 5 7
150<170 8 11
170<190 12 15
190<210 16 19
230 20 23


I got so far with the formula:
=(IF(A1="D";IF(B2<=110;2;IF(B2<=120;4;IF(B2<=140;5 ;IF(B2<=150;7;IF(B2<=170;11;IF(B2<=190;15;IF(B2<=2 10;19;23)))))));IF(B2<=110;1;IF(B2<=120;2;IF(B2<=1 40;3;IF(B2<=150;5;IF(B2<=170;8;IF(B2<=190;12;IF(B2 <=210;16;20))))))))

This actually works fine. Problem occurs when I have to use other 2
conditions (in column C and D). Namely if in column C value is less then 3,
3% tax is added to result in column E. If value is 3, 2% is added and if
value is 4, 1% is added, if value is 4 nothing is added. Condition in column
D applies only to diesel engines: if value is Y, additional 2% is added to
column E, in value is N nothing is added.

This is just to complicated for me therefore your help woul be highly
appriciated.
 
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
calculating row by row DARKMAN New Users to Excel 1 August 26th 08 03:31 AM
CALCULATING A VALUE Chris Excel Discussion (Misc queries) 2 July 4th 08 02:36 PM
calculating IRR naffyb Excel Worksheet Functions 2 February 14th 08 04:28 PM
Calculating Age Mert Excel Worksheet Functions 3 September 8th 06 06:38 PM
Calculating recurring date in following month, calculating # days in that period Walterius Excel Worksheet Functions 6 June 4th 05 11:21 PM


All times are GMT +1. The time now is 03:37 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"