LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Duplicate rows, put in another value

I'm not proficient in macros, so I was looking for a function that will look
for duplicates and mark one of them so I can delete it but then put in the
combined mail name.

My data looks like this:
ConsID CombinedName AddrName Final Mailing Name
01234 Mr. and Mrs. Joe Smith Mr. Joe Smith Mr. Joe Smith
01243 Mr. and Mrs. Joe Smith Mrs. Joe Smith delete
01235 Mrs. Henry Doe Mrs. Henry Doe

When I combine Mr. Joe Smith and Mrs. Joe Smith, I want the Final Mailing
Name to read Mr. and Mrs. Joe Smith because it will be going to both of them.

The final result would be:
ConsID CombinedName AddrName Final Mailing Name
01234 Mr. and Mrs. Joe Smith Mr. Joe Smith Mr. and Mrs. Joe Smith
01243 Mr. and Mrs. Joe Smith Mrs. Joe Smith delete
01235 Mrs. Henry Doe Mrs. Henry Doe

I've been using
=if (A2=B2, "Delete","")
but I can't figure out how to pull the combined name into another column?

Thanks- I hope this makes sense.





 
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
duplicate rows Gary Reger Excel Discussion (Misc queries) 0 June 15th 06 01:13 AM
Duplicate Rows jdkapa Setting up and Configuration of Excel 0 December 5th 05 12:50 AM
Duplicate rows [email protected] Excel Worksheet Functions 5 December 1st 05 03:28 PM
Duplicate Rows instauratio Excel Discussion (Misc queries) 1 June 6th 05 08:36 PM
Duplicate Rows TO Excel Worksheet Functions 2 November 12th 04 06:55 PM


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