Displaying Name if current date is their Birthday

Haree

Board Regular
Joined
Sep 22, 2019
Messages
146
Office Version
  1. 2016
Hi all
I have 2 Sheets

Sheet 1 has the following columns
Column 1 = Customer Name
Column 2 = Customer Phone
Column 3 = Customer Date of Birth

Sheet 2 has 2 columns

Customer Name
Customer Phone

If today is a customers birthday i want it to pull it from sheet 1 and display in sheet 2

PS: The list will be updated regularly

Any help will be greatly appreciated. Thanks in advance
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
You can use Pivot table to Filter Name. Just Change Date and Refresh Pivot table.

28-08-21 Exp.xlsx
ABCDEFGHIJ
1 Customer NameCustomer PhoneCustomer Date of BirthDOB8/28/2021
2A1118/28/2021
3B2228/22/2021NameNumber
4C3338/23/2021A111
5D4448/24/2021E555
6E5558/28/2021
7F
8
9
Sheet1
 
Upvote 0
Here's a macro :
VBA Code:
Sub v()
With Sheets("Sheet2")
    .UsedRange.Offset(1).ClearContents
    .Range("A2:B" & Sheets("Sheet1").Cells(Rows.Count, 1).End(3).Row).FormulaR1C1 = _
        "=IF(MONTH(Sheet1!RC3) & DAY(Sheet1!RC3)=MONTH(TODAY()) & DAY(TODAY()),Sheet1!RC,1)"
    .[A:A].SpecialCells(xlCellTypeFormulas, 1).EntireRow.Delete
    .UsedRange = .UsedRange.Value
End With
End Sub
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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