A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

comparing data and return only data that exsist in the 2 columns



 
 
Thread Tools Display Modes
  #1  
Old December 26th, 2003, 04:28 AM
victorwill
external usenet poster
 
Posts: n/a
Default comparing data and return only data that exsist in the 2 columns

1. I need help really bad. I made a default column
with a list of names(say A1:A10, these are names) and i
use a macro to import a text file with 3 columns (
D16, E1:E6, F1:E6). the first columns (D16) of the
imported file have some matching NAMES as the default
columns (A1:A10 but not all of the names) what i will
like to do is compare the defaulted columns names(A1:A10)
with the imported columns say(D16) and return names
that match with their corresponding columns on a new
columns. So my result should produce 3 columns. the
matching names and their additional imported two cells.
This fomula =IF(ISERROR(MATCH(A1,$C$1:$C$5,0)),"",A1)
only work if I need one column.thanks in advance
  #2  
Old December 26th, 2003, 05:22 PM
external usenet poster
 
Posts: n/a
Default comparing data and return only data that exsist in the 2 columns

how about another if formula in the column next to the
match formula column? Assuming the match formula is in
column G, column H can be =IF(G1="","",E1)

-----Original Message-----
1. I need help really bad. I made a default column
with a list of names(say A1:A10, these are names) and i
use a macro to import a text file with 3 columns (
D16, E1:E6, F1:E6). the first columns (D16) of the
imported file have some matching NAMES as the default
columns (A1:A10 but not all of the names) what i will
like to do is compare the defaulted columns names(A1:A10)
with the imported columns say(D16) and return names
that match with their corresponding columns on a new
columns. So my result should produce 3 columns. the
matching names and their additional imported two cells.
This fomula =IF(ISERROR(MATCH(A1,$C$1:$C$5,0)),"",A1)
only work if I need one column.thanks in advance
.

  #3  
Old December 27th, 2003, 12:13 AM
victorwill
external usenet poster
 
Posts: n/a
Default cI FOUND THE ANSWER THANKS EVERYONE

I FOUND THE ANSWER THANKS EVERYONE
-----Original Message-----
1. I need help really bad. I made a default column
with a list of names(say A1:A10, these are names) and i
use a macro to import a text file with 3 columns (
D16, E1:E6, F1:E6). the first columns (D16) of the
imported file have some matching NAMES as the default
columns (A1:A10 but not all of the names) what i will
like to do is compare the defaulted columns names

(A1:A10)
with the imported columns say(D16) and return names
that match with their corresponding columns on a new
columns. So my result should produce 3 columns. the
matching names and their additional imported two cells.
This fomula =IF(ISERROR(MATCH(A1,$C$1:$C$5,0)),"",A1)
only work if I need one column.thanks in advance
.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:22 AM.


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