LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Junior Member
 
Posts: 2
Default Search cell value in same column

I have a huge excel sheet where i need to find the address of duplicate cell value in a column.
I have given an example below, where Column B returns the address of duplicate value found in Column A. Could you please help by providing the formula for Column B result? VBA is also fine.

| A | B
1 | Apple | A4
2 | Orange | A6
3 | Mango | no-match
4 | Apple | A1
5 | Grapes | no-match
6 | Orange | A2
7 | Pineapple | no-match

I used the formula "=ADDRESS(MATCH(A1,(($A$1:$A$7)),0)+ROW($A$1)-1,COLUMN($A$1:$A$7),4)", which returned the cell address of same cell that is being searched.

Apple | A1
Orange | A2
Mango | A3
Apple | A1
Grapes | A5
Orange | A2
Pineapple | A7

I did enough search over internet, but could not find. In the above formula, I just need to ignore searching for the cell being searched. Please help.

Last edited by mdIsmailkm : November 2nd 13 at 07:29 AM Reason: Format of the table provided is not appropriate. it removed more spaces with one space
 
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
Search the column and return a cell value lilianld Excel Programming 15 February 20th 10 11:33 PM
Search for first empty cell in column Patrick C. Simonds Excel Programming 3 August 28th 09 11:07 PM
SEARCH COLUMN BY NAME THEN DISPLAY CELL ON SAME ROW RAZ Excel Worksheet Functions 3 March 11th 07 08:22 PM
Loop through column headers to search from column name and get cell range Pie Excel Programming 9 December 29th 05 12:17 AM
search column for specific cell using vba dave91 Excel Programming 1 July 30th 05 05:59 PM


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