+ Reply to Thread
Results 1 to 9 of 9

Find all the names with same birthday

  1. #1
    Registered User
    Join Date
    03-28-2014
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    66

    Find all the names with same birthday

    Find all the names with same birthday
    Names (in column A - A2: A100) & birthdays (in column B - B2: B100).
    I want to know all the names of people who are having birthday in a particular date in excel ( C1).
    VB is Not to be used please.
    Please note : in same date multiple peoples birthday are there.
    This is required to print birthday cards
    Attached Files Attached Files
    Last edited by tpsdas; 04-30-2018 at 01:32 PM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,230

    Re: Find all the names with same birthday

    Try

    Created named ranges ("Name" and "Birth_date" for columns A and B) defined below


    "Name"

    =Sheet1!$A$2:INDEX(Sheet1!$A:$A,COUNTIF(Sheet1!$A:$A,"?*"))

    "Birth_Date"

    =Sheet1!$B$2:INDEX(Sheet1!$B:$B,COUNTA(Sheet1!$B:$B))


    =IFERROR(INDEX($A:$A,SMALL(IF(TEXT(Birth_Date,"ddmm")=TEXT($C$1,"ddmm"),ROW(Name),""),ROWS($1:1))),"")

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    then copy down

    Ensure ALL dates are Excel date format (dd/mm/yyyy)
    Attached Files Attached Files
    Last edited by JohnTopley; 04-30-2018 at 02:16 PM.

  3. #3
    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: Find all the names with same birthday

    Try this:
    1. Make sure that the date in C1 is a real date and make sure the dates in Col B are not text.
    2. Enter in D1

    this will count the number of people
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    The Enter array formula in E1 and copy down

    ***Array formula
    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER.
    You will know the array is active when you see curly braces { } appear around your formula.
    If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    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

  4. #4
    Registered User
    Join Date
    03-28-2014
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    66

    Re: Find all the names with same birthday

    JohnTopley sir, Thnaks for the help.
    But the formula or the way uou have done , i did not understand. Also the attachment is you have
    given is not showing the names. Can u kindly correct it & resend, so that I can use this

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,230

    Re: Find all the names with same birthday

    It shows names in column D ???

  6. #6
    Registered User
    Join Date
    03-28-2014
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    66

    Re: Find all the names with same birthday

    no sir, when i down load the excel file it is showing #NAME?

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,230

    Re: Find all the names with same birthday

    This is due to the Excel version you have (2003)

    Try these:

    Named ranges


    =Sheet1!$A$2:INDEX(Sheet1!$A2:$A1000,COUNTIF(Sheet1!$A2:$A1000,"?*"))


    =Sheet1!$B$2:INDEX(Sheet1!$B2:$B1000,COUNTA(Sheet1!$B2:$B1000))


    In D2

    =IFERROR(INDEX($A$2:$A$1000,SMALL(IF(TEXT(Birth_Date,"ddmm")=TEXT($C$1,"ddmm"),ROW(Name)-ROW($A$2)+1,""),ROWS($1:1))),"")
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    03-28-2014
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    66

    Re: Find all the names with same birthday

    thanks...working.
    tomorrow I will use this in actual worksheet
    Another request sir .
    Kindly remove the column names & use the actual column like (A2: A100) and resent the excel format.
    This is just for my under standing. It is a small request sir

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,230

    Re: Find all the names with same birthday

    Simply replace the names with $A$2:$A$1000 or $B$2:$B$1000 or whatever maximum you want.

+ 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] Find out who's birthday it maybe today()
    By Excelski in forum Excel General
    Replies: 3
    Last Post: 06-14-2017, 07:16 PM
  2. [SOLVED] Find two names
    By Sheepkin_Coat in forum Excel General
    Replies: 9
    Last Post: 11-21-2014, 06:30 AM
  3. Find Names from a List of Names and Replace with "The Candidate"
    By viggykuppu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-31-2014, 02:49 AM
  4. Three columns of names, find names that are not in all three?
    By hoobajoob in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-07-2013, 06:02 AM
  5. Find Formula needs to find jobs with split names
    By 3smees23 in forum Excel General
    Replies: 5
    Last Post: 08-06-2009, 08:18 AM
  6. Find Birthday of persons which falls between the given two dates
    By acsishere in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-31-2008, 09:55 AM
  7. [SOLVED] how do I find names in a workbook full of names
    By aj in forum Excel General
    Replies: 1
    Last Post: 01-19-2006, 05: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