Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Removing multiple duplicate events

Hi,

You may try this array formula (Ctrl+Shift+Enter)

=TRIM(LEFT(A7,MAX(IF(ISNUMBER(SEARCH(B1:B165,A7)), SEARCH(B1:B165,A7)))-1))

--
Regards,

Ashish Mathur
Microsoft Excel MVP

"Father John" wrote in message
...
Ashish
The only problem is the data in col. B is a list of the suburbs in a
region and your formula relies by chance as one of the suburbs being on
the same line in the sheet
It would need to say if any of the data in col b. = the same as col a.
delete it from col. A

Many thanks
Stephen


"Ashish Mathur" wrote in message
...
Hi,

Assume 15 Smith Street Blacktown is in cell A7. In cell C7, enter the
following formula

=TRIM(LEFT(A7,SEARCH(B7,A7)-1))

--
Regards,

Ashish Mathur
Microsoft Excel MVP

"Father John" wrote in message
...
Hi

I have a spreadsheet that has a complete address in one column (a)
In column (b) (B1:B165) I have the name of the suburbs I wish to remove
from col (a)

Start
Col (A)
15 Smith Street Blacktown

Col (B7) contains the suburb Blacktown (I have 165 suburbs in this
column)

I want to remove that same data from (A) so I just end up with 15 Smith
Street.

Any ideas?

Thanks in advance - Stephen



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
removing duplicate entries in multiple worksheets monkeytrader Excel Worksheet Functions 1 July 8th 08 06:24 AM
Removing duplicate rows Roger Bell New Users to Excel 2 January 4th 08 01:25 PM
Removing duplicate entries Roger Bell New Users to Excel 2 June 23rd 07 10:20 AM
How to remove duplicate events in column Scott New Users to Excel 7 March 30th 06 04:54 PM
removing duplicate rows exceluser2 Excel Discussion (Misc queries) 1 March 2nd 06 09:01 AM


All times are GMT +1. The time now is 08:51 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"