+ Reply to Thread
Results 1 to 16 of 16

filter dati in cells

  1. #1
    Forum Contributor max_max's Avatar
    Join Date
    06-28-2013
    Location
    italy - venice
    MS-Off Ver
    Excel 2007
    Posts
    1,693

    filter dati in cells

    Hello I'm lost with the filters.
    I have this list as per the attached picture.
    I have to find cells that contain 18

    Martedì 18 dicembre, 2012
    Domenica 18 Novembre 2001
    ciao max 18
    18 max max
    5 ciao 18 1188

    Use Filter > filter for dates > Custom > contains 18 > ok
    and I found only:

    ciao max 18
    18 max max
    5 ciao 18 1188

    the two dates not find them.

    Martedì 18 dicembre, 2012
    Domenica 18 Novembre 2001

    Where am I wrong?
    max_max
    Attached Images Attached Images

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,176

    Re: filter dati in cells

    Hey Max-Max

    Works fine
    Untitled-1.png
    Untitled-2.png
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  3. #3
    Forum Contributor max_max's Avatar
    Join Date
    06-28-2013
    Location
    italy - venice
    MS-Off Ver
    Excel 2007
    Posts
    1,693

    Re: filter dati in cells

    Hello sintek,
    tried as in the image, but do not go out dates
    max_max
    Attached Images Attached Images

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,176

    Re: filter dati in cells

    Hey Max-Max

    Upload your worksheet so that we can see the entries

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: filter dati in cells

    max, if those are real dates (cant tell, dont speak Italian), then you wont find 18 because it is not really there.

    What you need to understand about dates and times in excel is...

    a date is just a number representing the number of days passed since 1/1/900...and then formatted in a way that we recognize as a date. So, for instance, today (Wed Mar 2017) is actually 42816

    Time is actually a decimal part of 1 (day), so 06:00 AM is 0.25, 12 noon is 0.5 and 18:00 (or 6 PM) is 0.75
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  6. #6
    Forum Contributor max_max's Avatar
    Join Date
    06-28-2013
    Location
    italy - venice
    MS-Off Ver
    Excel 2007
    Posts
    1,693

    Re: filter dati in cells

    The workbook.
    max_max
    Attached Files Attached Files

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: filter dati in cells

    Based on your sample, most of those entries are dates (see my post above regarding dates)

  8. #8
    Forum Contributor max_max's Avatar
    Join Date
    06-28-2013
    Location
    italy - venice
    MS-Off Ver
    Excel 2007
    Posts
    1,693

    Re: filter dati in cells

    I think that the problem is as Fdibbins says, the problem of the cell format.
    max_max

  9. #9
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,176

    Re: filter dati in cells

    Yep, I guess so. Reads 18 December 2012 as 41261

  10. #10
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: filter dati in cells

    Try this in a helper column, then filter on TRUE
    =SUM(--ISNUMBER(FIND(18,F3)),IFERROR(--(DAY(F3)=18),0))>0
    copied down

  11. #11
    Forum Contributor max_max's Avatar
    Join Date
    06-28-2013
    Location
    italy - venice
    MS-Off Ver
    Excel 2007
    Posts
    1,693

    Re: filter dati in cells

    With a macro so you can?
    I select the range > Macros > msgbox = 18 > ok
    max_max

  12. #12
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: filter dati in cells

    Sorry, im not very good with macros, but Im sure 1 of teh other members will be able to assist.

    Why do you need this as a macro though?

  13. #13
    Forum Contributor max_max's Avatar
    Join Date
    06-28-2013
    Location
    italy - venice
    MS-Off Ver
    Excel 2007
    Posts
    1,693

    Re: filter dati in cells

    Why can not I add columns
    Thanks to all the same.
    max_max

  14. #14
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,176

    Re: filter dati in cells

    Hey Max-Max

    I have attached a file that makes use of a helper column as Ford suggested with the formula mentioned in Post # 10 copied down.
    You then filter the helper column for "True". This gives your required result.
    Attached Files Attached Files

  15. #15
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: filter dati in cells

    sintek, thanks for the assist

  16. #16
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,176

    Re: filter dati in cells

    NO!!!! Thank YOU. Love the availability to learn about something I enjoy doing.
    I see Max-Max got a VBA solution in another post.
    https://www.excelforum.com/excel-pro...ic-filter.html

+ 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. Replies: 1
    Last Post: 09-16-2017, 02:16 PM
  2. How to filter cells by calling the filter command from another sheet?
    By joash_9292 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-12-2017, 05:25 PM
  3. [SOLVED] Filter Alt+Entered Cells? (Filter linebreak cells?)
    By HerryMarkowitz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-30-2015, 04:50 AM
  4. riportare i dati da più fogli in uno solo, e poi eliminare i duplicati
    By NSasi in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-19-2014, 04:19 AM
  5. recupero dati file
    By Massimiliano in forum Excel General
    Replies: 1
    Last Post: 05-08-2014, 12:29 PM
  6. [ITA] Estrazione dati con FILTRO su nuovo FOGLIO !
    By cybmatrix in forum Non English Excel
    Replies: 1
    Last Post: 05-11-2013, 07:01 PM
  7. How to automatically filter can filter and blue-colored cells
    By ersoyalanprovus in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-21-2009, 01:20 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