Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15263

Copying data from different sheet to sheet 1 on Excel

$
0
0
Hi...I have some reports with data on 2 sheets. The first tab is named as the department like for example 4444 and the second sheet which has payment details is named like 4444DT.

What I want to do is that on the first sheet under the GRAND TOTAL after 3 blank rows is copy the data from 17 up to the Pay Total line (as per attached sample) but to exclude any rows where it says Temp or Agency in the description.
The length of the rows will vary report to report but they will all have PAY TOTAL and GRAND TOTAL on the reports. If there is no data for the PAY section then it should carry on to the next one.
I want to copy the data in columns A and B to the new section at the bottom. Then from the second tab (4444DT in the attached example) I want to copy across the totals in column J across to column C in the new section on the first sheet.
On the first sheet the code and the description in in one column so I will need the first 4 left characters to be used to lookup the code column on the second sheet (4444DT) so the correct figures copy across.

On the new section I would like to add a title "Variation" and name the 3 columns as per the attached example.

To make it more clearer I have attached a worked example.

I'd really appreciate help with this please. Thanks.
Attached Files

Viewing all articles
Browse latest Browse all 15263


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>