Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default How can I remove 4 of 9 numbers from a cell for the whole column?

Example...

1234-56789 becomes 56789
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default How can I remove 4 of 9 numbers from a cell for the whole column?

Insert column to right of the column containing your data

Data==Text-to-Columns=Delimited=Other ..enter "-" (no quotes) then Finish.

Delete redundant data i.e one containing the 4 digits.

HTH

"RISXRAY" wrote:

Example...

1234-56789 becomes 56789

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default How can I remove 4 of 9 numbers from a cell for the whole colu

I formated the "-" in the cell by using custom formating (0000-00000), so
when I do the delimiting, it doesn't show the "-". My orginal number is
whole 123456789.

"Toppers" wrote:

Insert column to right of the column containing your data

Data==Text-to-Columns=Delimited=Other ..enter "-" (no quotes) then Finish.

Delete redundant data i.e one containing the 4 digits.

HTH

"RISXRAY" wrote:

Example...

1234-56789 becomes 56789

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default How can I remove 4 of 9 numbers from a cell for the whole colu

Aha.... I removed the formating and did the conversion by a "fixed width".
Works great. Thank you for the lead...

"Toppers" wrote:

Insert column to right of the column containing your data

Data==Text-to-Columns=Delimited=Other ..enter "-" (no quotes) then Finish.

Delete redundant data i.e one containing the 4 digits.

HTH

"RISXRAY" wrote:

Example...

1234-56789 becomes 56789

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default How can I remove 4 of 9 numbers from a cell for the whole colu

If your number is in A2, try this in a blank column:

=LEFT(A2,5)

which will return the values as text - if you want them as numbers, try
this:

=VALUE(LEFT(A2,5))

Copy the formula down for as many rows as you have data in column A.

Hope this helps.

Pete


RISXRAY wrote:
I formated the "-" in the cell by using custom formating (0000-00000), so
when I do the delimiting, it doesn't show the "-". My orginal number is
whole 123456789.

"Toppers" wrote:

Insert column to right of the column containing your data

Data==Text-to-Columns=Delimited=Other ..enter "-" (no quotes) then Finish.

Delete redundant data i.e one containing the 4 digits.

HTH

"RISXRAY" wrote:

Example...

1234-56789 becomes 56789




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default How can I remove 4 of 9 numbers from a cell for the whole colu

Sorry, you would need to use RIGHT rather than LEFT, but as you have
found another way to do it, it's irrelevant.

Pete

Pete_UK wrote:
If your number is in A2, try this in a blank column:

=LEFT(A2,5)

which will return the values as text - if you want them as numbers, try
this:

=VALUE(LEFT(A2,5))

Copy the formula down for as many rows as you have data in column A.

Hope this helps.

Pete


RISXRAY wrote:
I formated the "-" in the cell by using custom formating (0000-00000), so
when I do the delimiting, it doesn't show the "-". My orginal number is
whole 123456789.

"Toppers" wrote:

Insert column to right of the column containing your data

Data==Text-to-Columns=Delimited=Other ..enter "-" (no quotes) then Finish.

Delete redundant data i.e one containing the 4 digits.

HTH

"RISXRAY" wrote:

Example...

1234-56789 becomes 56789


Reply
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
HOW DO I DELETE NUMBERS IN A COLUMN out of each cell Completely Confused New Users to Excel 2 September 13th 06 09:23 PM
How can I remove diff. numbers from a cell combined with text Greg Excel Discussion (Misc queries) 5 February 28th 06 07:57 PM
Need to Improve Code Copying/Pasting Between Workbooks David Excel Discussion (Misc queries) 1 January 6th 06 03:56 AM
Positioning Numeric Values Resulting from 6 Column Array Formula Sam via OfficeKB.com Excel Worksheet Functions 2 January 5th 06 02:03 AM
up to 7 functions? ALex Excel Worksheet Functions 10 April 12th 05 06:42 PM


All times are GMT +1. The time now is 12:23 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"