Microsoft
Software
Hardware
Network
Question : Copy/Paste with criteria
Hi there,
If anyone can assist it would be greatly appreciated.
I'm trying to get the information from sheet 1 split into either TempReport or PermReport based on the criteria in column E which is the word Temp. If the word TEMP is found in column E than it needs to copy the appropriate row of data to the worksheet TEMPREPORT. The difficulty is that its not a straight copy and paste. Sheet 1 has information not required by TEMPREPORT and its also not in the exact order. Additionally a concatenation is also required for first name and last name so it can be placed in one field etc.
Secondly tHe rest of the data goes to PERMREPORT where column E does not have the word TEMP. Again, it is not a straight copy and paste as sheet 1 has information not required by PERMREPORT and its also not in the exact same order etc.
I have provided a sample of dummy data to explain what I am after and highlighted the results for which it should look like once the macro is working. hopefully this will help. I can only imagine how hard it is trying to make out everyones scenarios so to assist with code.
I am extremely thankful for any prompt assistance as I am a newbie and I have spent the last 3 days trying to work this out.
Attachments:
Sample.xlsx
(10 KB)
(File Type Details)
Sample file Attached
Answer : Copy/Paste with criteria
Here is the file with the macro in it. I didn't know where you got the AU1 from, though.
Random Solutions
Microsoft Windows XP Repair Instalation Stuck
Loan application function
Memory Advanced ECC Mode with Mixed DIMM Capacities on Dell R710 PowerEdge
MS DNS Server - need to resolve all domains to one iternal IP address
Single sign-on using RADIUS
Financial Year Function/Calculation ASP.NET
Validation JS Error in FireFox Only
How do I handle AutoCAD events by a Delphi program?
Delphi 6 not recompiling .pas files
AMD Athlon II X4 vs. AMD Phenom II X4