+ Reply to Thread
Results 1 to 6 of 6

format cell to remove numbers

  1. #1
    Registered User
    Join Date
    09-16-2008
    Location
    Canada
    MS-Off Ver
    Excel 2003 (silly work wont upgrade)
    Posts
    74

    format cell to remove numbers

    Hi guys,

    I m looking to format a cell to remove numbers that i don't need.

    For example, at work we can swipe a card and the card number comes up like so

    ;11=00=0370904?

    is there a way to format the cell to remove everything but the 0370904

    Thanks for any help
    Mikey
    Last edited by mikeydaman; 11-26-2009 at 08:27 PM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: format cell to remove numbers

    Will there always be 7 digits?
    =RIGHT(A1,7)

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: format cell to remove numbers

    Hi,

    You could use a string slicing function in another cell. e.g. if the number is always 7 digits followed by a ? then

    Please Login or Register  to view this content.
    HTH
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    09-16-2008
    Location
    Canada
    MS-Off Ver
    Excel 2003 (silly work wont upgrade)
    Posts
    74

    Re: format cell to remove numbers

    Hi guys, thanks for your help and yes there will always be 7 digits. Both work great but i still get the ? mark in there and i can't have that as well.

    Richard thanks for that but the LEFT should be RIGHT hehe

    Thanks again for your help

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: format cell to remove numbers

    Hi,

    Sorry, misread that as you wanting everything but the number. Try

    Please Login or Register  to view this content.
    If you want it as a number, wrap it in an =VALUE() function

    Rgds

  6. #6
    Registered User
    Join Date
    09-16-2008
    Location
    Canada
    MS-Off Ver
    Excel 2003 (silly work wont upgrade)
    Posts
    74

    Re: format cell to remove numbers

    That worked awesome! thanks again guys for your help

    Cheers
    Mikey

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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