Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ged Ged is offline
external usenet poster
 
Posts: 7
Default Calculating if today is someone's birthday

I have a list of names with date of birth, how do I work out if today is
someone's birthday?

It may seem easy just to scan through the list to spot the right day, but
I've got 15000 lines, so that's not really an option!

Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 89
Default Calculating if today is someone's birthday

On Aug 12, 10:17*am, Ged wrote:
I have a list of names with date of birth, how do I work out if today is
someone's birthday?

It may seem easy just to scan through the list to spot the right day, but
I've got 15000 lines, so that's not really an option!

Thanks in advance


Parse, or convert to global number from the dates compared to birth
date and use IF function. Maybe use global date excluding year so can
find for next year.
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default Calculating if today is someone's birthday

=INDEX(M1:M200,MATCH(1,(MONTH(TODAY())=MONTH(N1:N2 00))*(DAY(TODAY())=DAY(N1:N200)),0))

where I am assuming the names are in column M, the birthdays .

This is an array formula, so commit with Ctrl-Shift-Enter, not just Enter

--
__________________________________
HTH

Bob

"Ged" wrote in message
...
I have a list of names with date of birth, how do I work out if today is
someone's birthday?

It may seem easy just to scan through the list to spot the right day, but
I've got 15000 lines, so that's not really an option!

Thanks in advance



  #4   Report Post  
Posted to microsoft.public.excel.misc
Ged Ged is offline
external usenet poster
 
Posts: 7
Default Calculating if today is someone's birthday

Presumably the N1:200 that you have there twice should be M?

"Bob Phillips" wrote:

=INDEX(M1:M200,MATCH(1,(MONTH(TODAY())=MONTH(N1:N2 00))*(DAY(TODAY())=DAY(N1:N200)),0))

where I am assuming the names are in column M, the birthdays .

This is an array formula, so commit with Ctrl-Shift-Enter, not just Enter

--
__________________________________
HTH

Bob

"Ged" wrote in message
...
I have a list of names with date of birth, how do I work out if today is
someone's birthday?

It may seem easy just to scan through the list to spot the right day, but
I've got 15000 lines, so that's not really an option!

Thanks in advance




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default Calculating if today is someone's birthday

No, I am testing the month and the day, so it should be N each time.

--
__________________________________
HTH

Bob

"Ged" wrote in message
...
Presumably the N1:200 that you have there twice should be M?

"Bob Phillips" wrote:

=INDEX(M1:M200,MATCH(1,(MONTH(TODAY())=MONTH(N1:N2 00))*(DAY(TODAY())=DAY(N1:N200)),0))

where I am assuming the names are in column M, the birthdays .

This is an array formula, so commit with Ctrl-Shift-Enter, not just Enter

--
__________________________________
HTH

Bob

"Ged" wrote in message
...
I have a list of names with date of birth, how do I work out if today is
someone's birthday?

It may seem easy just to scan through the list to spot the right day,
but
I've got 15000 lines, so that's not really an option!

Thanks in advance








  #6   Report Post  
Posted to microsoft.public.excel.misc
Ged Ged is offline
external usenet poster
 
Posts: 7
Default Calculating if today is someone's birthday

Oh right. I have the name in column F, and DOB in M, so i can fix that.
Presumabbly the range have $ in for when I copy it down.

What should the outcome show? I'm just getting #N/A (and i'm using a test
sheet so have fixed the DOB to be today's date (not year, obviously)).

"Bob Phillips" wrote:

No, I am testing the month and the day, so it should be N each time.

--
__________________________________
HTH

Bob

"Ged" wrote in message
...
Presumably the N1:200 that you have there twice should be M?

"Bob Phillips" wrote:

=INDEX(M1:M200,MATCH(1,(MONTH(TODAY())=MONTH(N1:N2 00))*(DAY(TODAY())=DAY(N1:N200)),0))

where I am assuming the names are in column M, the birthdays .

This is an array formula, so commit with Ctrl-Shift-Enter, not just Enter

--
__________________________________
HTH

Bob

"Ged" wrote in message
...
I have a list of names with date of birth, how do I work out if today is
someone's birthday?

It may seem easy just to scan through the list to spot the right day,
but
I've got 15000 lines, so that's not really an option!

Thanks in advance






  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Calculating if today is someone's birthday

I would add a column that just shows the month and day:

=text(a2,"mmm dd")

Then drag down as far as needed.

Then I could filter/sort by this column to see the birthdays I wanted.

Ged wrote:

I have a list of names with date of birth, how do I work out if today is
someone's birthday?

It may seem easy just to scan through the list to spot the right day, but
I've got 15000 lines, so that's not really an option!

Thanks in advance


--

Dave Peterson
  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default Calculating if today is someone's birthday

Did you array enter it?

--
__________________________________
HTH

Bob

"Ged" wrote in message
...
Oh right. I have the name in column F, and DOB in M, so i can fix that.
Presumabbly the range have $ in for when I copy it down.

What should the outcome show? I'm just getting #N/A (and i'm using a test
sheet so have fixed the DOB to be today's date (not year, obviously)).

"Bob Phillips" wrote:

No, I am testing the month and the day, so it should be N each time.

--
__________________________________
HTH

Bob

"Ged" wrote in message
...
Presumably the N1:200 that you have there twice should be M?

"Bob Phillips" wrote:

