Hi Friends,
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]key[/TD]
[TD]Qty[/TD]
[TD]Related Products[/TD]
[TD]Related Cost[/TD]
[TD]Invoiced at[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]-1[/TD]
[TD]CAR[/TD]
[TD]100$[/TD]
[TD]Jan[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]-1[/TD]
[TD]CAR[/TD]
[TD]150$[/TD]
[TD]Jan[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]0[/TD]
[TD]CAR[/TD]
[TD]170$[/TD]
[TD]Feb[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]1[/TD]
[TD]Bike[/TD]
[TD]50$[/TD]
[TD]Feb[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD]1[/TD]
[TD]Bike[/TD]
[TD]40$[/TD]
[TD]Feb[/TD]
[/TR]
[TR]
[TD]F[/TD]
[TD]1[/TD]
[TD]Cycle[/TD]
[TD]20$[/TD]
[TD]Mar[/TD]
[/TR]
</tbody>[/TABLE]
This is my sheet and i want to automate 3 tasks using VBA . Can someone please help me to do this .
1. Generate a summary page which displays sum of count against each product on column Related Product and Sum of Related Cost .
2. Split complete data to different work sheet on basis of column Invoiced At .
3. Highlight rows which has column QTY value less than 0.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]key[/TD]
[TD]Qty[/TD]
[TD]Related Products[/TD]
[TD]Related Cost[/TD]
[TD]Invoiced at[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]-1[/TD]
[TD]CAR[/TD]
[TD]100$[/TD]
[TD]Jan[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]-1[/TD]
[TD]CAR[/TD]
[TD]150$[/TD]
[TD]Jan[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]0[/TD]
[TD]CAR[/TD]
[TD]170$[/TD]
[TD]Feb[/TD]
[/TR]
[TR]
[TD]D[/TD]
[TD]1[/TD]
[TD]Bike[/TD]
[TD]50$[/TD]
[TD]Feb[/TD]
[/TR]
[TR]
[TD]E[/TD]
[TD]1[/TD]
[TD]Bike[/TD]
[TD]40$[/TD]
[TD]Feb[/TD]
[/TR]
[TR]
[TD]F[/TD]
[TD]1[/TD]
[TD]Cycle[/TD]
[TD]20$[/TD]
[TD]Mar[/TD]
[/TR]
</tbody>[/TABLE]
This is my sheet and i want to automate 3 tasks using VBA . Can someone please help me to do this .
1. Generate a summary page which displays sum of count against each product on column Related Product and Sum of Related Cost .
2. Split complete data to different work sheet on basis of column Invoiced At .
3. Highlight rows which has column QTY value less than 0.
Last edited: