Additions and subtractions in a specific order

g3org

Board Regular
Joined
Jul 25, 2021
Messages
69
Office Version
  1. 365
Platform
  1. Windows
Hello everyone,
I am struggling with this table to make it work as i want and i have no success until now, maybe you can give me a hint.
This should work like this:
In column G will me different values
In column I are the values that I have to retain
In Column H I should have what remain for each one.
The idea is that I want the sum of what i need to retain to be subtracted in the same order as appears in column G. First two subtractions are work, from the third one...can't figure it out.
Thank you all in advance!

Alesi A. - Ciltea S..xlsx
GHIJK
41Inainte de retinereDupa retinereRetineriTotal de retinutRest de retinut luna viitoare
42Bonus ReclamatiiBonus ReclamatiiEchipament150,0 €20,00
4350,0 €-100150,0 €
44Bonus VechimeBonus VechimeKm privati
45100,0 €0
46Bonus DiverseBonus DiverseNaveta
4720,0 €0
48DiurnaDiurnaAccident
49020,0 €
50
51La contabila:
52Bonus Reclamatii00
53Bonus Vechime 00
54Bonus Diverse00
55Diurna200
Alesi Angela
Cell Formulas
RangeFormula
J42J42=SUM(I43,I45,I47,I49)
K42K42=SUM(G43,G45,G47,G49)-J42
G43G43=E39
H43H43=G43-J42
G45G45=R4
H45H45=G45-(J42-G43)
G47G47=SUM(F39,H39,S4,T4)
H47H47=(G45+G43)-(J42-H45)
G49G49=SUM(L76:L102)
H49H49=G49+G47+G45+G43-J42-(H52+H53+H54)
H52H52=MAX(H43-I52,0)
H53H53=MAX(H45-I53,0)
H54H54=MAX(H47-I54,0)
H55H55=MAX(H49-I55,0)
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Forum statistics

Threads
1,215,375
Messages
6,124,578
Members
449,174
Latest member
chandan4057

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