+ Reply to Thread
Results 1 to 9 of 9

Distinguish 1 from 14 when using the filter

  1. #1
    Registered User
    Join Date
    10-19-2011
    Location
    Barkhamsted, CT
    MS-Off Ver
    Excel 2013
    Posts
    22

    Distinguish 1 from 14 when using the filter

    Good afternoon All,
    If this is a duplicate, I am sorry. I did not see my original posted. I have multiple numbers in cells A1,A2,A3... How do I use the filter and type in 1 in the search window and only have it show those rows with contain 1 and not 14?

    Thank you,
    Ken

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Distinguish 1 from 14 when using the filter

    Right-click on any cell that has value of one and select from the menue Filter by cell's value
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Registered User
    Join Date
    10-19-2011
    Location
    Barkhamsted, CT
    MS-Off Ver
    Excel 2013
    Posts
    22

    Re: Distinguish 1 from 14 when using the filter

    Thank you for the response, however it does not work or I am doing something wrong.
    I am using, from the ribbon, the Editing/filter option on multiple columns in my table. Cell H1 is the header with the word Options. The cells below contain multiple number...H2 = 1,2,3,4 H3 = 3,6,11 H4 = 4,5,6,22 H5 = 1,5,31. Now when I click the filter button within the cell and type 1 to show only parts used for Option 1, it shows row 2,3, and 5, when I only want it to show 2 and 5 as they are contain "1". I got around this by changing the numbers to the alphabetical equivalent, but was wondering if there was another way, like type in a special character.

    Thank you,
    Ken

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Distinguish 1 from 14 when using the filter

    Please see the spreadsheet with a screenshot.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    604

    Re: Distinguish 1 from 14 when using the filter

    --- removed: different thread reply
    Last edited by Xx7; 04-04-2014 at 04:21 PM.

  6. #6
    Registered User
    Join Date
    10-19-2011
    Location
    Barkhamsted, CT
    MS-Off Ver
    Excel 2013
    Posts
    22

    Re: Distinguish 1 from 14 when using the filter

    Here is a down and dirty shot of what I am working with.sample.xls

  7. #7
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Distinguish 1 from 14 when using the filter

    This is different! LOL. I din't expect there would be concatenated values in the cell. The good thing is that if there is 1, it would be the firs in the cell and as the values are sorted in ascending order. So if you need to filter cells that contain 1, use this formula in cell D2 and copy it down. It will give you TRUE/FALSE then you can filter by TRUE.

    =LEFT(A2)="1"

  8. #8
    Registered User
    Join Date
    10-19-2011
    Location
    Barkhamsted, CT
    MS-Off Ver
    Excel 2013
    Posts
    22

    Re: Distinguish 1 from 14 when using the filter

    Thank you for the response. However searching for 1 was an example. I may need to search for 2,3,4 and so on and if I need to filter by "3' and the H1 contains 1,2,3 and H2 contains 2, 4, 6,13 and H3 contains 1,2,3,7,9 then the left function will not work. I was hoping instead of typing 3 in the search window of the filter there was a special character or way of entering it. Even if I change the numbers from 1,2,3...to one, two, three and so on the filter will still show the cells with twentyone. I changed the numbers to letters and it worked since there are less than 26 numbers. Thank you for the suggestions.

  9. #9
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Distinguish 1 from 14 when using the filter

    Please see attached file. By changing value in D1 you can search by any number.
    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. [SOLVED] distinguish whether a cell value is followed by another value (but with many conditions)..
    By tlacloche in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-24-2013, 09:50 PM
  2. Distinguish between #div/0! and other normal cells.
    By pieman91 in forum Excel General
    Replies: 3
    Last Post: 08-06-2011, 06:41 AM
  3. Distinguish Old messages from New reply
    By Ada01 in forum Outlook Programming / VBA / Macros
    Replies: 2
    Last Post: 04-26-2010, 07:03 AM
  4. Date distinguish
    By hme in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-01-2006, 07:43 AM
  5. [SOLVED] how to distinguish between text cells?
    By phaidon in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 04-12-2006, 04:50 AM

Tags for this Thread

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