Go Back  PPRuNe Forums > Misc. Forums > Computer/Internet Issues & Troubleshooting
Reload this Page >

Excel 'Text to Columns' question

Wikiposts
Search

Notices
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

Excel 'Text to Columns' question

Thread Tools
 
Search this Thread
 
Old 2nd November 2006 | 10:42
  #1 (permalink)  
Thread Starter
 
Joined: Feb 2006
Posts: 216
Likes: 0
From: Here and there
Excel 'Text to Columns' question

Hi guys,
I'm currently building a macro to update a spreadsheet with data from another spreadsheet whenever it is opened by the user. This in itself is not a problem, but part of what I would like the macro to do is to automatically break down coordinates in the format 'N51 50.22' from one cell and split it over 4 cells in the format 'N 51 50 22'. So far, I havn't been able find a forumla to do this automatically, the only way i've found is to select the 'Text to Columns' function from the 'Data' menu in Excel. Does anyone have any idea how I can do this automatically?
Thanks,

Ox
Oxeagle is offline  
Reply
Old 2nd November 2006 | 11:04
  #2 (permalink)  
Administrator
 
Joined: Mar 2001
Aviation Qualifications: PPL
Posts: 8,121
Likes: 686
From: Twickenham, home of rugby
You can do this with the TEXT string functions in Excel - Left, Right, Len, Clean etc.

SD
Saab Dastard is offline  
Reply
Old 2nd November 2006 | 15:00
  #3 (permalink)  
Thread Starter
 
Joined: Feb 2006
Posts: 216
Likes: 0
From: Here and there
Perfect That set me off in the right direction, looked up the text manipulation formulae that you mentioned and voila! It works flawlessly now.

Many thanks for your help SD
Oxeagle is offline  
Reply

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



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.