Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default match and copy data


i have 2 files, Information.xls & 822.xls,
below are the sample data of the following 2 files,

-----------------------822.xls----------------------------
Mod--------Descrip------------------------------Facility----Time-----Day

IT1122-----Object Oriented Programming----------LTQ-9-----9.00am--Wed

IT2233-----Excel Programming--------------------LTQ-6-----1.00pm--Tues



----------------------Information.xls----------------------
Mod--------Descrip------------------------------Facility----Time-----Day

IT1122

IT2233


the program will look for all the Mod that contains the text "IT" and
then it will copy all the data under the Column "Facility", "Time",
"Day" which are "LTQ-9", "9.00am", "Wed" and paste into Information.xls
under the same "IT1122" under the Column "Facility", "Time", "Day"

any idea how to get it done?


--
new_to_vba
------------------------------------------------------------------------
new_to_vba's Profile: http://www.excelforum.com/member.php...o&userid=30131
View this thread: http://www.excelforum.com/showthread...hreadid=510440

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default match and copy data


there's so many experts here..
yet no 1 able to help?


--
new_to_vba
------------------------------------------------------------------------
new_to_vba's Profile: http://www.excelforum.com/member.php...o&userid=30131
View this thread: http://www.excelforum.com/showthread...hreadid=510440

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,339
Default match and copy data

Hi,
You could use Data==Filter ==Autofilter from Excel toolbar.

Select the columns, and for "Mod" column, click on the arrow, select
"Custom" and in the next message box, in "Show rows where" box value is
"Begins with" and value in the ajoining box is "IT" (no quotes required).
Click OK.

Then copy and paste these selected rows to your new worksheet.

HTH

"new_to_vba" wrote:


there's so many experts here..
yet no 1 able to help?


--
new_to_vba
------------------------------------------------------------------------
new_to_vba's Profile: http://www.excelforum.com/member.php...o&userid=30131
View this thread: http://www.excelforum.com/showthread...hreadid=510440


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default match and copy data

Hi
You should use the vlookup function. All you need to do is put Vlookup
formulas in 822.xls for each of Facility----Time-----Day.

How to write Vlookup formulas... You can get many posts on this
topic...
Here is one:

http://groups.google.co.in/group/Exc...8a897b9278e048

Karthik Bhat

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to copy and match data from one workbook to another workbook clc_80 Excel Worksheet Functions 1 April 6th 10 11:41 PM
copy data for match word from one file to another file mishak Excel Worksheet Functions 1 December 2nd 09 02:11 AM
Find match between cells and copy data Kcope8302 Excel Worksheet Functions 7 September 18th 09 11:55 PM
When data match, copy adjacent value to adjacent column slimbim Excel Worksheet Functions 2 November 8th 06 08:41 PM
how to copy old price data onto new stock list if match exists? julan Excel Discussion (Misc queries) 2 June 28th 05 03:49 PM


All times are GMT +1. The time now is 09:27 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"