Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Rod Rod is offline
external usenet poster
 
Posts: 108
Default separation alpha numerics

Hi

I have the data as shown below

123456.tif
123-456-1.tif
123456-1.tif
12345.tif
123456tif
123456a.tif

I need the first 6 numbers in column B
Please help me

Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 410
Default separation alpha numerics

On Jan 20, 11:08*am, Rod wrote:
Hi

I have the data as shown below

123456.tif
123-456-1.tif
123456-1.tif
12345.tif
123456tif
123456a.tif

I need the first 6 numbers in column B
Please help me

Thanks in advance.


=left("Whatever cell you are looking at,6)*1 Soemtimes you ahve to
multiply times 1 so that it turns it into a number.
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 506
Default separation alpha numerics

Try this...

=VALUE(SUBSTITUTE(MID(A1,MATCH(TRUE,ISNUMBER(1*MID (A1,ROW($1:$9),1)),0),COUNT(1*MID(A1,ROW($1:$9),1) )),"-",""))

This is an array function so after pasting the formula press F2 and give
Cntrl+Shift+Enter.

Remember to Click Yes, if this post helps!

--------------------
(Ms-Exl-Learner)
--------------------


"Rod" wrote:

Hi

I have the data as shown below

123456.tif
123-456-1.tif
123456-1.tif
12345.tif
123456tif
123456a.tif

I need the first 6 numbers in column B
Please help me

Thanks in advance.

  #4   Report Post  
Posted to microsoft.public.excel.misc
Rod Rod is offline
external usenet poster
 
Posts: 108
Default separation alpha numerics

Excellent, Many more thanks
Please help me for below one also.
123-46-7.tif

Is there any way to replace "-", "_", "tif" at a time in the single formula.

Thanks in advance

"Ms-Exl-Learner" wrote:

Try this...

=VALUE(SUBSTITUTE(MID(A1,MATCH(TRUE,ISNUMBER(1*MID (A1,ROW($1:$9),1)),0),COUNT(1*MID(A1,ROW($1:$9),1) )),"-",""))

This is an array function so after pasting the formula press F2 and give
Cntrl+Shift+Enter.

Remember to Click Yes, if this post helps!

--------------------
(Ms-Exl-Learner)
--------------------


"Rod" wrote:

Hi

I have the data as shown below

123456.tif
123-456-1.tif
123456-1.tif
12345.tif
123456tif
123456a.tif

I need the first 6 numbers in column B
Please help me

Thanks in advance.

  #5   Report Post  
Posted to microsoft.public.excel.misc
Rod Rod is offline
external usenet poster
 
Posts: 108
Default separation alpha numerics

Thanks, but I need 6 numbers

"jlclyde" wrote:

On Jan 20, 11:08 am, Rod wrote:
Hi

I have the data as shown below

123456.tif
123-456-1.tif
123456-1.tif
12345.tif
123456tif
123456a.tif

I need the first 6 numbers in column B
Please help me

Thanks in advance.


=left("Whatever cell you are looking at,6)*1 Soemtimes you ahve to
multiply times 1 so that it turns it into a number.
.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 506
Default separation alpha numerics

Now only I have seen your reply and thanks for feeding back.

Use the formula like the below...

=SUBSTITUTE(MID(A2,MATCH(TRUE,ISNUMBER(1*MID(A2,RO W($1:$9),1)),0),COUNT(1*MID(A2,ROW($1:$9),1))),"-","_")

This is an array function so after pasting the formula press F2 and give
Cntrl+Shift+Enter.

Remember to Click Yes, if this post helps!

--------------------
(Ms-Exl-Learner)
--------------------


"Rod" wrote:

Excellent, Many more thanks
Please help me for below one also.
123-46-7.tif

Is there any way to replace "-", "_", "tif" at a time in the single formula.

Thanks in advance

"Ms-Exl-Learner" wrote:

Try this...

=VALUE(SUBSTITUTE(MID(A1,MATCH(TRUE,ISNUMBER(1*MID (A1,ROW($1:$9),1)),0),COUNT(1*MID(A1,ROW($1:$9),1) )),"-",""))

This is an array function so after pasting the formula press F2 and give
Cntrl+Shift+Enter.

Remember to Click Yes, if this post helps!

--------------------
(Ms-Exl-Learner)
--------------------


"Rod" wrote:

Hi

I have the data as shown below

123456.tif
123-456-1.tif
123456-1.tif
12345.tif
123456tif
123456a.tif

I need the first 6 numbers in column B
Please help me

Thanks in advance.

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 sort alpha neumeric fields that have an alpha suffix? Bob Sparks Excel Worksheet Functions 3 May 31st 09 05:17 AM
change rows and colums to display alpha instead of numerics rabbit Excel Discussion (Misc queries) 1 March 31st 09 03:55 PM
Extract Numerics only Corey Excel Discussion (Misc queries) 39 January 9th 08 10:16 PM
A smart way to parse alpha numerics? mtbakerstu Excel Discussion (Misc queries) 4 May 5th 06 09:55 PM
The colums changed from alpha to numeric how do you make it alpha worldmade Excel Discussion (Misc queries) 2 May 26th 05 03:44 PM


All times are GMT +1. The time now is 04:54 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"