• 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

Regarding Excel Formula hope can assist me|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Regarding Excel Formula hope can assist me|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…Regarding Excel Formula hope can as…
sp_PrintTopic sp_TopicIcon
Regarding Excel Formula hope can assist me
Avatar
Wayne Tey

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

if i have more than 200 mil database how to change raw contacts with a excel formula to convert those contact numbers to the country code before import to database? 

 

anyone can help me?

 

example

malaysia telco and singapore num mix have 4 row in excel

total 1 mil

but the num all mix together and without area code or missing code.

 

https://en.wikipedia.org/wiki/.....n_Malaysia 

 

Malaysia local state code is 

603 behind have 8 digit numbers

604  behind have 7 digit numbers

605  behind have 7 digit numbers 

606  behind have 7 digit numbers   

607  behind have 7 digit numbers     

6080  behind have 7 digit numbers   

6081  behind have 7 digit numbers     

6082  behind have 7 digit numbers       

6083  behind have 7 digit numbers   

6084  behind have 7 digit numbers     

6085  behind have 7 digit numbers    

6086  behind have 7 digit numbers  

6087  behind have 7 digit numbers  

6088  behind have 7 digit numbers     

6089  behind have 7 digit numbers   

609  behind have 7 digit numbers   

 

but the listing raw file start from left digit

maybe  03, 3, 04, 4 ,05, 5 ,06, 6, 07, 7 , 08, 8 and etc

 

malaysia mobile num

need change to 601

but listing raw file come with 

010

012

013

014

016

017

018

019

or

12

13

14

16

17

18

19

behind have 7 num

those raw contact need change to 6012, 6013,6014,6016,6017,6018,6019  

 

new telco listing start num from left

011

11

behind digit have 8 num  

need change to 6011

 

singapore num also same 

65 country code 

behind 8 digit number

the listing already missing left digit  

29x

28x

029x

028x

026x

26x

need change to 659, 658, 656  

Avatar
Purfleet
England
Member
Members


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

I am not really clear on what you want, I am guessing some type of conditional concatenation.

Can you just show one the issues and describe in a bit more detail?

Purfleet

Avatar
Frans Visser
Duivendrecht (near Amsterdam) - The Netherlands

VIP
Members
Level 2
Forum Posts: 346
Member Since:
April 21, 2015
sp_UserOfflineSmall Offline
3
April 26, 2020 - 12:46 am
sp_Permalink sp_Print

Hi Wayne, can you explain your Excel-file in combination with the text you wrote? I don't see the connection between those two?

So maybe in the file: what did you import (is that the data in column A, B and C)?

How do we know from which country this is and what you want to do with it?

How did you come to the orange columns E, F and G and is that the output you want, or is there something else you ask us to help with?

Frans

Avatar
Wayne Tey

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

Hi Frans,

I do my malaysia and singapore mobile and tel database but facing a lot of contact for change it, really spend a lot of time in this part.

column A and B is mix local num with singapore num. but different of total digit num. local tel also different digit num. 

Do you have any formula for those mix num?

for Example

start from left 16533881 / 016533881

need auto add 6 in front of the num 6016533881

10600191 / 010600191

need auto add 6 in front of the num 6010600191

malaysia mobile number will start from 010, 012, 013, 014, 016, 017, 019 (behind have 7 digit num)

011 (behind have 8 digit num)

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Tristram Sexton
Guest(s) 9
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: 6200
Posts: 27182

 

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.