+ Reply to Thread
Results 1 to 2 of 2

Check if part of string is a number or letter

  1. #1
    Forum Contributor
    Join Date
    02-05-2015
    Location
    czech
    MS-Off Ver
    2010
    Posts
    172

    Check if part of string is a number or letter

    I have string1 from which I extract string2 using function like left. Then I want to know if the string 2 contains number or letter. How would I accomplish this?

  2. #2
    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,446

    Re: Check if part of string is a number or letter

    Hi,

    Does this work for you?

    Please Login or Register  to view this content.
    Assuming the extracted string is the first 3 characters of A1
    Last edited by sweep; 10-16-2015 at 09:16 AM.
    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".

+ 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] Removing varied number of letters from end of number-letter string
    By WhiskeyGolf in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 04-16-2015, 04:43 AM
  2. Check if the last part of entered string is an Integer
    By szpt9m in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-08-2014, 11:08 PM
  3. Replies: 12
    Last Post: 03-20-2013, 05:46 PM
  4. number or letter check
    By adx1000 in forum Excel General
    Replies: 6
    Last Post: 06-07-2011, 09:22 AM
  5. How to check the value of the first letter of a string using the vba array
    By sharrukin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-23-2011, 04:01 PM
  6. Check if character is a letter or a number
    By duckboy1981 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-03-2009, 11:53 AM
  7. Check last 4 letter of a String
    By duckboy1981 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-18-2008, 11:13 AM

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