I have an excel sheet as below
I have a Pivot Table like below
<colgroup><col style="width: 25pxpx"><col></colgroup><thead>
</thead><tbody>
</tbody>I need to add one Balance column in pivot table
Balance should come
= Invoice(-)Cash Received,Cheque Received,Cash Transfer,Sales Return,Discount
How? Is it possible
Excel 2007 | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | |||
2 | Date | Customer Name | Narration | Amount | Cash Recived | Cheque Recived | Type | ||||||
3 | 05/12/2012 | Madan Pura | Bill No.1565 | 15000 | Invoice | Bill No | Bill No | Invoice | |||||
4 | 05/12/2012 | Jerry Pvt. Ltd | Bill No.1456 | 10000 | Invoice | Sales r | Sales return | Sales Return | |||||
5 | 05/12/2012 | Jackson Pvt. Ltd | Bill No.1458 | 25000 | Invoice | Cash Tr | Cash Transfer to Bank A/C | Cash Transfer | |||||
6 | 05/12/2012 | Jackson Pvt. Ltd | Cash Received | 25000 | Cash Received | Discoun | Discount Given | Discount | |||||
7 | 18/12/2012 | Jackson Pvt. Ltd | Cheque Received | 1800 | Cheque Received | Cheque | Cheque Received | Cheque Received | |||||
8 | 05/12/2012 | Rupa & Company | Bill No.1560 | 7500 | Invoice | Cash Re | Cash Received | Cash Received | |||||
9 | 05/12/2012 | Vidhya Sagar Pvt. Ltd. | Bill No.1620 | 15200 | Invoice | Goods R | Goods Return | Sales Return | |||||
10 | 05/12/2012 | Mahesh & Sons | Bill No.1622 | 3500 | Invoice | Cash T/ | Cash T/F to Bank | Cash Transfer | |||||
11 | 05/12/2012 | Mruthula & Co. | Bill No.1761 | 6500 | Invoice | ||||||||
12 | 05/12/2012 | Markos Bros. | Bill No.1762 | 10200 | Invoice | ||||||||
13 | 05/12/2012 | Madan Pura | Bill No.1764 | 15300 | Invoice | ||||||||
14 | 05/12/2012 | Jimmy Traders | Bill No.1630 | 10700 | Invoice | ||||||||
15 | 05/12/2012 | Varun Associates | Bill No.1763 | 4500 | Invoice | ||||||||
16 | 05/12/2013 | Varun Associates | Cash Received By | 5000 | Cash Received | ||||||||
17 | 05/12/2012 | George Peter Groups | Bill No.1780 | 10300 | Invoice | ||||||||
18 | 05/12/2012 | Vikram Associates | Bill No.1863 | 1050 | Invoice | ||||||||
19 | 15/05/2012 | Jerry Pvt. Ltd | Bill No.1834 | 1000 | Invoice | ||||||||
20 | 15/05/2012 | Rupa & Company | Bill No.1865 | 750 | Invoice | ||||||||
21 | 15/05/2012 | Mruthula & Co. | Bill No.1890 | 400 | Invoice | ||||||||
22 | 16/05/2012 | Rupa & Company | Cash Transfer to Bank A/C | 7000 | Cash Transfer | ||||||||
23 | 15/05/2012 | Varun Associates | Bill No.1925 | 700 | Invoice | ||||||||
24 | 15/05/2012 | Rupa & Company | Bill No.1896 | 8000 | Invoice | ||||||||
25 | 18/05/2013 | Jackson Pvt. Ltd | Bill No.975 | 30000 | Invoice | ||||||||
26 | 15/05/2012 | Mahesh & Sons | Bill No.1925 | 1400 | Invoice | ||||||||
27 | 15/05/2012 | Jimmy Traders | Bill No.1847 | 12000 | Invoice | ||||||||
28 | 15/05/2012 | Vidhya Sagar Pvt. Ltd. | Bill No.1948 | 1020 | Invoice | ||||||||
29 | 15/05/2012 | Vikram Associates | Bill No.1884 | 500 | Invoice | ||||||||
30 | 18/05/2012 | Markos Bros. | Bill No.1927 | 1020 | Invoice | ||||||||
31 | 18/05/2012 | Jackson Pvt. Ltd | Bill No.2060 | 5220 | Invoice | ||||||||
32 | 18/05/2012 | George Peter Groups | Bill No.2435 | 4500 | Invoice | ||||||||
33 | 18/05/2012 | Jimmy Traders | Bill No.1945 | 1800 | Invoice | ||||||||
34 | 18/05/2012 | Madan Pura | Bill No.1790 | 8000 | Invoice | ||||||||
35 | 20/05/2012 | Rupa & Company | Bill No.1536 | 1110 | Invoice | ||||||||
36 | 20/05/2012 | Vikram Associates | Bill No.1525 | 1600 | Invoice | ||||||||
37 | 20/05/2012 | Jerry Pvt. Ltd | Bill No.1585 | 6660 | Invoice | ||||||||
38 | 20/05/2012 | Varun Associates | Bill No.1890 | 3321 | Invoice | ||||||||
39 | 20/05/2012 | Mahesh & Sons | Bill No.1864 | 3380 | Invoice | ||||||||
40 | 25/05/2012 | George Peter Groups | Bill No.1924 | 839 | Invoice | ||||||||
41 | 25/05/2012 | Vidhya Sagar Pvt. Ltd. | Bill No.1938 | 332 | Invoice | ||||||||
42 | 12/06/2012 | Jackson Pvt. Ltd | Sales return | 1800 | Sales Return | ||||||||
43 | 25/07/2012 | Jackson Pvt. Ltd | Cash Transfer | 3600 | Cash Transfer | ||||||||
44 | 18/08/2012 | Jackson Pvt. Ltd | Goods Return | 360 | Sales Return | ||||||||
45 | 18/05/2013 | Jackson Pvt. Ltd | Discount Given | 350 | Discount | ||||||||
46 | 20/05/2013 | Mahesh & Sons | Cash T/F to Bank | 1200 | Cash Transfer | ||||||||
47 | 20/05/2013 | George Peter Groups | Cheque Received | 12000 | Cheque Received | ||||||||
48 | 10/06/2013 | George Peter Groups | Goods Return | 985 | Sales Return | ||||||||
Invoice-Cash-Cheque |
Cell Formulas | ||
---|---|---|
Range | Formula | |
I3 | =LEFT(J3,7) | |
I4 | =LEFT(J4,7) | |
I5 | =LEFT(J5,7) | |
I6 | =LEFT(J6,7) | |
I7 | =LEFT(J7,7) | |
I8 | =LEFT(J8,7) | |
I9 | =LEFT(J9,7) | |
I10 | =LEFT(J10,7) | |
G3 | =VLOOKUP(LEFT(C3,7),$I$3:$K$10,3,FALSE) | |
G4 | =VLOOKUP(LEFT(C4,7),$I$3:$K$10,3,FALSE) | |
G5 | =VLOOKUP(LEFT(C5,7),$I$3:$K$10,3,FALSE) | |
G6 | =VLOOKUP(LEFT(C6,7),$I$3:$K$10,3,FALSE) | |
G7 | =VLOOKUP(LEFT(C7,7),$I$3:$K$10,3,FALSE) | |
G8 | =VLOOKUP(LEFT(C8,7),$I$3:$K$10,3,FALSE) | |
G9 | =VLOOKUP(LEFT(C9,7),$I$3:$K$10,3,FALSE) | |
G10 | =VLOOKUP(LEFT(C10,7),$I$3:$K$10,3,FALSE) | |
G11 | =VLOOKUP(LEFT(C11,7),$I$3:$K$10,3,FALSE) | |
G12 | =VLOOKUP(LEFT(C12,7),$I$3:$K$10,3,FALSE) | |
G13 | =VLOOKUP(LEFT(C13,7),$I$3:$K$10,3,FALSE) | |
G14 | =VLOOKUP(LEFT(C14,7),$I$3:$K$10,3,FALSE) | |
G15 | =VLOOKUP(LEFT(C15,7),$I$3:$K$10,3,FALSE) | |
G16 | =VLOOKUP(LEFT(C16,7),$I$3:$K$10,3,FALSE) | |
G17 | =VLOOKUP(LEFT(C17,7),$I$3:$K$10,3,FALSE) | |
G18 | =VLOOKUP(LEFT(C18,7),$I$3:$K$10,3,FALSE) | |
G19 | =VLOOKUP(LEFT(C19,7),$I$3:$K$10,3,FALSE) | |
G20 | =VLOOKUP(LEFT(C20,7),$I$3:$K$10,3,FALSE) | |
G21 | =VLOOKUP(LEFT(C21,7),$I$3:$K$10,3,FALSE) | |
G22 | =VLOOKUP(LEFT(C22,7),$I$3:$K$10,3,FALSE) | |
G23 | =VLOOKUP(LEFT(C23,7),$I$3:$K$10,3,FALSE) | |
G24 | =VLOOKUP(LEFT(C24,7),$I$3:$K$10,3,FALSE) | |
G25 | =VLOOKUP(LEFT(C25,7),$I$3:$K$10,3,FALSE) | |
G26 | =VLOOKUP(LEFT(C26,7),$I$3:$K$10,3,FALSE) | |
G27 | =VLOOKUP(LEFT(C27,7),$I$3:$K$10,3,FALSE) | |
G28 | =VLOOKUP(LEFT(C28,7),$I$3:$K$10,3,FALSE) | |
G29 | =VLOOKUP(LEFT(C29,7),$I$3:$K$10,3,FALSE) | |
G30 | =VLOOKUP(LEFT(C30,7),$I$3:$K$10,3,FALSE) | |
G31 | =VLOOKUP(LEFT(C31,7),$I$3:$K$10,3,FALSE) | |
G32 | =VLOOKUP(LEFT(C32,7),$I$3:$K$10,3,FALSE) | |
G33 | =VLOOKUP(LEFT(C33,7),$I$3:$K$10,3,FALSE) | |
G34 | =VLOOKUP(LEFT(C34,7),$I$3:$K$10,3,FALSE) | |
G35 | =VLOOKUP(LEFT(C35,7),$I$3:$K$10,3,FALSE) | |
G36 | =VLOOKUP(LEFT(C36,7),$I$3:$K$10,3,FALSE) | |
G37 | =VLOOKUP(LEFT(C37,7),$I$3:$K$10,3,FALSE) | |
G38 | =VLOOKUP(LEFT(C38,7),$I$3:$K$10,3,FALSE) | |
G39 | =VLOOKUP(LEFT(C39,7),$I$3:$K$10,3,FALSE) | |
G40 | =VLOOKUP(LEFT(C40,7),$I$3:$K$10,3,FALSE) | |
G41 | =VLOOKUP(LEFT(C41,7),$I$3:$K$10,3,FALSE) | |
G42 | =VLOOKUP(LEFT(C42,7),$I$3:$K$10,3,FALSE) | |
G43 | =VLOOKUP(LEFT(C43,7),$I$3:$K$10,3,FALSE) | |
G44 | =VLOOKUP(LEFT(C44,7),$I$3:$K$10,3,FALSE) | |
G45 | =VLOOKUP(LEFT(C45,7),$I$3:$K$10,3,FALSE) | |
G46 | =VLOOKUP(LEFT(C46,7),$I$3:$K$10,3,FALSE) | |
G47 | =VLOOKUP(LEFT(C47,7),$I$3:$K$10,3,FALSE) | |
G48 | =VLOOKUP(LEFT(C48,7),$I$3:$K$10,3,FALSE) |
I have a Pivot Table like below
Excel 2007 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | |||
2 | ||||||||||
3 | Sum of Field1 | Column Labels | ||||||||
4 | Row Labels | Cash Received | Cash Transfer | Cheque Received | Discount | Invoice | Sales Return | Grand Total | ||
5 | George Peter Groups | 0 | 0 | 12000 | 0 | 15639 | 985 | 28624 | ||
6 | Jackson Pvt. Ltd | 25000 | 3600 | 1800 | 350 | 60220 | 2160 | 93130 | ||
7 | Jerry Pvt. Ltd | 0 | 0 | 0 | 0 | 17660 | 0 | 17660 | ||
8 | Jimmy Traders | 0 | 0 | 0 | 0 | 24500 | 0 | 24500 | ||
9 | Madan Pura | 0 | 0 | 0 | 0 | 38300 | 0 | 38300 | ||
10 | Mahesh & Sons | 0 | 1200 | 0 | 0 | 8280 | 0 | 9480 | ||
11 | Markos Bros. | 0 | 0 | 0 | 0 | 11220 | 0 | 11220 | ||
12 | Mruthula & Co. | 0 | 0 | 0 | 0 | 6900 | 0 | 6900 | ||
13 | Rupa & Company | 0 | 7000 | 0 | 0 | 17360 | 0 | 24360 | ||
14 | Varun Associates | 5000 | 0 | 0 | 0 | 8521 | 0 | 13521 | ||
15 | Vidhya Sagar Pvt. Ltd. | 0 | 0 | 0 | 0 | 16552 | 0 | 16552 | ||
16 | Vikram Associates | 0 | 0 | 0 | 0 | 3150 | 0 | 3150 | ||
17 | Grand Total | 30000 | 11800 | 13800 | 350 | 228302 | 3145 | 287397 | ||
18 | ||||||||||
19 | ||||||||||
PivotTable |
<colgroup><col style="width: 25pxpx"><col></colgroup><thead>
</thead><tbody>
</tbody>
Balance should come
= Invoice(-)Cash Received,Cheque Received,Cash Transfer,Sales Return,Discount
How? Is it possible
Last edited: