consolidate data on one criteria and copy to other sheet

ellilio

New Member
Joined
Nov 23, 2017
Messages
1
hi, after a long time of searching I decided to post my question and ask for help.

I have a data like this from sales, and I should send it to invoice template for print. I want to create a macro
asking for invoice number to print. then send data to a template invoice on a sheet 2

Inv#DateDescQtyLengthWidthThicknessCubicM
1310/24/2017Oak212301550.01725
1310/24/2017Oak212501750.02125
1310/24/2017Oak212601850.02340
1310/24/2017Oak213001950.02850
1310/24/2017Pine53001550.11250
1310/24/2017Pine43001350.07800
1410/27/2017Oak112451550.0184
1410/27/2017Oak112451550.0184
1410/27/2017Oak212501650.0200
1410/27/2017Oak312601750.0221
1410/27/2017Oak212801850.0252
1410/27/2017Oak312551950.0242
1410/27/2017Pine53001550.1125

<colgroup><col><col><col span="4"><col><col></colgroup><tbody>
</tbody>

on sheet 2 invoice template it should look like this

invoice number 13


14 A B C
15 0.0904 4 Oak2
16 0.1905 9 pine


Thanks in advance
ellilio
 

Some videos you may like

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Watch MrExcel Video

Forum statistics

Threads
1,122,491
Messages
5,596,474
Members
414,070
Latest member
DuncanLucas

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top