tinylitledragon
New Member
- Joined
- Nov 5, 2013
- Messages
- 5
hello good people,
please help me. my problem is:
Let´s say sheet - "delivery" - has a row1 that includes all possible delivery days. So A1 is 1.9.2013, B1 is 15.9.2013, C1 is 1.10.2013 and so on.
I want to make a macro, that will gradually go through whole row 3 in sheet "delivery" and look for "A1" date in sheet "Orders". Sheet "orders" have for example in column B the date of delivery, and in column C product of the delivery.
I want the macro to find all deliveries with "A1" date, and paste all products that will be delivered on this day under cell A1 (sheet delivery). then move on to the cell B1 (sheet delivery) - find all orders in sheet orders, that will be delivered on B1 date, and list all products with this delivery date under cell B1 (sheet delivery).
Example:
Sheet order[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Date of delivery[/TD]
[TD]Product[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]1.9.2013[/TD]
[TD]orange[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]1.10.2013[/TD]
[TD]paper[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]1.9.2013[/TD]
[TD]pencil[/TD]
[/TR]
</tbody>[/TABLE]
Sheet delivery
[TABLE="width: 500"]
<tbody>[TR]
[TD]1.9.2013[/TD]
[TD]15.9.2013[/TD]
[TD]1.10.2013[/TD]
[/TR]
[TR]
[TD]orange[/TD]
[TD][/TD]
[TD]paper[/TD]
[/TR]
[TR]
[TD]pencil[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Can anybody help? Unfortunately simple Pivot table is not able to do this simple list.
Thank you!
please help me. my problem is:
Let´s say sheet - "delivery" - has a row1 that includes all possible delivery days. So A1 is 1.9.2013, B1 is 15.9.2013, C1 is 1.10.2013 and so on.
I want to make a macro, that will gradually go through whole row 3 in sheet "delivery" and look for "A1" date in sheet "Orders". Sheet "orders" have for example in column B the date of delivery, and in column C product of the delivery.
I want the macro to find all deliveries with "A1" date, and paste all products that will be delivered on this day under cell A1 (sheet delivery). then move on to the cell B1 (sheet delivery) - find all orders in sheet orders, that will be delivered on B1 date, and list all products with this delivery date under cell B1 (sheet delivery).
Example:
Sheet order[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Date of delivery[/TD]
[TD]Product[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]1.9.2013[/TD]
[TD]orange[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]1.10.2013[/TD]
[TD]paper[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]1.9.2013[/TD]
[TD]pencil[/TD]
[/TR]
</tbody>[/TABLE]
Sheet delivery
[TABLE="width: 500"]
<tbody>[TR]
[TD]1.9.2013[/TD]
[TD]15.9.2013[/TD]
[TD]1.10.2013[/TD]
[/TR]
[TR]
[TD]orange[/TD]
[TD][/TD]
[TD]paper[/TD]
[/TR]
[TR]
[TD]pencil[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Can anybody help? Unfortunately simple Pivot table is not able to do this simple list.
Thank you!