baleshst
Board Regular
- Joined
- Jan 24, 2010
- Messages
- 132
I have a excel sheet in which the debit credit entries are done between entities. Which is the source sheet which looks somewhat like this.
I would like the output to be like this. Request you to please give me a code to work this out. Thanks in advance.
Copy of Mitesh(1).xlsx | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | |||
1 | INCOME | EXPENSES | |||||||||||
2 | S.No. | Name From | Name to | INCOME GL code | Consol Grouping Income | Income under the Head | Income during the year Dr | EXPENSES GL code | Consol Grouping Exps | Expenses under the Head | Expenses during the year Cr | ||
3 | 1 | Phoenix Mills | Spaces Private Limited | 320201-003 | From Financial Assests carried at fair value through profit and loss | Interest | 214 | ||||||
4 | 1 | Spaces Private Limited | Phoenix Mills | 500002-004 | Interest Expenses | Interest | 214 | ||||||
5 | 2 | Phoenix Mills | Hospitality Services Limited | 320100-024 | License fees and Rental Income | Rent, Compensation & Other recoveries | 1,28,48,070 | 420111-217 | Advertisement, Promotion and Marketing Expenses | Service charges | 1,08,402 | ||
6 | 2 | Hospitality Services Limited | Phoenix Mills | 320100-003 | Others | Operating Income | 1,08,402 | 450002-003 | Rent | Rent | 1,28,48,070 | ||
Input |
I would like the output to be like this. Request you to please give me a code to work this out. Thanks in advance.
Copy of Mitesh(1).xlsx | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | |||
1 | ||||||||||
2 | S.No. | Name From | Name to | GL code | Debit/Credit | INCOME | EXPENSES | |||
3 | 1 | Phoenix Mills | Spaces Private Limited | 320201-003 | Debit | 214 | ||||
4 | 1 | Spaces Private Limited | Phoenix Mills | 500002-004 | Credit | 214 | ||||
5 | 2 | Phoenix Mills | Hospitality Services Limited | 320100-024 | Debit | 12848070 | ||||
6 | 2 | Hospitality Services Limited | Phoenix Mills | 450002-003 | Credit | 12848070 | ||||
7 | 3 | Hospitality Services Limited | Phoenix Mills | 320100-003 | Debit | 108402 | ||||
8 | 3 | Phoenix Mills | Hospitality Services Limited | 420111-217 | Credit | 108402 | ||||
9 | ||||||||||
Output |