+ Reply to Thread
Results 1 to 10 of 10

Filter today's birthday

  1. #1
    Forum Contributor
    Join Date
    12-15-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    672

    Filter today's birthday

    Hello friends,
    I have birthdates in column 'p'. I want to filter a birthday of persons today. I used the filter-today but it's not working as per my requirement. It filters only todays date which I don't want. To find the birthday today we have to ignore the year and filter the dates by dd mm format only. Likewise I also want to create a filter for tomorrow, week, month.

    Please suggest me a trick for it.

    Thanking you in anticipation.

    Sincerely,

    Mukesh
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Filter today's birthday

    Just have a helper column to show only the DD MMM alone


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Contributor
    Join Date
    12-15-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    672

    Re: Filter today's birthday

    Thank you but I need a vba code to perform this in a single click. The vba code should extract the day and month and then filter is my requirement because there are other programmes in my file in which the column and cell addresses are fixed.

    Thank you.

    Mukesh

  4. #4
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,664

    Re: Filter today's birthday

    Can this file help you?
    Attached Files Attached Files
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  5. #5
    Forum Contributor
    Join Date
    12-15-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    672

    Re: Filter today's birthday

    Dear popipipo,
    Excellent creation! It's not my requirement. I want to filter the persons whose birthday is today. No matter what is his/her age. I have nothing to do with year.

    Please see my file. I have other programmes in it which I don't want to disturb. Suggest me a method/vba code to achieve the target without disturbing the file format.

    Thank you for assistance.

    Regards,

    Mukesh

  6. #6
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: Filter today's birthday

    Hello Mukesh,

    Use Advanced Filter:

    Leave B1 empty, then in B2,

    =TEXT(TODAY(),"ddmm")=TEXT($P9,"ddmm")

    Select data B8:AD20, go to Data >> Advanced Filter,

    List Range: $B$8:$AD$20
    Criteria Range: $B$1:$B$2

    Click OK.

    If you need VBA, record a macro or some one will help you with code.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  7. #7
    Forum Contributor
    Join Date
    12-15-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    672

    Re: Filter today's birthday

    Hello Haseeb A,
    Thank you. It's working fine but I want to create a list in a new workbook. How to do it? In copy to field what to enter? How to create a list for tomorrow, week, month respectively?

    Thank you for excellent suggestion.

    Regards,

    Mukesh

  8. #8
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: Filter today's birthday

    Please find the attachment to see if this works as per your requirement.
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  9. #9
    Forum Contributor
    Join Date
    12-15-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    672

    Re: Filter today's birthday

    Hello sktneer,
    Excellent! This much I want. Is it possible to create a macro for it? Because I don't want this data available all the time. Whenever I want any data I will run the macro. There is a lot of data in my original file. I want to new file for it. 1. today 2. week 3. month.

    Please create a macro to perform this action.

    Thank you.

    Regards,

    Mukesh

  10. #10
    Forum Contributor
    Join Date
    12-15-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    672

    Re: Filter today's birthday

    Hello sktneer,
    Thank you for assistance. Now my problem is solved. I have created a macro for it easily to avoide repeated steps.

    Thank you to all of you once again.

    Regards,

    Mukesh

+ 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. Highlight row if today birthday
    By dingdang in forum Excel General
    Replies: 4
    Last Post: 10-21-2013, 01:57 AM
  2. Today is my(Forum) Birthday!
    By Fotis1991 in forum The Water Cooler
    Replies: 19
    Last Post: 10-19-2012, 08:17 AM
  3. [SOLVED] Which members have a birthday today?
    By adofp in forum Excel - New Users/Basics
    Replies: 9
    Last Post: 08-14-2012, 07:50 PM
  4. Creating message if Contact's birthday is today
    By ElmerS in forum Outlook Programming / VBA / Macros
    Replies: 8
    Last Post: 05-25-2009, 04:10 PM
  5. [SOLVED] E-mail sent for a cell in a sheet that lists a birthday as today
    By elmo28 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-06-2005, 12:10 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