+ Reply to Thread
Results 1 to 4 of 4

Conditional Removal Of Numerals from Cell Value

  1. #1
    Forum Contributor
    Join Date
    12-10-2008
    Location
    Austin
    Posts
    660

    Conditional Removal Of Numerals from Cell Value

    Hi all,

    I'm creating some workbooks from PDF files. After converting, some of the
    values in column A get placed into column B along w/it's values.
    Column A should have only a 6 digit number. Column B may have a combination of numbers and letters, but more use of letters.

    I'm trying to create a formula for that will remove the 6 digit number at the front of my text values if it is present in column b. If it is not, than the column should remain the same. Is there a way to say remove first six values
    from left if values are numbers? The results should out put to sheet 2.

    VBA code would be nice but not necessary.

    I've attached an example file.

    Any help is appreciated.

    Thanks,

    bdb
    Attached Files Attached Files
    Last edited by bdb1974; 05-18-2009 at 05:27 PM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Conditional Removal Of Numerals from Cell Value

    In Sheet2 A10
    Please Login or Register  to view this content.
    In Sheet2 B10
    Please Login or Register  to view this content.
    This doesn't work for that oddball one you have in A39. I didn't notice that one until later. I can modify the code for that one if you need it.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Contributor
    Join Date
    12-10-2008
    Location
    Austin
    Posts
    660

    Re: Conditional Removal Of Numerals from Cell Value

    ChemistB. Thanks.

    If you can fix the condition for A39 too, Yes, please, go ahead.

    I didn't notice that one either till now.

    The formula, needs to be written so it can work on any row that it may happen in the future.

    Thanks,

    bdb

  4. #4
    Forum Contributor
    Join Date
    12-10-2008
    Location
    Austin
    Posts
    660

    Re: Conditional Removal Of Numerals from Cell Value

    I think I've fixed it.

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    - Thanks

    bdb

+ 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