• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

formula to remove duplicate wording in columns|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / formula to remove duplicate wording in columns|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…formula to remove duplicate wording…
sp_PrintTopic sp_TopicIcon
formula to remove duplicate wording in columns
Avatar
Wayne Tey

Active Member
Members
Level 0
Forum Posts: 4
Member Since:
April 22, 2020
sp_UserOfflineSmall Offline
1
April 22, 2020 - 11:37 pm
sp_Permalink sp_Print sp_EditHistory

Question 1

Column 1

NO.1 JALAN IMPIAN TIGA TAMAN IMPIAN

Column 2

81500 PEKAN NANAS

Column 3

JOHOR

Column 4

81500

Column 5

JALAN IMPIAN

Correct one

NO.1 JALAN IMPIAN TIGA TAMAN IMPIAN 81500 PEKAN NANAS JOHOR

how to set the formula following by  queue by wording. like No. (1st queue) Jalan (2nd queue) Taman (3rd queue) 81500 PEKAN NANAS JOHOR (4th queue)

 

Question 2

Column 1

LOT 1271

Column 2

Column 3

LORONG 2 KIRI

Column 4

JALAN GONG PASIR

Column 5

Column 6

23000 DUNGUN

Column 7

TERENGGANU

Column 8

JALAN GONG PASIR

 

this is Correct one

LOT 1271 LORONG 2 KIRI JALAN GONG PASIR 23000 DUNGUN TERENGGANU

Avatar
Purfleet
England
Member
Members


Trusted Members
Level 4
Forum Posts: 412
Member Since:
December 20, 2019
sp_UserOfflineSmall Offline
2
April 23, 2020 - 4:57 am
sp_Permalink sp_Print

Hi

It is much easier to work on a formula if you attach a workbook so we can see exactly how the data is setup and we don’t need to spend time creating the data.

That said I think the below would work but it will need testing

column I - put a single space
column J - concatenate all the columns with a space in between =A1&I1&B1&I1&C1&I1&D1&I1&E1&I1&F1&I1&G1&I1&H1
column K - Substitute the second version of columns d through to h, so each substitute works on the previous one =SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(J1,D1,"",2),E1,"",2),F1,"",2),G1,"",2),H1,"",2)

Purfleet

Avatar
Wayne Tey

Active Member
Members
Level 0
Forum Posts: 4
Member Since:
April 22, 2020
sp_UserOfflineSmall Offline
3
April 24, 2020 - 12:02 am
sp_Permalink sp_Print sp_EditHistory

hi Purfleet, the atachment was missing. still dont understand. May I know what is the 2 meaning?

=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(J1,D1,"",2),E1,"",2),F1,"",2),G1,"",2),H1,"",2)Laugh

thanks

 

COLUMN

       B                 C             D                E                 F                      G                          H                            I                              J

column J - concatenate all the columns

B & C IS NAME AFTER IT IS BELONG FOR ADDRESS

1. HOW TO REMOVE THE G & I DUPLICATE?

2. SOME WORDINGS FROM COLUMN B AND C MAYBE NOT IN G & I ONLY WILL BETWEEN IN COLUMN D - I .

DUE TO THE DATA 90% ADDRESS WILL DUPLICATE WORDINGS FROM COLUMN B AND C.

Avatar
Philip Treacy
Admin
Level 10
Forum Posts: 1510
Member Since:
October 5, 2010
sp_UserOfflineSmall Offline
4
April 24, 2020 - 10:36 am
sp_Permalink sp_Print

Wayne,

Please attach your workbook.  I emailed you directly yesterday asking you to do this.

The 2 in SUBSTITUTE indicates which instance of the text to replace.  You can read about this here

SUBSTITUTE Function

Using SUBSTITUTE to Find and Count Text

Regards

Phil

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Andy Kirby, Ben Hughes, Alison West, Jill Niemeier, Laxmi Praveen, Francis Drouillard
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
yashal minahil
Oluwadamilola Ogun
Yannik H
dectator mang
Francis Drouillard
Orlando Inocente
Jovitha Clemence
Maloxat Axmatovna
Ricardo Freitas
Marko Meglic
Forum Stats:
Groups: 3
Forums: 24
Topics: 6201
Posts: 27185

 

Member Stats:
Guest Posters: 49
Members: 31861
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.