+ Reply to Thread
Results 1 to 3 of 3

Remove text from string, return numbers

  1. #1
    Forum Contributor
    Join Date
    12-18-2011
    Location
    long island
    MS-Off Ver
    365
    Posts
    236

    Remove text from string, return numbers

    I have data in the N column (N6:N1000). Some of this data has letters after the numbers ("WH", "-WH", " BG", etc)
    obviously these cells will not be included in an sum formulas as they register as text strings. I need a VBA code that will drop the letters from any cells containing numbers and letters and return just the numbers.

    Thanks

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Remove text from string, return numbers

    try
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    12-18-2011
    Location
    long island
    MS-Off Ver
    365
    Posts
    236

    Re: Remove text from string, return numbers

    That works perfectly!
    Thank you!

+ 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] Need to count numbers in a column and return it as a text string
    By Meggo12 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-14-2016, 01:30 PM
  2. Remove Numbers from a string of text
    By ashy2287 in forum Excel General
    Replies: 4
    Last Post: 01-12-2016, 02:34 AM
  3. Remove numbers from text string in one cell
    By Greg_Sendandreceive in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-23-2015, 11:46 AM
  4. Replies: 8
    Last Post: 12-04-2013, 12:49 PM
  5. Sub to remove text from string in multiple cells then return in one
    By DadaaP in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-09-2013, 04:04 AM
  6. Return Text from string containing both text and numbers left and right
    By LorinL in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-23-2012, 08:50 AM
  7. Remove numbers from text string
    By mkvassh in forum Excel General
    Replies: 2
    Last Post: 09-23-2011, 07:37 AM

Tags for this Thread

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