+ Reply to Thread
Results 1 to 6 of 6

how do i remove the numbers from a cell that contains text and numbers to a new row

  1. #1
    Registered User
    Join Date
    03-01-2014
    Location
    Stoke on Trent
    MS-Off Ver
    Excel 2019
    Posts
    31

    how do i remove the numbers from a cell that contains text and numbers to a new row

    I have a column that contains numbers and text, but sometimes the text is between numbers sometimes numbers are at the start and sometimes at the end. How do I copy just the numbers and paste them into another column.
    Thanks

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: how do i remove the numbers from a cell that contains text and numbers to a new row

    Hi Willows,

    Try this formula with your numbers in A1.

    =SUMPRODUCT(MID(0&A1,LARGE(INDEX(ISNUMBER(--MID(A1,ROW($1:$25),1))*ROW($1:$25),0),ROW($1:$25))+1,1)*10^ROW($1:$25)/10)
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    03-01-2014
    Location
    Stoke on Trent
    MS-Off Ver
    Excel 2019
    Posts
    31

    Re: how do i remove the numbers from a cell that contains text and numbers to a new row

    This formula works but it does not enter any decimal points in the number, see below, can this formula be amended to do this (B is the column with the formula)

    Capture.JPG
    Last edited by Willows59; 09-29-2018 at 05:28 AM.

  4. #4
    Registered User
    Join Date
    03-01-2014
    Location
    Stoke on Trent
    MS-Off Ver
    Excel 2019
    Posts
    31

    Re: how do i remove the numbers from a cell that contains text and numbers to a new row

    Has anyone got any more ideas on this issue please

  5. #5
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: how do i remove the numbers from a cell that contains text and numbers to a new row

    similar principle

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I don't have latest XL version(s) so there may be a new "standard" function that does the above out of the box, so to speak.

    edit: appended A1 reference (in MID) with &0 to ensure a number always returned irrespective of whether or not there are numerics in the string (e.g. apple --> 0).
    Last edited by XLent; 10-01-2018 at 04:44 AM.

  6. #6
    Registered User
    Join Date
    03-01-2014
    Location
    Stoke on Trent
    MS-Off Ver
    Excel 2019
    Posts
    31

    Re: how do i remove the numbers from a cell that contains text and numbers to a new row

    That works a treat thank you for your help

+ 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. 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
  2. [SOLVED] Remove Text+Numbers Sometimes, Based on Other Text in Cell
    By eugeniusjr in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-29-2013, 11:37 AM
  3. [SOLVED] [SOLVED] Macro/Wildcard to remove only numbers excluding text with numbers
    By indianhp in forum Word Programming / VBA / Macros
    Replies: 6
    Last Post: 06-21-2013, 08:16 AM
  4. [SOLVED] How to remove numbers from a Cell and just keep the Text?
    By dksodhi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-07-2012, 07:01 AM
  5. Replies: 2
    Last Post: 08-17-2006, 01:10 PM
  6. [SOLVED] remove text from cell containing numbers
    By Tim in forum Excel General
    Replies: 2
    Last Post: 03-22-2006, 10:35 AM
  7. [SOLVED] How can I remove diff. numbers from a cell combined with text
    By Greg in forum Excel General
    Replies: 5
    Last Post: 02-28-2006, 04:10 PM

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