+ Reply to Thread
Results 1 to 6 of 6

write only numbers

  1. #1
    Registered User
    Join Date
    09-25-2007
    Posts
    21

    write only numbers

    hi guys and thank you in advance for your help.

    What I am trying to do is search a numbers, which write only numbers

    A B C D
    ITEAMS QTY

    PIN12345 45 12345
    PRODU5689 66 5689
    CUPS89744 555 89744
    BOTTLE45656 TO 45689 895 45656 45689


    So, I would want the formula result to display the only numbers in column C and D. Would anyone know how to do that? Thank you very much
    Thanks & Regards
    Sandeep...

    INDIA

  2. #2
    Registered User
    Join Date
    11-24-2008
    Location
    Moscow, Russia
    MS-Off Ver
    MS Office 2003, 2007
    Posts
    90

    Re: write only numbers

    Hello Sandeep, could you please give a part of your table?
    in your example it is not obvious (for me), which values are in which columns

  3. #3
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,454

    Re: write only numbers

    Hi,

    The following ARRAY formula will exctract a numerical fragment from cell A2.

    Please Login or Register  to view this content.
    Please modify as you require.

    An array formula must be entered using CTRL, SHIFT and ENTER.
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  4. #4
    Registered User
    Join Date
    09-25-2007
    Posts
    21

    Re: write only numbers

    Please find attached file for better understanding
    Attached Files Attached Files

  5. #5
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,454

    Re: write only numbers

    This does exactly what your example requests.

    Hi,

    The following ARRAY formula will exctract a numerical fragment from cell A2.


    Please Login or Register  to view this content.
    Please modify as you require.

    An array formula must be entered using CTRL, SHIFT and ENTER.

  6. #6
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: write only numbers

    Sweep your's didn't work for the last one (for me at any rate).

    A non-array approach - not mine - Richard Schollar's

    Please Login or Register  to view this content.
    For the 2nd number - assuming it is at the end of the string and is always preceded by " TO " then you could use

    Please Login or Register  to view this content.
    Last edited by DonkeyOte; 02-20-2009 at 04:46 AM.

+ 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