Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 41
Default How to extract numbers from letters in cell?

Hi,

If I have a cell that contains numeric & alpha data. For example: ABC123 in
cell A1 what I want to do is, in B1123, in C1 A, in D1 B , and in E1
C. how

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default How to extract numbers from letters in cell?

In cells A1 thru E1 enter:
abc123
=RIGHT(A1,3)
=LEFT(A1,1)
=MID(A1,2,1)
=MID(A1,3,1)

--
Gary''s Student - gsnu200798
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default How to extract numbers from letters in cell?

On Wed, 6 Aug 2008 03:33:03 -0700, ghost
wrote:

Hi,

If I have a cell that contains numeric & alpha data. For example: ABC123 in
cell A1 what I want to do is, in B1123, in C1 A, in D1 B , and in E1
C. how


B1:

=LOOKUP(9.9E+307,--MID(A1,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},
A1&"0123456789")),ROW(INDIRECT("1:"&LEN(A1)))))

C1: =MID(SUBSTITUTE($A$1,$B$1,""),COLUMNS($A:A),1)

Fill C1 right to E1 (or as far as required to include all the letters)

--ron
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
Extract all letters from a cell sentence michaelxhermes Excel Worksheet Functions 5 December 14th 07 06:59 PM
how to extract numbers from imported cell with text and numbers? jyin Excel Discussion (Misc queries) 3 March 28th 07 01:14 PM
Extract letters from a cell Lupe Excel Worksheet Functions 2 November 22nd 06 06:33 PM
Extract bold letters in a cell hbamse Excel Worksheet Functions 1 March 21st 06 08:35 AM
Extract bold letters in a cell Stefi Excel Worksheet Functions 0 March 20th 06 02:51 PM


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