Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
calculating row by row | New Users to Excel | |||
CALCULATING A VALUE | Excel Discussion (Misc queries) | |||
calculating IRR | Excel Worksheet Functions | |||
Calculating Age | Excel Worksheet Functions | |||
Calculating recurring date in following month, calculating # days in that period | Excel Worksheet Functions |