In the sorted Wardwise Sheet After Each ward (The number in Column D defines Ward)
1. In an Excel file, there are few sheets with their names as numbers and there is also sheet called Wardwise. The rows in the sheets with their names as numbers have to be copied to Wardwise sheet. Beginning of copying has to be from the first row which contains numbers as their value. Hardcoding has to be avoided. End of Copying has to be identified by the row which contains “Net Total”(Case insensitive). In the Wardwise sheet, there is a column called Part No. This has to be read from the sheet name (eg While copying values from sheet 102, this column Part No has to be filled up with 102. Similarly for other Sheets, the Sheet no has to be filled up).
2. The resultant sheet has to be sorted by a Column called Ward No.
3. Any rows in the resultant sheet, which contain the word like “Total” (Case insensitive. May be Sub Total, Grand Total or Net Total) has to be deleted.
4. Insert one row for Summing up the rows above (Merge first three cells and Call this as 1st Ward Sub Total (may be named accodrding to the Ward Number))
5. Below this Main Roll Total, Add a row for Additional Total, if there exists Addition, merge the first three cells of the row ( Name this as 1st Ward Additional Total and sum up the rows just above this row. Hardcoding has to be avoided.)
6. Add a row below this row and call it as Deletion Total if there exists Deletion, merge the first three cells of the row ( Name this as 1st Ward Deletion Total and sum up the rows just above this row. Hardcoding has to be avoided.)
7. Below this Deletion Row Add a row and call it as Ist Ward Grand Total. In this row the formula should be Ist Ward Sub Total + Ist Ward Additional Total - Ist Ward Deletion Total )
Repeat this for each and every ward (Please note that No.of Wards is not fixed and do not hard code it. Also Addition and Deletion may not be available for all the wards. If it is there, a row must be inserted to include in the calculation, otherwise no need to insert a row)
8. After completion of above procedure for all the wards a row at the bottom should be inserted and named it as Net Total. In this row Grand Total of all the wards should be added.
10. Page Break should be set after Grand Total of Each Ward.
11. Any blank rows below the Net Total row have to be deleted.
1. In an Excel file, there are few sheets with their names as numbers and there is also sheet called Wardwise. The rows in the sheets with their names as numbers have to be copied to Wardwise sheet. Beginning of copying has to be from the first row which contains numbers as their value. Hardcoding has to be avoided. End of Copying has to be identified by the row which contains “Net Total”(Case insensitive). In the Wardwise sheet, there is a column called Part No. This has to be read from the sheet name (eg While copying values from sheet 102, this column Part No has to be filled up with 102. Similarly for other Sheets, the Sheet no has to be filled up).
2. The resultant sheet has to be sorted by a Column called Ward No.
3. Any rows in the resultant sheet, which contain the word like “Total” (Case insensitive. May be Sub Total, Grand Total or Net Total) has to be deleted.
4. Insert one row for Summing up the rows above (Merge first three cells and Call this as 1st Ward Sub Total (may be named accodrding to the Ward Number))
5. Below this Main Roll Total, Add a row for Additional Total, if there exists Addition, merge the first three cells of the row ( Name this as 1st Ward Additional Total and sum up the rows just above this row. Hardcoding has to be avoided.)
6. Add a row below this row and call it as Deletion Total if there exists Deletion, merge the first three cells of the row ( Name this as 1st Ward Deletion Total and sum up the rows just above this row. Hardcoding has to be avoided.)
7. Below this Deletion Row Add a row and call it as Ist Ward Grand Total. In this row the formula should be Ist Ward Sub Total + Ist Ward Additional Total - Ist Ward Deletion Total )
Repeat this for each and every ward (Please note that No.of Wards is not fixed and do not hard code it. Also Addition and Deletion may not be available for all the wards. If it is there, a row must be inserted to include in the calculation, otherwise no need to insert a row)
8. After completion of above procedure for all the wards a row at the bottom should be inserted and named it as Net Total. In this row Grand Total of all the wards should be added.
10. Page Break should be set after Grand Total of Each Ward.
11. Any blank rows below the Net Total row have to be deleted.
Chinnakovilankulam 3.08.2021.xlsm | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
B | C | D | E | F | G | H | I | J | K | L | M | N | O | |||
2 | gbtk; - 1 | |||||||||||||||
3 | thh;L thhpahf thf;fhsh;fs; fzf;fPL nra;tjw;fhd gbtk; | |||||||||||||||
4 | rl;lkd;w njhFjp ghfk; vz; -102 | Cuhl;rpapd; ngah; : rpd;df;Nfhtpyhd;Fsk; | ||||||||||||||
5 | rl;lkd;w njhFjp thf;fhsh; gl;bay; gf;f vz; | thh;L vz; | thf;fhsh; vz;zpf;if | |||||||||||||
6 | nkhj;j thf;fhsh; | goq;Fbapdh; thf;fhsh; | Mjpjpuhtplh; thf;fhsh; | ,juh; thf;fhsh; | ||||||||||||
7 | Mz; | ngz; | ,juh; | Mz; | ngz; | ,juh; | Mz; | ngz; | ,juh; | Mz; | ngz; | ,juh; | ||||
8 | 3 | 1 | 8 | 7 | 0 | 0 | 0 | 8 | 7 | 0 | ||||||
9 | 3 | 2 | 2 | 0 | 0 | 0 | 2 | 0 | 0 | |||||||
10 | 3 | 4 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | |||||||
11 | 3 | 6 | 5 | 7 | 0 | 0 | 5 | 7 | 0 | |||||||
12 | 4 | 1 | 7 | 5 | 0 | 0 | 7 | 5 | 0 | |||||||
13 | 4 | 2 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | |||||||
14 | 4 | 3 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | |||||||
15 | 4 | 5 | 3 | 3 | 0 | 0 | 3 | 3 | 0 | |||||||
16 | 4 | 6 | 4 | 4 | 0 | 1 | 4 | 3 | 0 | |||||||
17 | 5 | 1 | 7 | 10 | 0 | 0 | 7 | 10 | 0 | |||||||
18 | 5 | 2 | 5 | 2 | 0 | 0 | 5 | 2 | 0 | |||||||
19 | 5 | 5 | 3 | 3 | 0 | 0 | 3 | 3 | 0 | |||||||
20 | 6 | 1 | 1 | 5 | 0 | 0 | 1 | 5 | 0 | |||||||
21 | 6 | 2 | 4 | 3 | 0 | 0 | 4 | 3 | 0 | |||||||
22 | 6 | 3 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | |||||||
23 | 6 | 5 | 4 | 6 | 0 | 0 | 4 | 6 | 0 | |||||||
24 | 6 | 6 | 2 | 3 | 0 | 1 | 2 | 2 | 0 | |||||||
25 | 7 | 1 | 5 | 7 | 0 | 0 | 5 | 7 | 0 | |||||||
26 | 7 | 2 | 1 | 2 | 0 | 0 | 1 | 2 | 0 | |||||||
27 | 7 | 3 | 2 | 1 | 0 | 0 | 2 | 1 | 0 | |||||||
28 | 7 | 5 | 3 | 5 | 0 | 0 | 3 | 5 | 0 | |||||||
29 | 7 | 6 | 1 | 2 | 0 | 1 | 1 | 1 | 0 | |||||||
30 | 8 | 1 | 2 | 5 | 0 | 0 | 2 | 5 | 0 | |||||||
31 | 8 | 2 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | |||||||
32 | 8 | 3 | 3 | 7 | 0 | 0 | 3 | 7 | 0 | |||||||
33 | 8 | 5 | 5 | 6 | 0 | 0 | 5 | 6 | 0 | |||||||
34 | 8 | 6 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | |||||||
35 | 9 | 1 | 5 | 8 | 0 | 0 | 5 | 8 | 0 | |||||||
36 | 9 | 2 | 2 | 1 | 0 | 0 | 2 | 1 | 0 | |||||||
37 | 9 | 3 | 2 | 0 | 0 | 0 | 2 | 0 | 0 | |||||||
38 | 9 | 4 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | |||||||
39 | 9 | 5 | 5 | 5 | 0 | 0 | 5 | 5 | 0 | |||||||
40 | 10 | 1 | 0 | 3 | 0 | 0 | 0 | 3 | 0 | |||||||
41 | 10 | 2 | 8 | 5 | 0 | 0 | 8 | 5 | 0 | |||||||
42 | 10 | 4 | 1 | 3 | 0 | 0 | 1 | 3 | 0 | |||||||
43 | 10 | 5 | 3 | 3 | 0 | 0 | 3 | 3 | 0 | |||||||
44 | 10 | 6 | 1 | 3 | 0 | 0 | 1 | 3 | 0 | |||||||
45 | 11 | 1 | 2 | 1 | 0 | 0 | 2 | 1 | 0 | |||||||
46 | 11 | 2 | 7 | 3 | 0 | 0 | 7 | 3 | 0 | |||||||
47 | 11 | 4 | 7 | 8 | 0 | 0 | 7 | 8 | 0 | |||||||
48 | 11 | 5 | 0 | 2 | 0 | 0 | 0 | 2 | 0 | |||||||
49 | 12 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | |||||||
50 | 12 | 2 | 5 | 12 | 0 | 0 | 5 | 12 | 0 | |||||||
51 | 12 | 4 | 2 | 4 | 0 | 0 | 2 | 4 | 0 | |||||||
52 | 12 | 5 | 1 | 2 | 0 | 0 | 1 | 2 | 0 | |||||||
53 | 12 | 6 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | |||||||
54 | 13 | 1 | 4 | 1 | 0 | 0 | 4 | 1 | 0 | |||||||
55 | 13 | 2 | 5 | 6 | 0 | 0 | 5 | 6 | 0 | |||||||
56 | 13 | 4 | 6 | 3 | 0 | 0 | 6 | 3 | 0 | |||||||
57 | 13 | 5 | 0 | 3 | 0 | 0 | 0 | 3 | 0 | |||||||
102 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
M8:O57 | M8 | =D8-(G8+J8) |
Chinnakovilankulam 3.08.2021.xlsm | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
B | C | D | E | F | G | H | I | J | K | L | M | N | O | |||
2 | gbtk; - 1 | |||||||||||||||
3 | thh;L thhpahf thf;fhsh;fs; fzf;fPL nra;tjw;fhd gbtk; | |||||||||||||||
4 | rl;lkd;w njhFjp ghfk; vz; -103 | Cuhl;rpapd; ngah; : rpd;df;Nfhtpyhd;Fsk; | ||||||||||||||
5 | rl;lkd;w njhFjp thf;fhsh; gl;bay; gf;f vz; | thh;L vz; | thf;fhsh; vz;zpf;if | |||||||||||||
6 | nkhj;j thf;fhsh; | goq;Fbapdh; thf;fhsh; | Mjpjpuhtplh; thf;fhsh; | ,juh; thf;fhsh; | ||||||||||||
7 | Mz; | ngz; | ,juh; | Mz; | ngz; | ,juh; | Mz; | ngz; | ,juh; | Mz; | ngz; | ,juh; | ||||
8 | 3 | 3 | 0 | 1 | 0 | 1 | 0 | |||||||||
9 | 3 | 4 | 0 | 2 | 0 | 2 | 0 | |||||||||
10 | 3 | 5 | 1 | 0 | 1 | 0 | 0 | |||||||||
11 | 4 | 5 | 0 | 1 | 0 | 1 | 0 | |||||||||
12 | 4 | 6 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | |||||||
13 | 8 | 4 | 1 | 0 | 1 | 0 | 0 | |||||||||
14 | 9 | 4 | 0 | 1 | 0 | 1 | 0 | |||||||||
15 | 9 | 5 | 1 | 0 | 1 | 0 | 0 | |||||||||
16 | 11 | 4 | 2 | 0 | 2 | 0 | 0 | |||||||||
17 | 12 | 4 | 0 | 1 | 0 | 1 | 0 | |||||||||
18 | 13 | 6 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | |||||||
19 | 15 | 5 | 1 | 0 | 1 | 0 | 0 | |||||||||
20 | 16 | 2 | 0 | 1 | 0 | 1 | 0 | |||||||||
21 | 16 | 6 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | |||||||
22 | 17 | 2 | 1 | 0 | 0 | 0 | 1 | 0 | ||||||||
23 | 17 | 6 | 1 | 1 | 1 | 1 | 0 | 0 | ||||||||
24 | Mother Roll Total | 9 | 10 | 0 | 0 | 0 | 0 | 2 | 3 | 0 | 7 | 7 | 0 | |||
25 | 18 | 2 | 1 | 0 | 1 | 0 | ||||||||||
26 | Additional Total | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | |||
27 | Net Total | 10 | 10 | 0 | 0 | 0 | 0 | 2 | 3 | 0 | 8 | 7 | 0 | |||
103 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
M25:N25,M22:N23,M8:O21 | M8 | =D8-(G8+J8) |
D24:O24 | D24 | =SUM(D8:D23) |
D26:O26 | D26 | =SUM(D25) |
D27:O27 | D27 | =D24+D26 |