Hi Everyone
I need some formula for the below mention Data
Sheet1 Name = DATA
Sheet2 Name = REPORTS
DATA
<COLGROUP> <COL style="WIDTH: 30px; FONT-WEIGHT: bold"><COL style="WIDTH: 87px"><COL style="WIDTH: 44px"><COL style="WIDTH: 37px"><COL style="WIDTH: 70px"><COL style="WIDTH: 45px"><COL style="WIDTH: 74px"><COL style="WIDTH: 64px"><COL style="WIDTH: 68px"><COL style="WIDTH: 80px"><COL style="WIDTH: 101px"><COL style="WIDTH: 75px"> </COLGROUP><TBODY>
[TD="bgcolor: #cacaca, align: center"]5[/TD]
[TD="align: center"]DATE[/TD]
[TD="align: center"]P/Unit[/TD]
[TD="align: right"]Stock [/TD]
[TD="align: right"]STOCK IN [/TD]
[TD="align: right"]STOCK OUT [/TD]
[TD="align: right"]CLOSING Stock [/TD]
[TD="align: right"]Rent [/TD]
[TD="bgcolor: #cacaca, align: center"]6[/TD]
[TD="bgcolor: #c0c0c0, align: left"]Star Plastic[/TD]
[TD="bgcolor: #c0c0c0, align: center"]1[/TD]
[TD="bgcolor: #c0c0c0, align: center"]0[/TD]
[TD="bgcolor: #c0c0c0, align: center"]15-Sep-10[/TD]
[TD="bgcolor: #c0c0c0, align: center"]Bags[/TD]
[TD="bgcolor: #c0c0c0, align: center"]2.00[/TD]
[TD="bgcolor: #c0c0c0, align: right"] - [/TD]
[TD="bgcolor: #c0c0c0, align: right"] 664 [/TD]
[TD="bgcolor: #c0c0c0, align: right"] - [/TD]
[TD="bgcolor: #c0c0c0, align: right"] 664 [/TD]
[TD="bgcolor: #c0c0c0, align: right"] 1,328 [/TD]
[TD="bgcolor: #cacaca, align: center"]7[/TD]
[TD="align: left"]Star Plastic[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]15-Sep-10[/TD]
[TD="align: center"]Bags[/TD]
[TD="align: center"]2.00[/TD]
[TD="align: right"] 664 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 664 [/TD]
[TD="align: right"] - [/TD]
[TD="bgcolor: #cacaca, align: center"]8[/TD]
[TD="bgcolor: #cacaca, align: center"]9[/TD]
[TD="bgcolor: #c0c0c0, align: left"]Adnan Data[/TD]
[TD="bgcolor: #c0c0c0, align: center"]2[/TD]
[TD="bgcolor: #c0c0c0, align: center"]0[/TD]
[TD="bgcolor: #c0c0c0, align: center"]15-Sep-10[/TD]
[TD="bgcolor: #c0c0c0, align: center"]Bags[/TD]
[TD="bgcolor: #c0c0c0, align: center"]2.00[/TD]
[TD="bgcolor: #c0c0c0, align: right"] - [/TD]
[TD="bgcolor: #c0c0c0, align: right"] 7,920 [/TD]
[TD="bgcolor: #c0c0c0, align: right"] - [/TD]
[TD="bgcolor: #c0c0c0, align: right"] 7,920 [/TD]
[TD="bgcolor: #c0c0c0, align: right"] 15,840 [/TD]
[TD="bgcolor: #cacaca, align: center"]10[/TD]
[TD="align: left"]Adnan Data[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]15-Sep-10[/TD]
[TD="align: center"]Bags[/TD]
[TD="align: center"]2.00[/TD]
[TD="align: right"] 7,920 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 200 [/TD]
[TD="align: right"] 7,720 [/TD]
[TD="bgcolor: #cacaca, align: center"]11[/TD]
[TD="align: left"]Adnan Data[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]21-Sep-10[/TD]
[TD="align: center"]Bags[/TD]
[TD="align: center"]2.00[/TD]
[TD="align: right"] 7,720 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 100 [/TD]
[TD="align: right"] 7,620 [/TD]
[TD="bgcolor: #cacaca, align: center"]12[/TD]
[TD="align: left"]Adnan Data[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]24-Sep-10[/TD]
[TD="align: center"]Bags[/TD]
[TD="align: center"]2.00[/TD]
[TD="align: right"] 7,620 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 250 [/TD]
[TD="align: right"] 7,370 [/TD]
[TD="bgcolor: #cacaca, align: center"]13[/TD]
[TD="align: left"]Adnan Data[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]25-Sep-10[/TD]
[TD="align: center"]Bags[/TD]
[TD="align: center"]2.00[/TD]
[TD="align: right"] 7,370 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 250 [/TD]
[TD="align: right"] 7,120 [/TD]
[TD="bgcolor: #cacaca, align: center"]14[/TD]
[TD="align: left"]Adnan Data[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]28-Sep-10[/TD]
[TD="align: center"]Bags[/TD]
[TD="align: center"]2.00[/TD]
[TD="align: right"] 7,120 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 50 [/TD]
[TD="align: right"] 7,070 [/TD]
[TD="bgcolor: #cacaca, align: center"]15[/TD]
[TD="align: left"]Adnan Data[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]15-Oct-10[/TD]
[TD="align: center"]Bags[/TD]
[TD="align: center"]2.00[/TD]
[TD="align: right"] 7,070 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 7,070 [/TD]
[TD="align: right"] 14,140 [/TD]
[TD="bgcolor: #cacaca, align: center"]16[/TD]
[TD="align: left"]Adnan Data[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]15-Oct-10[/TD]
[TD="align: center"]Bags[/TD]
[TD="align: center"]2.00[/TD]
[TD="align: right"] 7,070 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 55 [/TD]
[TD="align: right"] 7,015 [/TD]
[TD="bgcolor: #cacaca, align: center"]17[/TD]
[TD="align: left"]Adnan Data[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]23-Oct-10[/TD]
[TD="align: center"]Bags[/TD]
[TD="align: center"]2.00[/TD]
[TD="align: right"] 7,015 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 50 [/TD]
[TD="align: right"] 6,965 [/TD]
[TD="bgcolor: #cacaca, align: center"]18[/TD]
[TD="align: left"]Adnan Data[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]28-Oct-10[/TD]
[TD="align: center"]Bags[/TD]
[TD="align: center"]2.00[/TD]
[TD="align: right"] 6,965 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 50 [/TD]
[TD="align: right"] 6,915 [/TD]
[TD="bgcolor: #cacaca, align: center"]19[/TD]
[TD="align: left"]Adnan Data[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]30-Oct-10[/TD]
[TD="align: center"]Bags[/TD]
[TD="align: center"]2.00[/TD]
[TD="align: right"] 6,915 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 100 [/TD]
[TD="align: right"] 6,815 [/TD]
[TD="bgcolor: #cacaca, align: center"]20[/TD]
[TD="align: left"]Adnan Data[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]04-Nov-10[/TD]
[TD="align: center"]Bags[/TD]
[TD="align: center"]2.00[/TD]
[TD="align: right"] 6,815 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 195 [/TD]
[TD="align: right"] 6,620 [/TD]
</TBODY>
REPORTS
<COLGROUP> <COL style="WIDTH: 30px; FONT-WEIGHT: bold"><COL style="WIDTH: 103px"><COL style="WIDTH: 201px"> </COLGROUP><TBODY>
[TD="bgcolor: #cacaca, align: center"]3[/TD]
[TD="bgcolor: #cacaca, align: center"]4[/TD]
[TD="bgcolor: #cacaca, align: center"]5[/TD]
[TD="align: left"]CLIENT[/TD]
[TD="align: left"]Faheem Traders[/TD]
[TD="bgcolor: #cacaca, align: center"]6[/TD]
[TD="bgcolor: #cacaca, align: center"]7[/TD]
[TD="bgcolor: #cacaca, align: center"]8[/TD]
[TD="align: left"]STOCKS[/TD]
[TD="align: right"]DATES[/TD]
[TD="bgcolor: #cacaca, align: center"]9[/TD]
[TD="align: right"]18-Nov-11[/TD]
[TD="bgcolor: #cacaca, align: center"]10[/TD]
[TD="align: right"]29-May-13[/TD]
[TD="bgcolor: #cacaca, align: center"]11[/TD]
[TD="bgcolor: #cacaca, align: center"]12[/TD]
[TD="bgcolor: #cacaca, align: center"]13[/TD]
[TD="bgcolor: #cacaca, align: center"]14[/TD]
[TD="align: left"]STOCKS[/TD]
[TD="align: right"]QUANTITY[/TD]
[TD="bgcolor: #cacaca, align: center"]15[/TD]
[TD="align: right"] 9,067 [/TD]
[TD="bgcolor: #cacaca, align: center"]16[/TD]
[TD="align: right"] 8,794 [/TD]
[TD="bgcolor: #cacaca, align: center"]17[/TD]
[TD="align: right"] 273 [/TD]
[TD="bgcolor: #cacaca, align: center"]18[/TD]
[TD="bgcolor: #cacaca, align: center"]19[/TD]
[TD="bgcolor: #cacaca, align: center"]20[/TD]
[TD="bgcolor: #cacaca, align: center"]21[/TD]
[TD="align: right"]AMOUNT[/TD]
[TD="bgcolor: #cacaca, align: center"]22[/TD]
[TD="align: right"] 185,220 [/TD]
[TD="bgcolor: #cacaca, align: center"]23[/TD]
[TD="align: right"] - [/TD]
[TD="bgcolor: #cacaca, align: center"]24[/TD]
[TD="align: right"] 185,220 [/TD]
</TBODY>
<TBODY>
</TBODY>
When i enter a client in cell C5 then the dates, Stock in out and rent cells are showing perfect results.. What i need is when i enter "ALL" in cell C5 then it should show the total data present in the DATA sheet
Hope anyone can help
Regards,
Humayun
I need some formula for the below mention Data
Sheet1 Name = DATA
Sheet2 Name = REPORTS
DATA
A | B | C | D | E | F | G | H | I | J | K | |
CLIENT | Page # | File # | Unit | ||||||||
<COLGROUP> <COL style="WIDTH: 30px; FONT-WEIGHT: bold"><COL style="WIDTH: 87px"><COL style="WIDTH: 44px"><COL style="WIDTH: 37px"><COL style="WIDTH: 70px"><COL style="WIDTH: 45px"><COL style="WIDTH: 74px"><COL style="WIDTH: 64px"><COL style="WIDTH: 68px"><COL style="WIDTH: 80px"><COL style="WIDTH: 101px"><COL style="WIDTH: 75px"> </COLGROUP><TBODY>
[TD="bgcolor: #cacaca, align: center"]5[/TD]
[TD="align: center"]DATE[/TD]
[TD="align: center"]P/Unit[/TD]
[TD="align: right"]Stock [/TD]
[TD="align: right"]STOCK IN [/TD]
[TD="align: right"]STOCK OUT [/TD]
[TD="align: right"]CLOSING Stock [/TD]
[TD="align: right"]Rent [/TD]
[TD="bgcolor: #cacaca, align: center"]6[/TD]
[TD="bgcolor: #c0c0c0, align: left"]Star Plastic[/TD]
[TD="bgcolor: #c0c0c0, align: center"]1[/TD]
[TD="bgcolor: #c0c0c0, align: center"]0[/TD]
[TD="bgcolor: #c0c0c0, align: center"]15-Sep-10[/TD]
[TD="bgcolor: #c0c0c0, align: center"]Bags[/TD]
[TD="bgcolor: #c0c0c0, align: center"]2.00[/TD]
[TD="bgcolor: #c0c0c0, align: right"] - [/TD]
[TD="bgcolor: #c0c0c0, align: right"] 664 [/TD]
[TD="bgcolor: #c0c0c0, align: right"] - [/TD]
[TD="bgcolor: #c0c0c0, align: right"] 664 [/TD]
[TD="bgcolor: #c0c0c0, align: right"] 1,328 [/TD]
[TD="bgcolor: #cacaca, align: center"]7[/TD]
[TD="align: left"]Star Plastic[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]15-Sep-10[/TD]
[TD="align: center"]Bags[/TD]
[TD="align: center"]2.00[/TD]
[TD="align: right"] 664 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 664 [/TD]
[TD="align: right"] - [/TD]
[TD="bgcolor: #cacaca, align: center"]8[/TD]
[TD="bgcolor: #cacaca, align: center"]9[/TD]
[TD="bgcolor: #c0c0c0, align: left"]Adnan Data[/TD]
[TD="bgcolor: #c0c0c0, align: center"]2[/TD]
[TD="bgcolor: #c0c0c0, align: center"]0[/TD]
[TD="bgcolor: #c0c0c0, align: center"]15-Sep-10[/TD]
[TD="bgcolor: #c0c0c0, align: center"]Bags[/TD]
[TD="bgcolor: #c0c0c0, align: center"]2.00[/TD]
[TD="bgcolor: #c0c0c0, align: right"] - [/TD]
[TD="bgcolor: #c0c0c0, align: right"] 7,920 [/TD]
[TD="bgcolor: #c0c0c0, align: right"] - [/TD]
[TD="bgcolor: #c0c0c0, align: right"] 7,920 [/TD]
[TD="bgcolor: #c0c0c0, align: right"] 15,840 [/TD]
[TD="bgcolor: #cacaca, align: center"]10[/TD]
[TD="align: left"]Adnan Data[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]15-Sep-10[/TD]
[TD="align: center"]Bags[/TD]
[TD="align: center"]2.00[/TD]
[TD="align: right"] 7,920 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 200 [/TD]
[TD="align: right"] 7,720 [/TD]
[TD="bgcolor: #cacaca, align: center"]11[/TD]
[TD="align: left"]Adnan Data[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]21-Sep-10[/TD]
[TD="align: center"]Bags[/TD]
[TD="align: center"]2.00[/TD]
[TD="align: right"] 7,720 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 100 [/TD]
[TD="align: right"] 7,620 [/TD]
[TD="bgcolor: #cacaca, align: center"]12[/TD]
[TD="align: left"]Adnan Data[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]24-Sep-10[/TD]
[TD="align: center"]Bags[/TD]
[TD="align: center"]2.00[/TD]
[TD="align: right"] 7,620 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 250 [/TD]
[TD="align: right"] 7,370 [/TD]
[TD="bgcolor: #cacaca, align: center"]13[/TD]
[TD="align: left"]Adnan Data[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]25-Sep-10[/TD]
[TD="align: center"]Bags[/TD]
[TD="align: center"]2.00[/TD]
[TD="align: right"] 7,370 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 250 [/TD]
[TD="align: right"] 7,120 [/TD]
[TD="bgcolor: #cacaca, align: center"]14[/TD]
[TD="align: left"]Adnan Data[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]28-Sep-10[/TD]
[TD="align: center"]Bags[/TD]
[TD="align: center"]2.00[/TD]
[TD="align: right"] 7,120 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 50 [/TD]
[TD="align: right"] 7,070 [/TD]
[TD="bgcolor: #cacaca, align: center"]15[/TD]
[TD="align: left"]Adnan Data[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]15-Oct-10[/TD]
[TD="align: center"]Bags[/TD]
[TD="align: center"]2.00[/TD]
[TD="align: right"] 7,070 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 7,070 [/TD]
[TD="align: right"] 14,140 [/TD]
[TD="bgcolor: #cacaca, align: center"]16[/TD]
[TD="align: left"]Adnan Data[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]15-Oct-10[/TD]
[TD="align: center"]Bags[/TD]
[TD="align: center"]2.00[/TD]
[TD="align: right"] 7,070 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 55 [/TD]
[TD="align: right"] 7,015 [/TD]
[TD="bgcolor: #cacaca, align: center"]17[/TD]
[TD="align: left"]Adnan Data[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]23-Oct-10[/TD]
[TD="align: center"]Bags[/TD]
[TD="align: center"]2.00[/TD]
[TD="align: right"] 7,015 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 50 [/TD]
[TD="align: right"] 6,965 [/TD]
[TD="bgcolor: #cacaca, align: center"]18[/TD]
[TD="align: left"]Adnan Data[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]28-Oct-10[/TD]
[TD="align: center"]Bags[/TD]
[TD="align: center"]2.00[/TD]
[TD="align: right"] 6,965 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 50 [/TD]
[TD="align: right"] 6,915 [/TD]
[TD="bgcolor: #cacaca, align: center"]19[/TD]
[TD="align: left"]Adnan Data[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]30-Oct-10[/TD]
[TD="align: center"]Bags[/TD]
[TD="align: center"]2.00[/TD]
[TD="align: right"] 6,915 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 100 [/TD]
[TD="align: right"] 6,815 [/TD]
[TD="bgcolor: #cacaca, align: center"]20[/TD]
[TD="align: left"]Adnan Data[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]04-Nov-10[/TD]
[TD="align: center"]Bags[/TD]
[TD="align: center"]2.00[/TD]
[TD="align: right"] 6,815 [/TD]
[TD="align: right"] - [/TD]
[TD="align: right"] 195 [/TD]
[TD="align: right"] 6,620 [/TD]
</TBODY>
REPORTS
B | C | |
ACCOUNT STATEMENT | ||
Start | ||
End | ||
In | ||
Out | ||
Balance | ||
RENT | ||
Charged | ||
Received | ||
Balance |
<COLGROUP> <COL style="WIDTH: 30px; FONT-WEIGHT: bold"><COL style="WIDTH: 103px"><COL style="WIDTH: 201px"> </COLGROUP><TBODY>
[TD="bgcolor: #cacaca, align: center"]3[/TD]
[TD="bgcolor: #cacaca, align: center"]4[/TD]
[TD="bgcolor: #cacaca, align: center"]5[/TD]
[TD="align: left"]CLIENT[/TD]
[TD="align: left"]Faheem Traders[/TD]
[TD="bgcolor: #cacaca, align: center"]6[/TD]
[TD="bgcolor: #cacaca, align: center"]7[/TD]
[TD="bgcolor: #cacaca, align: center"]8[/TD]
[TD="align: left"]STOCKS[/TD]
[TD="align: right"]DATES[/TD]
[TD="bgcolor: #cacaca, align: center"]9[/TD]
[TD="align: right"]18-Nov-11[/TD]
[TD="bgcolor: #cacaca, align: center"]10[/TD]
[TD="align: right"]29-May-13[/TD]
[TD="bgcolor: #cacaca, align: center"]11[/TD]
[TD="bgcolor: #cacaca, align: center"]12[/TD]
[TD="bgcolor: #cacaca, align: center"]13[/TD]
[TD="bgcolor: #cacaca, align: center"]14[/TD]
[TD="align: left"]STOCKS[/TD]
[TD="align: right"]QUANTITY[/TD]
[TD="bgcolor: #cacaca, align: center"]15[/TD]
[TD="align: right"] 9,067 [/TD]
[TD="bgcolor: #cacaca, align: center"]16[/TD]
[TD="align: right"] 8,794 [/TD]
[TD="bgcolor: #cacaca, align: center"]17[/TD]
[TD="align: right"] 273 [/TD]
[TD="bgcolor: #cacaca, align: center"]18[/TD]
[TD="bgcolor: #cacaca, align: center"]19[/TD]
[TD="bgcolor: #cacaca, align: center"]20[/TD]
[TD="bgcolor: #cacaca, align: center"]21[/TD]
[TD="align: right"]AMOUNT[/TD]
[TD="bgcolor: #cacaca, align: center"]22[/TD]
[TD="align: right"] 185,220 [/TD]
[TD="bgcolor: #cacaca, align: center"]23[/TD]
[TD="align: right"] - [/TD]
[TD="bgcolor: #cacaca, align: center"]24[/TD]
[TD="align: right"] 185,220 [/TD]
</TBODY>
Spreadsheet Formulas | ||||||||||||||||
<TBODY> </TBODY> | ||||||||||||||||
Formula Array: Produce enclosing { } by entering formula with CTRL+SHIFT+ENTER! |
<TBODY>
</TBODY>
When i enter a client in cell C5 then the dates, Stock in out and rent cells are showing perfect results.. What i need is when i enter "ALL" in cell C5 then it should show the total data present in the DATA sheet
Hope anyone can help
Regards,
Humayun