Writing a macro on the VBA

Employer
[no-member:pro]Nurlan[/no-member:pro]Nurlan
Project parameters
Type of cooperationOne-time project
SectionSoftware development
Prepaymentwithout prepayment
Payment methodsElectronic money
Acceptance of requestsclosed
Project description
The services of a macros writing specialist are required. I need to write a macro on the VBA. Summarization by condition in the nested structure with 6 sublevels, the values that are included in the 6 sublevel, then 5 and so on to the final amount are summed. A formula is inserted into the cell, not a value. Details in the file