Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 41
Default How to find duplicate cells in Column a & retrieve column B

How to find duplicate cells in Column a & retrieve column B
A B C D E
1 abc cba =vlookup(c1,a1:a4,1,false) 2
2 cba€¦€¦€¦€¦€¦€¦€¦€¦€¦€¦€¦€¦€¦€¦€¦€ ¦€¦€¦

What I want to do is retrieve the A value in E according to the value in D1?€ƒ

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 161
Default How to find duplicate cells in Column a & retrieve column B

Hi, I assume u want to display 2 in E1 as u r looking for cba in column B,
right?
Formula u need to insert in E1 may be: =SUM((C1=B1:B2)*A1:A2), then press
ctrl+shift+enter (array formula)

"ghost" wrote:

How to find duplicate cells in Column a & retrieve column B
A B C D E
1 abc cba =vlookup(c1,a1:a4,1,false) 2
2 cba€¦€¦€¦€¦€¦€¦€¦€¦€¦€¦€¦€¦€¦€¦€¦€ ¦€¦€¦

What I want to do is retrieve the A value in E according to the value in D1?€ƒ

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 144
Default How to find duplicate cells in Column a & retrieve column B

Vlookup doesn't look up value to the left of the table.
Assume that you have no header row and data start at that row onward.
Further assume that you place the lookup value in D1 and not C1

Try this non array formula, copy and paste the formula to your target cell
in E1
=INDEX(A1:A10,MATCH(D1,B2:B10,0))

if you want to ignore #N/A when the lookup value does not exist

use this to return a msg - "Non-Exist"

=IF(ISNA(INDEX(A1:A10,MATCH(D1,B1:B10,0))),"Non-Exist",INDEX(A1:A10,MATCH(D1,B1:B10,0)))


--
Hope this is helpful

Appreciate that you provide your feedback by clicking the Yes button below
if this post have helped you.


Thank You

cheers, francis



"ghost" wrote:

How to find duplicate cells in Column a & retrieve column B
A B C D E
1 abc cba =vlookup(c1,a1:a4,1,false) 2
2 cba€¦€¦€¦€¦€¦€¦€¦€¦€¦€¦€¦€¦€¦€¦€¦€ ¦€¦€¦

What I want to do is retrieve the A value in E according to the value in D1?€ƒ

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
FIND DUPLICATE TEXT IN A COLUMN!!!!!!!!! HERNAN Excel Discussion (Misc queries) 1 October 16th 06 10:38 PM
Find the first Value in a Row and Retrieve the Header for That Column efernandes67 Excel Discussion (Misc queries) 1 January 18th 06 10:23 PM
How can I find duplicate numbers within a column? Ima Bee Ginner Excel Worksheet Functions 1 January 18th 06 09:18 PM
How to find the duplicate text from a column or from a row? Yohan Excel Discussion (Misc queries) 1 August 15th 05 09:05 AM
How can you find duplicate numbers in a column? Alvin Excel Worksheet Functions 1 January 15th 05 11:24 PM


All times are GMT +1. The time now is 06:59 AM.

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"