+ Reply to Thread
Results 1 to 2 of 2

Query only first word by length

  1. #1
    Registered User
    Join Date
    02-11-2011
    Location
    Vilnius, Lithuania
    MS-Off Ver
    Excel 2016
    Posts
    83

    Query only first word by length

    Hello, I have column with lots of data and I need to use query to only show fields where first word is less than 8 and greather than 9.

    For example my field name is NAMES and it looks like:

    123456 Bla bla bla
    1234567 bla bla bla
    12345678 bla bla bla
    123456789 bla bla bla
    123456789AAA bla bla bla

    So at the end I need to see only

    123456 Bla bla bla
    1234567 bla bla bla
    123456789AAA bla bla bla

    Which criteria should I use?

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool Re: Query only first word by length

    Quote Originally Posted by JackBauer View Post
    query to only show fields where first word is less than 8 and greather than 9
    I think there should be OR not AND
    Done with PowerQuery (Get&Transform)
    is that what you want?
    Attached Files Attached Files

+ 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. Query field by length
    By JackBauer in forum Access Tables & Databases
    Replies: 1
    Last Post: 07-16-2018, 05:18 AM
  2. MS Word Query: Word 365 suddenly 'not responding' with 7 MB Word file
    By magicmath in forum Word Formatting & General
    Replies: 3
    Last Post: 05-16-2018, 07:35 PM
  3. [SOLVED] LEN Query - Counting the length of percentages
    By The_Snook in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-25-2016, 09:45 AM
  4. shortening word Length
    By pal_slg in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 10-28-2011, 05:49 PM
  5. Web Query - Change a word in query to form a new query
    By scottymelloty in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-25-2011, 04:13 AM
  6. Word Length in Excel ?????!!!??????!!?
    By 2mato in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 08-20-2007, 09:10 AM
  7. What is the maximum length of a URL in a web query?
    By SmilingPolitely in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-26-2005, 05:19 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