+ Reply to Thread
Results 1 to 3 of 3

Extracting Numbers from text string

Hybrid View

arekkusu03 Extracting Numbers from text... 03-23-2015, 07:49 PM
soberguy Re: Extracting Numbers from... 03-23-2015, 07:59 PM
kvsrinivasamurthy Re: Extracting Numbers from... 03-24-2015, 02:43 AM
  1. #1
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Extracting Numbers from text string

    PL see file. UDF GetNumber is used.
    code
    Function GetNumber(Ipval As String) As String
    Dim M As Variant
    M = Split(Ipval)
    
    For T = 1 To UBound(M)
        If IsNumeric(Left(M(T), 1)) Then
        GetNumber = M(0) & " - " & M(T)
        Exit For
        End If
    
    Next T
    End Function
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Extracting numbers after a # in a text string
    By percyth1 in forum Excel General
    Replies: 6
    Last Post: 08-23-2012, 11:32 PM
  2. Extracting numbers from a text string
    By Cruncher1 in forum Excel General
    Replies: 2
    Last Post: 06-11-2012, 01:17 PM
  3. Extracting Numbers from text String and Sum?
    By FuzzyDove in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-12-2008, 03:23 PM
  4. Extracting Numbers from text string
    By rlane23 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-29-2007, 05:00 AM
  5. extracting numbers within text string!
    By via135 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-05-2006, 01:08 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1