kmonkmol
Board Regular
- Joined
- Mar 13, 2014
- Messages
- 50
Hi Sir
Please note following Table i have data of One Month Sales and return quantity and Price, I need Show Monday AVERAGE Net Sales Quantity(Sales minus Return) with condition(if Customer code, Item Code) is Same
[TABLE="width: 679"]
<tbody>[TR]
[TD]TRANScode[/TD]
[TD]DATE[/TD]
[TD]CST CODE[/TD]
[TD]ITEM CODE[/TD]
[TD]SALES QTY[/TD]
[TD]SALES PRICE[/TD]
[TD]RTN QTY[/TD]
[TD]RTN PRICE[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]01-09-2017[/TD]
[TD]ALM2118[/TD]
[TD]A1003[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.4[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]01-09-2017[/TD]
[TD]ALM2118[/TD]
[TD]A1002[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]16.2[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]01-09-2017[/TD]
[TD]ALM1685[/TD]
[TD]A1003[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.4[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]01-09-2017[/TD]
[TD]ALM1685[/TD]
[TD]A1002[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.1[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]02-09-2017[/TD]
[TD]ALM1685[/TD]
[TD]A1002[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]16.2[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]02-09-2017[/TD]
[TD]ALM1685[/TD]
[TD]A1003[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.4[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]02-09-2017[/TD]
[TD]WZS1020F[/TD]
[TD]A1002[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]16.5[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]02-09-2017[/TD]
[TD]WZS1020F[/TD]
[TD]A1003[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]17.5[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]02-09-2017[/TD]
[TD]ALM2118[/TD]
[TD]A1002[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]16.2[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]02-09-2017[/TD]
[TD]ALM2118[/TD]
[TD]A1003[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]16.8[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]03-09-2017[/TD]
[TD]ALM1685[/TD]
[TD]A1002[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]16.2[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]03-09-2017[/TD]
[TD]ALM2118[/TD]
[TD]A1002[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]16.2[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]03-09-2017[/TD]
[TD]ALM2118[/TD]
[TD]A1003[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.4[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]03-09-2017[/TD]
[TD]WZS1020F[/TD]
[TD]A1002[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]16.5[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]03-09-2017[/TD]
[TD]WZS1020F[/TD]
[TD]A1003[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]17.5[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]04-09-2017[/TD]
[TD]WZS1020F[/TD]
[TD]A1002[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.25[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]04-09-2017[/TD]
[TD]WZS1020F[/TD]
[TD]A1003[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.75[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]04-09-2017[/TD]
[TD]ALM2118[/TD]
[TD]A1003[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.4[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]05-09-2017[/TD]
[TD]WZS1020F[/TD]
[TD]A1002[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]16.5[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]05-09-2017[/TD]
[TD]WZS1020F[/TD]
[TD]A1003[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.75[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]05-09-2017[/TD]
[TD]ALM1685[/TD]
[TD]A1002[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.1[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]05-09-2017[/TD]
[TD]ALM2118[/TD]
[TD]A1002[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]16.2[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]05-09-2017[/TD]
[TD]ALM2118[/TD]
[TD]A1003[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.4[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]03-09-2017[/TD]
[TD]ZOM4002[/TD]
[TD]A1002[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.25[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]05-09-2017[/TD]
[TD]ZOM4002[/TD]
[TD]A1002[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.25[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]RETURN[/TD]
[TD="align: right"]01-09-2017[/TD]
[TD]ALM2118[/TD]
[TD]A1003[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]16.8[/TD]
[/TR]
[TR]
[TD]RETURN[/TD]
[TD="align: right"]01-09-2017[/TD]
[TD]ALM1685[/TD]
[TD]A1002[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.1[/TD]
[/TR]
[TR]
[TD]RETURN[/TD]
[TD="align: right"]02-09-2017[/TD]
[TD]ALM2118[/TD]
[TD]A1002[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.1[/TD]
[/TR]
[TR]
[TD]RETURN[/TD]
[TD="align: right"]02-09-2017[/TD]
[TD]ALM2118[/TD]
[TD]A1003[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.4[/TD]
[/TR]
[TR]
[TD]RETURN[/TD]
[TD="align: right"]05-09-2017[/TD]
[TD]ALM1685[/TD]
[TD]A1003[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.4[/TD]
[/TR]
</tbody>[/TABLE]
Please note following Table i have data of One Month Sales and return quantity and Price, I need Show Monday AVERAGE Net Sales Quantity(Sales minus Return) with condition(if Customer code, Item Code) is Same
[TABLE="width: 679"]
<tbody>[TR]
[TD]TRANScode[/TD]
[TD]DATE[/TD]
[TD]CST CODE[/TD]
[TD]ITEM CODE[/TD]
[TD]SALES QTY[/TD]
[TD]SALES PRICE[/TD]
[TD]RTN QTY[/TD]
[TD]RTN PRICE[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]01-09-2017[/TD]
[TD]ALM2118[/TD]
[TD]A1003[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.4[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]01-09-2017[/TD]
[TD]ALM2118[/TD]
[TD]A1002[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]16.2[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]01-09-2017[/TD]
[TD]ALM1685[/TD]
[TD]A1003[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.4[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]01-09-2017[/TD]
[TD]ALM1685[/TD]
[TD]A1002[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.1[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]02-09-2017[/TD]
[TD]ALM1685[/TD]
[TD]A1002[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]16.2[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]02-09-2017[/TD]
[TD]ALM1685[/TD]
[TD]A1003[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.4[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]02-09-2017[/TD]
[TD]WZS1020F[/TD]
[TD]A1002[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]16.5[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]02-09-2017[/TD]
[TD]WZS1020F[/TD]
[TD]A1003[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]17.5[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]02-09-2017[/TD]
[TD]ALM2118[/TD]
[TD]A1002[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]16.2[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]02-09-2017[/TD]
[TD]ALM2118[/TD]
[TD]A1003[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]16.8[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]03-09-2017[/TD]
[TD]ALM1685[/TD]
[TD]A1002[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]16.2[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]03-09-2017[/TD]
[TD]ALM2118[/TD]
[TD]A1002[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]16.2[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]03-09-2017[/TD]
[TD]ALM2118[/TD]
[TD]A1003[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.4[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]03-09-2017[/TD]
[TD]WZS1020F[/TD]
[TD]A1002[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]16.5[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]03-09-2017[/TD]
[TD]WZS1020F[/TD]
[TD]A1003[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]17.5[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]04-09-2017[/TD]
[TD]WZS1020F[/TD]
[TD]A1002[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.25[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]04-09-2017[/TD]
[TD]WZS1020F[/TD]
[TD]A1003[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.75[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]04-09-2017[/TD]
[TD]ALM2118[/TD]
[TD]A1003[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.4[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]05-09-2017[/TD]
[TD]WZS1020F[/TD]
[TD]A1002[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]16.5[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]05-09-2017[/TD]
[TD]WZS1020F[/TD]
[TD]A1003[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.75[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]05-09-2017[/TD]
[TD]ALM1685[/TD]
[TD]A1002[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.1[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]05-09-2017[/TD]
[TD]ALM2118[/TD]
[TD]A1002[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]16.2[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]05-09-2017[/TD]
[TD]ALM2118[/TD]
[TD]A1003[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.4[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]03-09-2017[/TD]
[TD]ZOM4002[/TD]
[TD]A1002[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.25[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]SALES[/TD]
[TD="align: right"]05-09-2017[/TD]
[TD]ZOM4002[/TD]
[TD]A1002[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.25[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]RETURN[/TD]
[TD="align: right"]01-09-2017[/TD]
[TD]ALM2118[/TD]
[TD]A1003[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]16.8[/TD]
[/TR]
[TR]
[TD]RETURN[/TD]
[TD="align: right"]01-09-2017[/TD]
[TD]ALM1685[/TD]
[TD]A1002[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.1[/TD]
[/TR]
[TR]
[TD]RETURN[/TD]
[TD="align: right"]02-09-2017[/TD]
[TD]ALM2118[/TD]
[TD]A1002[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.1[/TD]
[/TR]
[TR]
[TD]RETURN[/TD]
[TD="align: right"]02-09-2017[/TD]
[TD]ALM2118[/TD]
[TD]A1003[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.4[/TD]
[/TR]
[TR]
[TD]RETURN[/TD]
[TD="align: right"]05-09-2017[/TD]
[TD]ALM1685[/TD]
[TD]A1003[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]8.4[/TD]
[/TR]
</tbody>[/TABLE]