=INDEX(M1:M200,MATCH(1,(MONTH(TODAY())=MONTH(N1:N2 00))*(DAY(TODAY())=DAY(N1:N200)),0))

where I am assuming the names are in column M, the birthdays .

This is an array formula, so commit with Ctrl-Shift-Enter, not just
Enter

--
__________________________________
HTH

Bob

"Ged" wrote in message
...
I have a list of names with date of birth, how do I work out if today
is
someone's birthday?

It may seem easy just to scan through the list to spot the right
day,
but
I've got 15000 lines, so that's not really an option!

Thanks in advance








  #9   Report Post  
Posted to microsoft.public.excel.misc
Ged Ged is offline
external usenet poster
 
Posts: 7
Default Calculating if today is someone's birthday

That's slightly easier!

I'd still like to get the other method to work, just because I'm stubborn.

"Dave Peterson" wrote:

I would add a column that just shows the month and day:

=text(a2,"mmm dd")

Then drag down as far as needed.

Then I could filter/sort by this column to see the birthdays I wanted.

Ged wrote:

I have a list of names with date of birth, how do I work out if today is
someone's birthday?

It may seem easy just to scan through the list to spot the right day, but
I've got 15000 lines, so that's not really an option!

Thanks in advance


--

Dave Peterson

  #10   Report Post  
Posted to microsoft.public.excel.misc
Ged Ged is offline
external usenet poster
 
Posts: 7
Default Calculating if today is someone's birthday

Yes, but i had the columns wrong. Now I get the result 114541 (or 07/08/2213
in date format) on a birthday of 30/11/1938



"Bob Phillips" wrote:

Did you array enter it?

--
__________________________________
HTH

Bob

"Ged" wrote in message
...
Oh right. I have the name in column F, and DOB in M, so i can fix that.
Presumabbly the range have $ in for when I copy it down.

What should the outcome show? I'm just getting #N/A (and i'm using a test
sheet so have fixed the DOB to be today's date (not year, obviously)).

"Bob Phillips" wrote:

No, I am testing the month and the day, so it should be N each time.

--
__________________________________
HTH

Bob

"Ged" wrote in message
...
Presumably the N1:200 that you have there twice should be M?

"Bob Phillips" wrote:

=INDEX(M1:M200,MATCH(1,(MONTH(TODAY())=MONTH(N1:N2 00))*(DAY(TODAY())=DAY(N1:N200)),0))

where I am assuming the names are in column M, the birthdays .

This is an array formula, so commit with Ctrl-Shift-Enter, not just
Enter

--
__________________________________
HTH

Bob

"Ged" wrote in message
...
I have a list of names with date of birth, how do I work out if today
is
someone's birthday?

It may seem easy just to scan through the list to spot the right
day,
but
I've got 15000 lines, so that's not really an option!

Thanks in advance











  #11   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 342
Default Calculating if today is someone's birthday

Just put an autofilter on the data, then filter for today's date.

Tom

"Ged" wrote:

I have a list of names with date of birth, how do I work out if today is
someone's birthday?

It may seem easy just to scan through the list to spot the right day, but
I've got 15000 lines, so that's not really an option!

Thanks in advance

  #12   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Calculating if today is someone's birthday

If you actually filter on today's date (m/d/y), then that would tell you who was
born today--not the people who are celebrating their birthdays today.



TomPl wrote:

Just put an autofilter on the data, then filter for today's date.

Tom

"Ged" wrote:

I have a list of names with date of birth, how do I work out if today is
someone's birthday?

It may seem easy just to scan through the list to spot the right day, but
I've got 15000 lines, so that's not really an option!

Thanks in advance


--

Dave Peterson
  #13   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 342
Default Calculating if today is someone's birthday

Guess I didn't think that through.

"Dave Peterson" wrote:

If you actually filter on today's date (m/d/y), then that would tell you who was
born today--not the people who are celebrating their birthdays today.



TomPl wrote:

Just put an autofilter on the data, then filter for today's date.

Tom

"Ged" wrote:

I have a list of names with date of birth, how do I work out if today is
someone's birthday?

It may seem easy just to scan through the list to spot the right day, but
I've got 15000 lines, so that's not really an option!

Thanks in advance


--

Dave Peterson

  #14   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 348
Default Calculating if today is someone's birthday

Ged wrote:
I have a list of names with date of birth, how do I work out if today is
someone's birthday?

It may seem easy just to scan through the list to spot the right day, but
I've got 15000 lines, so that's not really an option!

Thanks in advance

If the dates are in this format: 8/22/2008, 8/22/1999, for example, then
a simple "Find All" and entering 8/22 should locate both dates.

Why complicate matters?

Bill
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculating how many days past in a month from today Arup C[_2_] Excel Discussion (Misc queries) 5 November 8th 07 06:59 PM
Calculating birthday - yet another newcomer!! Alberte Excel Worksheet Functions 6 February 8th 07 03:09 PM
Calculating Age Based on Birthday kukarooza Excel Discussion (Misc queries) 1 January 19th 06 03:30 PM
E-mail sent for a cell in a sheet that lists a birthday as today elmo28 Excel Worksheet Functions 2 November 6th 05 04:04 PM
calculating number of months from today JNW Excel Worksheet Functions 5 September 15th 05 10:01 PM


All times are GMT +1. The time now is 08:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"