Copy Cells Based on Row and Column Criteria

alton

New Member
Joined
Oct 29, 2010
Messages
1
Firstly, what a great find this forum is - thank you in advance to all that will help! It seems I've bitten off more than I can chew with this project!

Our company is invoiced by third party suppliers, and we then have to charge these costs on to various companies within the group of companies. All costs that come in are plotted on an Excel sheet, a separate row for each cost (supplier, invoice number, description etc.) with the amount of the invoice plotted in a corresponding column based on which company we intend to charge these costs onto.

Monthly we manually prepare invoices for each of the companies we charge these costs onto. This invoices a lot of filtering, copying, pasting and formatting. We intend to use Excel to automate this process.

You can refer to the attached spreadsheet for an example of the reconciliation sheet that holds all the costs, and a sample invoice.

http://www.lagrandemoda.co.uk/Test.xls

As you can see, the costs are added to the reconciliation sheet in date order. When they are copied over to the invoice, we filter by whatever company we're invoicing (e.g. Company 123, Company ABC.) and then filter by supplier to pick up each cost in alpabetical order. This way, the invoice is prepared in alphabetical order, with each supplier as a sub-heading on the invoice, followed by all costs incurred by this supplier. If a row has a "H" or a "D" in the hold column, this invoice cannot be charged on and should not be copied across to the invoice.

This sequence is then repeated for each company in each column.

Can this be automated?

Your hints, tips, discussion, codes etc. would be much appreciated.

Alton
 
Last edited:

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

Forum statistics

Threads
1,216,462
Messages
6,130,781
Members
449,591
Latest member
sharmavishnu413

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
Back
Top