Go Back   RIBnet Forums > RIB talk > Other stuff

Reply
 
Thread Tools Search this Thread
 
Old 23 November 2007, 08:12   #1
Member
 
Country: UK - England
Town: Solent
Length: 6m +
Join Date: Jan 2004
Posts: 4,219
Excel - technical question

I've got a spreadsheet of peoples details, including phone numbers. They are currently in normal format eg 01603 715872 - I need to change them to the international format 441603....Is there an easy way of doing this in excel, or do I need to change each one by hand
Tim M is offline   Reply With Quote
Old 23 November 2007, 08:27   #2
Member
 
Country: UK - England
Town: Exmouth, Devon
Length: no boat
Join Date: Oct 2004
Posts: 721
Assuming they are all UK numbers, in a different column put

="44"&mid(XXYY,2,99)
where XX=phone number column and YY=current row. Copy the formula down the new column.

Strips the first digit, takes the rest and puts 44 on the front. It won't add 90 spaces to the end.

If you have spaces in the numbers and need to remove them, that's a different matter.

I recommend you then copy the new column and paste the values only into a new column again.
__________________
www.allgadgets.co.uk
Tel 01395 227727
MikeCC is offline   Reply With Quote
Old 23 November 2007, 09:28   #3
Member
 
Country: UK - England
Town: Solent
Length: 6m +
Join Date: Jan 2004
Posts: 4,219
That works a treat, thanks
Tim M is offline   Reply With Quote
Old 23 November 2007, 22:46   #4
Member
 
Country: UK - England
Town: Gloucestershire
Boat name: Pigs Ear
Make: Osprey Vipermax
Length: 7m +
Engine: Honda 225
MMSI: 235090881
Join Date: Dec 2006
Posts: 3,132
Quote:
Originally Posted by MikeCC View Post
If you have spaces in the numbers and need to remove them, that's a different matter.
If you need to remove spaces use the replace function and hit the space bar then replace it with nothing. works everytime

Chris
Chris is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

RV & Travel Trailer Communities

Our RV & Travel Trailer sites encompasses virtually all types of Recreational Vehicles, from brand-specific to general RV communities.

» More about our RV Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002-2012 Social Knowledge, LLC All Rights Reserved.

All times are GMT. The time now is 17:54.


RIB News Delivered to your Email!

Stay up-to-date with RIB news in your inbox!

unsusbcribe at anytime with one click

Close [X]