birthdays list

KlausW

Active Member
Joined
Sep 9, 2020
Messages
386
Office Version
  1. 2016
Platform
  1. Windows
Hi
I want to make a birthday list where the months come in a cell for themselves and the birthdays come down there after. Starting with January. The challenges are that new people come every year so the birthdays are not the same year after year. Someone who can help.
The red are my formulas and they are hidden
The dates are in danish dd/mm/yy
The file is uploadet to Dropbox Birthday
All help will be appreciated
Regards Klaus W
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
T202009c.xlsm
ABCDEFGHIJKLM
1N/C= No ConditionNo Active FilterNo Active FilterNo Active Filter
217 is the Count
3DatoDagNavnSkibs nr.Alder31-12-20CPRDOBMDR.Dob2Month1Jan
418John29januar200158-111120-Jan-58120-JanJan2Feb
520Ole62februar040272-11114-Feb-72204-FebFeb3Mar
604Anne48marts040392-11114-Mar-92304-MarMar4Apr
714Dorte32marts290375-111129-Mar-75329-MarMar5May
804Claus28april080466-11118-Apr-66408-AprApr6Jun
929Ove45maj050599-11115-May-99505-MayMay7Jul
1004Ida22maj050502-11115-May-02505-MayMay8Aug
1108Mette54juni090674-11119-Jun-74609-JunJun9Sep
1205Per21juli300789-111130-Jul-89730-JulJul10Oct
1322Leo59august030888-11113-Aug-88803-AugAug11Nov
1405Klaus18august240894-111124-Aug-94824-AugAug12Dec
1509Peter46september160976-111116-Sep-76916-SepSep
1611Carl42oktober271099-111127-Oct-991027-OctOct
1730Ulla31november291174-111129-Nov-741129-NovNov
1803Ib32december241288-111124-Dec-881224-DecDec
1924Kaj26december251200-111125-Dec-001225-DecDec
20XXX3250300-111125-Mar-00325-MarMar
2e
Cell Formulas
RangeFormula
C1,K1,I1C1=ShowFilter(C4:C102)
G2G2=SUBTOTAL(3,G4:G102)
H4:H20H4=--TEXT(LEFT(G4,6),"00-00-00")
I4:I20I4=MONTH(H4)
J4:J20J4=DATE(1,MONTH(H4),DAY(H4))
K4:K20K4=LOOKUP(MONTH(H4),$L$3:$M$14)
F20F20=MONTH(H20)


The list used Advanced filter.
The Subtotal formula =SUBTOTAL(3,G4:G102) is a count of visible cells; it is custom formatted - 0 "is the Count"
The Filter criteria shows at the top. It uses a UDF. This may not be necessary since if you filter on 3 it is obvious the list shows results for March. The UDF is useful if you use multiple filters.
You can sort the list by date of Birth #2 (DOB2)

View with filter March; you could filter on column with month # instead.

T202009c.xlsm
ABCDEFGHIJK
1N/C= No ConditionN/CN/C=Mar
23 is the Count
3DatoDagNavnSkibs nr.Alder31-12-20CPRDOBMDR.DOB2Month
604Anne48marts040392-11114-Mar-92304-MarMar
714Dorte32marts290375-111129-Mar-75329-MarMar
20XXX3250300-111125-Mar-00325-MarMar
21
2e
Cell Formulas
RangeFormula
C1,K1,I1C1=ShowFilter(C4:C102)
G2G2=SUBTOTAL(3,G4:G102)
H20,H6:H7H6=--TEXT(LEFT(G6,6),"00-00-00")
I20,I6:I7I6=MONTH(H6)
J20,J6:J7J6=DATE(1,MONTH(H6),DAY(H6))
K20,K6:K7K6=LOOKUP(MONTH(H6),$L$3:$M$14)
F20F20=MONTH(H20)
 
Upvote 0
The month abbreviated can be just=TEXT(H4,"mmm") or
not abbreviated =TEXT(H4,"mmmm")
 
Upvote 0
Hi Dave thank you very much for your help, I'm afraid I explained myself wrong. What I am looking for is shown in the picture I enclose. So I hope for your help. Regards Klaus W
Skærmbillede (13).png
 
Upvote 0
You can see that the months are in rows 2, 5, 8, etc. But as I also wrote, it varies from year to year. KW
 
Upvote 0
" You can see that the months are in rows 2, 5, 8, "

Why?

You can include the Months. N.B. You can centre across selection; this does not show in extract below.
Assign a DOB like 1-1-1
The sort on DOB2 will still work correctly.

Adding these rows will distort counts.

T202009c.xlsm
ABCDEFGHIJK
3DatoDagNavnSkibs nr.Alder31-12-20CPRDOBMDR.DOB2Month
4January1-Jan-0101-JanJan
518John29januar200158-111120-Jan-58120-JanJan
6February1-Feb-0101-FebFeb
720Ole62februar040272-11114-Feb-72204-FebFeb
2e
Cell Formulas
RangeFormula
J4:J7J4=DATE(1,MONTH(H4),DAY(H4))
K4:K7K4=TEXT(H4,"mmm")
I5,I7I5=MONTH(H5)
H5,H7H5=--TEXT(LEFT(G5,6),"00-00-00")
H6H6=EDATE(H4,1)
 
Upvote 0
Thank you very much, I have try but I can not get Excel to do that you have make it do. I do not can figuer out what I am does wrong but I think it has something to do with filters.
it's just like in # 6 I wish it should look. Regards Klaus w
 
Upvote 0
1. I sorted based on column DOB2

T202009c.xlsm
ABCDEFGHIJK
3DatoDagNavnSkibs nr.Alder31-12-20CPRDOBMDR.DOB2Month
4January1-Jan-0101-JanJan
518John29januar200158-111120-Jan-58120-JanJan
6February1-Feb-0101-FebFeb
720Ole62februar040272-11114-Feb-72204-FebFeb
8March1-Mar-0101-MarMar
904Anne48marts040392-11114-Mar-92304-MarMar
10XXX3250300-111125-Mar-00325-MarMar
2e
Cell Formulas
RangeFormula
J4:J10J4=DATE(1,MONTH(H4),DAY(H4))
K4:K10K4=TEXT(H4,"mmm")
I5,I9:I10,I7I5=MONTH(H5)
H5,H9:H10,H7H5=--TEXT(LEFT(G5,6),"00-00-00")
H6,H8H6=EDATE(H4,1)
F10F10=MONTH(H10)


If I just wanted the information for Jan and Feb, I would select those months in the Months column.
T202009c.xlsm
ABCDEFGHIJK
3DatoDagNavnSkibs nr.Alder31-12-20CPRDOBMDR.DOB2Month
4January1-Jan-0101-JanJan
518John29januar200158-111120-Jan-58120-JanJan
6February1-Feb-0101-FebFeb
720Ole62februar040272-11114-Feb-72204-FebFeb
2e
Cell Formulas
RangeFormula
J4:J7J4=DATE(1,MONTH(H4),DAY(H4))
K4:K7K4=TEXT(H4,"mmm")
I5,I7I5=MONTH(H5)
H5,H7H5=--TEXT(LEFT(G5,6),"00-00-00")
H6H6=EDATE(H4,1)
 
Upvote 0
I am sorry to say I cannot figuer out have to do, I do as you type, but it does not work. Will you help, I can send a link in Dropbox.
 
Upvote 0

Forum statistics

Threads
1,215,480
Messages
6,125,049
Members
449,206
Latest member
Healthydogs

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top