Spreadsheet: 819134d1677235606-formula-to-grouping-data-subtotal-each-depart-and-grand-total_3
Sheet: D

 |  |  |  |  |  |  |  |  |  |  |  |  |  | With Colum G / Conditional Formatted
 | COMPANY |  | DEPT |  | NAME | Code | Qty |  | Name | DEPT |  | COMPANY
 | XYZ. Inc |  | EXTERNAL RELATION |  | MARIYONO | EXR | 1
 | ABC. Inc |  | FINANCE & ACCOUNTING |  | NAWIL | GAC | 2 |  |  |  |  |  |  | ABC. Inc
 | XYZ. Inc |  | GENERAL SERVICES |  | WAHYUDIANTO | GA | 3 |  | EXTERNAL RELATION | MARIYONO | EXR | XYZ. Inc | 1 | EXTERNAL RELATION | AHMAD | EXR | ABC. Inc | 19
 | XYZ. Inc |  | HUMAN RESOURCES |  | MUTTAQIN | HRD | 4 |  | EXTERNAL RELATION | NUR QAYIN | EXR | XYZ. Inc | 10 | Sub Total |  |  |  | 19
 | XYZ. Inc |  | MAINTENANCE & CONSTRUCTION |  | WILSON | MEM | 5 |  | Sub Total |  |  |  | 11 | FINANCE & ACCOUNTING | NAWIL | GAC | ABC. Inc | 2
 | XYZ. Inc |  | MINE GEOLOGY & PLANNING |  | FAHRIAL | MPL | 6 |  | FINANCE & ACCOUNTING | [NAME] | GAC | XYZ. Inc | 11 | FINANCE & ACCOUNTING | ADI PUTRANTO | GAC | ABC. Inc | 20
 | XYZ. Inc |  | MINE GEOLOGY & PLANNING |  | MOECHAMMAD | MPL | 7 |  | Sub Total |  |  |  | 11 | Sub Total |  |  |  | 22
 | XYZ. Inc |  | OPERATION |  | SELAMAT | ODS | 8 |  | GENERAL SERVICES | WAHYUDIANTO | GA | XYZ. Inc | 3 | GENERAL SERVICES | ALFIAN | GA | ABC. Inc | 21
 | XYZ. Inc |  | QSE |  | ARAFIK | ENV | 9 |  | GENERAL SERVICES | WAHYUDI | GA | XYZ. Inc | 12 | Sub Total |  |  |  | 21
 | XYZ. Inc |  | EXTERNAL RELATION |  | NUR QAYIN | EXR | 10 |  | Sub Total |  |  |  | 15 | HUMAN RESOURCES | SUGENG | HRD | ABC. Inc | 22
 | XYZ. Inc |  | FINANCE & ACCOUNTING |  | [NAME] | GAC | 11 |  | HUMAN RESOURCES | MUTTAQIN | HRD | XYZ. Inc | 4 | Sub Total |  |  |  | 22
 | XYZ. Inc |  | GENERAL SERVICES |  | WAHYUDI | GA | 12 |  | HUMAN RESOURCES | [NAME] | HRD | XYZ. Inc | 13 | MAINTENANCE & CONSTRUCTION | TRIYANTO | MEM | ABC. Inc | 23
 | XYZ. Inc |  | HUMAN RESOURCES |  | [NAME] | HRD | 13 |  | Sub Total |  |  |  | 17 | Sub Total |  |  |  | 23
 | XYZ. Inc |  | MAINTENANCE & CONSTRUCTION |  | ARIS | MEM | 14 |  | MAINTENANCE & CONSTRUCTION | WILSON | MEM | XYZ. Inc | 5 | MINE GEOLOGY & PLANNING | [NAME] | MPL | ABC. Inc | 16
 | XYZ. Inc |  | MINE GEOLOGY & PLANNING |  | MOHAMAD | MPL | 15 |  | MAINTENANCE & CONSTRUCTION | ARIS | MEM | XYZ. Inc | 14 | MINE GEOLOGY & PLANNING | IWAN | MPL | ABC. Inc | 24
 | ABC. Inc |  | MINE GEOLOGY & PLANNING |  | [NAME] | MPL | 16 |  | Sub Total |  |  |  | 19 | Sub Total |  |  |  | 40
 | ABC. Inc |  | OPERATION |  | LIN SLAMET | ODS | 17 |  | MINE GEOLOGY & PLANNING | FAHRIAL | MPL | XYZ. Inc | 6 | OPERATION | LIN SLAMET | ODS | ABC. Inc | 17
 | ABC. Inc |  | QSE |  | BAHAR | ENV | 18 |  | MINE GEOLOGY & PLANNING | MOECHAMMAD | MPL | XYZ. Inc | 7 | OPERATION | RISTANTO | ODS | ABC. Inc | 25
 | ABC. Inc |  | EXTERNAL RELATION |  | AHMAD | EXR | 19 |  | MINE GEOLOGY & PLANNING | MOHAMAD | MPL | XYZ. Inc | 15 | OPERATION | ABI HAIR | ODS | ABC. Inc | 26
 | ABC. Inc |  | FINANCE & ACCOUNTING |  | ADI PUTRANTO | GAC | 20 |  | Sub Total |  |  |  | 28 | Sub Total |  |  |  | 68
 | ABC. Inc |  | GENERAL SERVICES |  | ALFIAN | GA | 21 |  | OPERATION | SELAMAT | ODS | XYZ. Inc | 8 | QSE | BAHAR | ENV | ABC. Inc | 18
 | ABC. Inc |  | HUMAN RESOURCES |  | SUGENG | HRD | 22 |  | Sub Total |  |  |  | 8 | QSE | ANDI YANTO | ENV | ABC. Inc | 27
 | ABC. Inc |  | MAINTENANCE & CONSTRUCTION |  | TRIYANTO | MEM | 23 |  | QSE | ARAFIK | ENV | XYZ. Inc | 9 | Sub Total |  |  |  | 45
 | ABC. Inc |  | MINE GEOLOGY & PLANNING |  | IWAN | MPL | 24 |  | Sub Total |  |  |  | 9 | Grand Total |  |  |  | 260
 | ABC. Inc |  | OPERATION |  | RISTANTO | ODS | 25 |  | Grand Total |  |  |  | 118 | Overall |  |  |  | 378
 | ABC. Inc |  | OPERATION |  | ABI HAIR | ODS | 26
 | ABC. Inc |  | QSE |  | ANDI YANTO | ENV | 27