Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 119
Default Compare EE #s & Copy Info

I'm for a formula that will compare 2 columns and copy an adjacent column if
they match. In the example below, I would compare the EE#s in columns B and
c and if they match, it would copy the name in column A to column D.

A B C D
Name EE# EE# Desired Result
Tom 24 11 Tony
Bill 36 24 Tom
Tony 11 36 Bill
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Compare EE #s & Copy Info

Try this in D2:

=INDEX($A$2:$A$50,MATCH(C2,$B$2:$B$50,0))

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Steve C" wrote in message
...
I'm for a formula that will compare 2 columns and copy an adjacent column
if
they match. In the example below, I would compare the EE#s in columns B
and
c and if they match, it would copy the name in column A to column D.

A B C D
Name EE# EE# Desired Result
Tom 24 11 Tony
Bill 36 24 Tom
Tony 11 36 Bill



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 119
Default Compare EE #s & Copy Info

Perfect. Thanks.

"RagDyer" wrote:

Try this in D2:

=INDEX($A$2:$A$50,MATCH(C2,$B$2:$B$50,0))

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Steve C" wrote in message
...
I'm for a formula that will compare 2 columns and copy an adjacent column
if
they match. In the example below, I would compare the EE#s in columns B
and
c and if they match, it would copy the name in column A to column D.

A B C D
Name EE# EE# Desired Result
Tom 24 11 Tony
Bill 36 24 Tom
Tony 11 36 Bill




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Compare EE #s & Copy Info

You're welcome, and thanks for the feed-back.
--

Regards,

RD
-----------------------------------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
-----------------------------------------------------------------------------------------------

"Steve C" wrote in message
...
Perfect. Thanks.

"RagDyer" wrote:

Try this in D2:

=INDEX($A$2:$A$50,MATCH(C2,$B$2:$B$50,0))

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Steve C" wrote in message
...
I'm for a formula that will compare 2 columns and copy an adjacent
column
if
they match. In the example below, I would compare the EE#s in columns B
and
c and if they match, it would copy the name in column A to column D.

A B C D
Name EE# EE# Desired Result
Tom 24 11 Tony
Bill 36 24 Tom
Tony 11 36 Bill






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
Compare and group like numbers and info John L[_2_] Excel Worksheet Functions 5 April 3rd 07 04:42 PM
How do I compare info in on sheet to info in another? Fanney Excel Discussion (Misc queries) 7 February 25th 06 02:16 AM
Compare 2 Sheets and Extract Unique Info to a 3rd Sheet kilo1990 Excel Discussion (Misc queries) 7 December 19th 05 10:36 PM
compare info in 4 worksheets and highlight fields that are the sam Ellen Excel Worksheet Functions 3 October 25th 05 10:16 PM
compare columns of info john mcmichael Excel Discussion (Misc queries) 0 August 19th 05 07:17 PM


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