Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default finding a number within a text and numbers for multiple rows

i have the following text in

A1 Darshan_4875_09
A2 Jack_4888_09
A3 Johansson_8988_09
A4 AB_9900_09

I need to get in column B only the numbers i.e.

B1 4875
B2 4888
B3 8988
B4 9900

How do i get this

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default finding a number within a text and numbers for multiple rows

=MID(A1,FIND("_",A1,1)+1,4) and copy down

--
Gary''s Student - gsnu200820
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default finding a number within a text and numbers for multiple rows

sorry i think i did not give the full picture.

my file has this

A1 Darshan_RA_4878_09
A2 MA_RC_9900_09
A3 Johansson_AB_8800_09
A4 Mic_CC_8900_09

so i need to get in B1 (4878), B2 (9900), etc

currently your formula is not working


"Gary''s Student" wrote:

=MID(A1,FIND("_",A1,1)+1,4) and copy down

--
Gary''s Student - gsnu200820

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default finding a number within a text and numbers for multiple rows

=MID(A1,FIND("_",A1,FIND("_",A1,1)+1)+1,4)
--
Gary''s Student - gsnu200820
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default finding a number within a text and numbers for multiple rows

=MID(A1,FIND("_",A1,1)+1,4)

--
Gary''s Student - gsnu200820


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
Help with finding numbers within text and summing wallymeister Excel Worksheet Functions 2 December 13th 08 11:25 AM
Finding matching numbers in different rows. classic3283 Excel Worksheet Functions 1 October 7th 08 04:26 AM
Finding the minimum in a selected number of rows of the same colum Mark Rugers Excel Worksheet Functions 5 July 20th 05 10:37 PM
finding the no. of rows in a COL filled with numbers, zeros and bl z.entropic Excel Worksheet Functions 14 May 21st 05 11:05 PM
Finding common data in multiple columns and rows in Excel sparham Excel Worksheet Functions 3 February 12th 05 04:11 AM


All times are GMT +1. The time now is 10:35 AM.

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

About Us

"It's about Microsoft Excel"