Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default compair 2 excel file's and import data from 1 to the other

Going to try explain

i have 1 excel file with 2 sheet

In the first sheet i only have 1 colom with 100 ticketnr's and in the other
sheet i have the sameticketnr's but also from other countries with more data
f.e. users name,comment's,....

What i want to do is that a "macro/... checked if a ticketnr from sheet 1
excists in sheet 2 and if it is that all users data is copieed from sheet 2
to sheet 1. Is this possible ? And if i can f.e. only copy 3 cell's rom sheet
2 to sheet 1, so not all data
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 915
Default compair 2 excel file's and import data from 1 to the other

Steven Van Laethem wrote:
Going to try explain

i have 1 excel file with 2 sheet

In the first sheet i only have 1 colom with 100 ticketnr's and in the other
sheet i have the sameticketnr's but also from other countries with more data
f.e. users name,comment's,....

What i want to do is that a "macro/... checked if a ticketnr from sheet 1
excists in sheet 2 and if it is that all users data is copieed from sheet 2
to sheet 1. Is this possible ? And if i can f.e. only copy 3 cell's rom sheet
2 to sheet 1, so not all data


You can use probably use VLOOKUP for this.

Suppose in Sheet2 columns A-C have ticketnr, name, comments.

Suppose further in Sheet1 column A has ticketnr with the first value in A2.

In Sheet1 B2: =VLOOKUP(A2,Sheet2!$A:$C,2,FALSE)
(this will return the name)

In Sheet1 C2: =VLOOKUP(A2,Sheet2!$A:$C,3,FALSE)
(this will return the comment)

Fill these formulas down as far as needed. They will return #N/A when no
matching ticketnr is found in Sheet2.
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
How to consolidate 580 file's data in 1 sheet without oppening all Amit Mahar Excel Worksheet Functions 1 April 23rd 09 01:36 PM
How to Start Excel in Text Import Wizard for data import rlelvis Setting up and Configuration of Excel 0 July 10th 08 08:40 PM
Compair two sheets and return differences Don Excel Discussion (Misc queries) 0 January 21st 08 01:37 AM
need to compair two excell docs and find the changes Richard 66 Excel Discussion (Misc queries) 2 August 10th 06 09:52 PM
How do I list a folder of "Excel file's names" to an Excel spdsht ROD Excel Discussion (Misc queries) 4 December 29th 05 12:47 AM


All times are GMT +1. The time now is 03:51 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"