Please help me get rid of the negative percentages.

Tythesly

New Member
Joined
Sep 2, 2021
Messages
3
Office Version
  1. 2013
Platform
  1. Windows
I am trying to make a excel chart for Car Mechanic 2018 that gives random info that can help people with achievements. However I am having some... very annoying issues with this one table. Basically there is an achievement for spending cash in the store. But there are skills that give you a discount. Detailed Car Information.xlsx

If you could go to the DC Typhoon sheet and look to the right you will see a table that shows progression towards these achievements based on what level of discount they have.... The bronze side works perfectly... The silver and gold.... gives negative percentages and I don't know why.

Detailed Car Information.xlsx
ABCDEFGHI
1Part NamePriceNumber of BoltsExaminable?AchievementBronzeSilverGold
2Alternator$3002Wrench master0.20%0.00%0.00%
3BatteryExplorer0.00%0.00%0.00%
4Bottom Suspension ArmOld Car?
5Bottom Suspension Arm
6Brake CaliperI can afford that Progression Totals
7Brake CaliperLevel of DiscountBronzeSilverGold
8Brake Caliper CylinderNo Discount88.90%8.89%0.89%
9Brake Caliper Cylinder5% Discount83.90%3.89%-4.11%
10Brake Disc Ventilated10% Discount78.90%-1.11%-9.11%
11Brake Disc Ventilated15% Discount73.90%-6.11%-14.11%
12Brake Drum
13Brake Drum
14Brake Pads
15Brake Pads
16Brake Servo
17Brake Shoe
18Brake Shoe
19Cam Gear (V8 OHV)
20Camshaft (V8 OHV)$550
21Carburetor (4-barrel)$375
22Carburetor (4-barrel)$375
23Clip B
24Clip B
25Clutch Plate$350
26Clutch Pressure Plate$180
27Clutch Release Bearing
28Crankshaft (V8 OHV)
29Crankshaft Bearing Cap
30Crankshaft Bearing Cap
31Crankshaft Bearing Cap
32Crankshaft Pulley (V8 OHV)
33DC Typhoon Front Bumper B$7000No
34DC Typhoon Front Left Door0No
35DC Typhoon Front Left Door Window0No
36DC Typhoon Front Right Door0No
37DC Typhoon Front Right Door Window0No
38DC Typhoon Front Window0No
39DC Typhoon Hood B$7000No
40DC Typhoon Left Headlight B$5000No
41DC Typhoon Left Side Mirror0No
42DC Typhoon Left Taillight B$3500No
43DC Typhoon Rear Bumper B$7000No
44DC Typhoon Right Headlight B$5000No
45DC Typhoon Right Side Mirror0No
46DC Typhoon Right Taillight B$3500No
47DC Typhoon Trunk0No
48Double Wishbone Shock Absorber
49Double Wishbone Shock Absorber
50Drive Shaft
51Drum Wheel Cylinder
52Drum Wheel Cylinder
53Engine Block (V8 OHV)
54Engine Head (V8 OHV)$800
55Engine Head (V8 OHV)$800
56Engine Head Cover A (V8 OHV)
57Engine Head Cover B (V8 OHV)
58Exhaust Manifold (V8 OHV)$160
59Exhaust Manifold (V8 OHV)$160
60Flywheel$650
61Front Axle Knuckle Cover
62Front Axle Knuckle Cover
63Front license Plate0No
64Front Shock Absorber Cap
65Front Shock Absorber Cap
66Front Spring
67Front Spring
68Front Steering Knuckle C
69Front Steering Knuckle C
70Front Suspension Crossmember D
71Front Sway Bar B
72Front Wheel Hub
73Front Wheel Hub
74Fuel Filter$90
75Fuel Pump$300
76Fuel Tank
77Gearbox (V8 OHV)
78Ignition Coil B
79Ignition Distributor
80Ignition Distributor Cap
81Ignition Distributor Rotor
82Ignition Wires (V8)
83Inner Tie Rod
84Inner Tie Rod
85Intake Manifold (2 carb)
86Leaf Spring
87Leaf Spring
88Leaf Spring Plate
89Leaf Spring Plate
90Leaf Spring U-Bolt
91Leaf Spring U-Bolt
92Leaf Spring U-Bolt
93Leaf Spring U-Bolt
94Leaf-Spring Rear Drive Axle
95Oil Filter (V8 OHV)
96Oil Pan (V8 OHV)
97Outer Tie Rod
98Outer Tie Rod
99Piston Rings
100Piston Rings
101Piston Rings
102Piston Rings
103Piston Rings
104Piston Rings
105Piston Rings
106Piston Rings
107Piston with Conrod
108Piston with Conrod
109Piston with Conrod
110Piston with Conrod
111Piston with Conrod
112Piston with Conrod
113Piston with Conrod
114Piston with Conrod
115Power Steering Pump (V8)
116Race Tire B
117Race Tire B
118Race Tire B
119Race Tire B
120Radiator C
121Radiator Fan (V8 OHV)
122Rear Axle Knuckle Housing B
123Rear Axle Knuckle Housing B
124Rear License Plate0No
125Rear Muffler D
126Rear Muffler D
127Rear Shock Absorber B
128Rear Shock Absorber B
129Rim Typhoon
130Rim Typhoon
131Rim Typhoon
132Rim Typhoon
133Rocker Arm
134Rocker Arm
135Rocker Arm
136Rocker Arm
137Rocker Arm
138Rocker Arm
139Rocker Arm
140Rocker Arm
141Rocker Arm
142Rocker Arm
143Rocker Arm
144Rocker Arm
145Rocker Arm
146Rocker Arm
147Rocker Arm
148Rocker Arm
149Rod Cap
150Rod Cap
151Rod Cap
152Rod Cap
153Rod Cap
154Rod Cap
155Rod Cap
156Round Air Filter (2 carb)
157Round Air Filter Base (2 carb)
158Round Air Filter Cover (2 carb)
159Rubber Bushing
160Rubber Bushing
161Rubber Bushing
162Rubber Bushing
163Rubber Bushing
164Rubber Bushing
165Rubber Bushing
166Rubber Bushing
167Rubber Bushing
168Rubber Bushing
169Rubber Bushing
170Rubber Bushing
171Seat Typhoon
172Seat Typhoon
173Serpentine Belt A (V8 OHV)
174Serpentine Belt B (V8 OHV)
175Small Rubber Bushing
176Small Rubber Bushing
177Small Rubber Bushing
178Small Rubber Bushing
179Solid Rear Drive Axle
180Solid Rear Drive Axle
181Spark Plug
182Spark Plug
183Spark Plug
184Spark Plug
185Spark Plug
186Spark Plug
187Spark Plug
188Spark Plug
189Starter (V8)
190Steering Rack
191Steering Wheel Typhoon
192Sway Bar Front End Link B
193Sway Bar Front End Link B
194Timing Chain (V8 OHV)
195Timing Cover (V8 OHV)
196Upper Suspension Arm
197Upper Suspension Arm
198Valve Push Rod
199Valve Push Rod
200Valve Push Rod
201Valve Push Rod
202Valve Push Rod
203Valve Push Rod
204Valve Push Rod
205Valve Push Rod
206Valve Push Rod
207Valve Push Rod
208Valve Push Rod
209Valve Push Rod
210Valve Push Rod
211Valve Push Rod
212Valve Push Rod
213Valve Push Rod
214Water Pump (V8 OHV)
215Water Pump Pulley
216Wheel Hub 4
217Wheel Hub 4
218Wheel Hub Bearing
219Wheel Hub Bearing
220Wheel Hub Cap
221Wheel Hub Cap
222$8,890.0020
DC Typhoon
Cell Formulas
RangeFormula
G2G2=Table14[[#Totals],[Number of Bolts]]/1000
H2H2=Table14[[#Totals],[Number of Bolts]]/100000
I2I2=Table14[[#Totals],[Number of Bolts]]/500000
G3G3=Table14[[#Totals],[Examinable?]]/250
H3H3=Table14[[#Totals],[Examinable?]]/1000
I3I3=Table14[[#Totals],[Examinable?]]/10000
G8G8=Table14[[#Totals],[Price]]/10000
H8H8=Table14[[#Totals],[Price]]/100000
I8I8=Table14[[#Totals],[Price]]/1000000
G9G9=(Table14[[#Totals],[Price]]/10000)-5%
H9H9=(Table14[[#Totals],[Price]]/100000)-5%
I9I9=(Table14[[#Totals],[Price]]/1000000)-5%
G10G10=(Table14[[#Totals],[Price]]/10000)-10%
H10H10=(Table14[[#Totals],[Price]]/100000)-10%
I10I10=(Table14[[#Totals],[Price]]/1000000)-10%
G11G11=(Table14[[#Totals],[Price]]/10000)-15%
H11H11=(Table14[[#Totals],[Price]]/100000)-15%
I11I11=(Table14[[#Totals],[Price]]/1000000)-15%
B222B222=SUBTOTAL(109,[Price])
C222C222=SUBTOTAL(109,[Number of Bolts])
D222D222=COUNTIF([Examinable?],"yes")
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Its supposed to show the percentage gained from spending the cash however the higher the discount rate skill you have the less it would progress. Bronze is $10,000, Silver is $100,000, and Gold is $1.000,000. I tried adding more decimal spaces but it just added zeros. IF I am doing my math right (my math skills are not the best) it should be something like .0076 % for gold but it shows -14.11%.
 
Upvote 0
Welcome to the Forum!

It's not totally clear what you're trying to do, but I think the problem distils down to:

$X less a y% discount is not $X - y, but rather (1-y) x $X.

ABCD
1Amount$8,890
2
3You have ...
4Level of DiscountBronzeSilverGold
5No Discount88.90%8.89%0.89%
65% Discount83.90%3.89%-4.11%
710% Discount78.90%-1.11%-9.11%
815% Discount73.90%-6.11%-14.11%
9
10Perhaps you want ...
1110,000100,0001,000,000
12Level of DiscountBronzeSilverGold
130%88.90%8.89%0.89%
145%84.46%8.45%0.84%
1510%80.01%8.00%0.80%
1620%71.12%7.11%0.71%
Sheet1
Cell Formulas
RangeFormula
B5B5=Amount/10000
C5C5=Amount/100000
D5D5=Amount/1000000
B6B6=Amount/10000-5%
C6C6=Amount/100000-5%
D6D6=Amount/1000000-5%
B7B7=Amount/10000-10%
C7C7=Amount/100000-10%
D7D7=Amount/1000000-10%
B8B8=Amount/10000-15%
C8C8=Amount/100000-15%
D8D8=Amount/1000000-15%
B13:D16B13=Amount/B$11*(1-$A13)
Named Ranges
NameRefers ToCells
Amount=Sheet1!$B$1B5:D8, B13:D16
 
Upvote 0
Solution
Welcome to the Forum!

It's not totally clear what you're trying to do, but I think the problem distils down to:

$X less a y% discount is not $X - y, but rather (1-y) x $X.

ABCD
1Amount$8,890
2
3You have ...
4Level of DiscountBronzeSilverGold
5No Discount88.90%8.89%0.89%
65% Discount83.90%3.89%-4.11%
710% Discount78.90%-1.11%-9.11%
815% Discount73.90%-6.11%-14.11%
9
10Perhaps you want ...
1110,000100,0001,000,000
12Level of DiscountBronzeSilverGold
130%88.90%8.89%0.89%
145%84.46%8.45%0.84%
1510%80.01%8.00%0.80%
1620%71.12%7.11%0.71%
Sheet1
Cell Formulas
RangeFormula
B5B5=Amount/10000
C5C5=Amount/100000
D5D5=Amount/1000000
B6B6=Amount/10000-5%
C6C6=Amount/100000-5%
D6D6=Amount/1000000-5%
B7B7=Amount/10000-10%
C7C7=Amount/100000-10%
D7D7=Amount/1000000-10%
B8B8=Amount/10000-15%
C8C8=Amount/100000-15%
D8D8=Amount/1000000-15%
B13:D16B13=Amount/B$11*(1-$A13)
Named Ranges
NameRefers ToCells
Amount=Sheet1!$B$1B5:D8, B13:D16
THANK YOU!!!! I was so confused and now I learned something new haha. I never tried to make a sheet like this before so I appreciate the help. This is exactly what i was looking for :D
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top