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
asp.net: How to determine if a when a user login. is an Admin Account, * the menu is selected to show admin pages & reports.
How to store user pictures in Active Directory (2008 R2 forest functional level)
With regards to correlated subqueries does anybody know what the logical query processing order?
Should I make a Drupal Theme from scratch?
DFS on Windows Server 2003
creating image using coldfusion
windows XP - Multimedia Audio Controller missing - drivers?
How to monitor users on WSS 3.0
VPN 721 error
VB.NET Setup Installing App Files Without Asking What Folder to Install