Should Be An Easy VLookup, Running Into Issue

bobcobb

New Member
Joined
Jan 24, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hey, I haven't had to break out the Excel skills in awhile so I apologize for a very noob question around VLOOKUP.

I have a new sheet I am working on. The data I will be pulling from will be a new tab called BIRTHDAYS.

On the BIRTHDAYS tab I am looking for David's birthday. The name David is in Column A, and his Birthday is in Column D.

I don't know if I am running into issues because the birthday is not in Column A, but can anyone assist here? Thanks!
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Should work with something like:

Excel Formula:
=VLOOKUP(A2,BIRTHDAYS!$A$2:$D$20,4)

Where A2 is the column containing the names on the sheet you are populating with the birthday. Though VLOOKUP works best if the lookup table is sorted alphabetically. Since you are on 365, you can use XLOOKUP instead:

Excel Formula:
=XLOOKUP(A2,BIRTHDAYS!$A$2:$A$20,BIRTHDAYS!$D$2:$D$20)
 
Upvote 0
Thanks, it ended up being 4th alphabetically so I just changed it to A4. Is there a way to include "David" in the function, I am assuming this will be a lot longer.
 
Upvote 0
Thanks, it ended up being 4th alphabetically so I just changed it to A4. Is there a way to include "David" in the function, I am assuming this will be a lot longer.
Only looking up "David" ? Is there not a list of names you would want to use to look up the birthday of each person? Could you provide some sample data?
 
Upvote 0
I used VLOOKUP, as I'm on an older version of Excel, but the same would work with XLOOKUP as @dreid1011 suggested.

Book1
AB
1Pick NameDOB
2David24-Oct-1972
Sheet1
Cell Formulas
RangeFormula
B2B2=VLOOKUP($A$2,BIRTHDAYS!$A$1:$D$26,4)
Named Ranges
NameRefers ToCells
DOB=BIRTHDAYS!$D$2:$D$26B2
FirstName=BIRTHDAYS!$A$2:$A$26B2
Cells with Data Validation
CellAllowCriteria
A2List=FirstName


Book1
ABCD
1FirstNameDOB
2Alice7-Aug-2017
3Bob23-Jun-1973
4Cathy25-Sep-1999
5David24-Oct-1972
6Ernest15-Apr-1984
7Fred24-Apr-2017
8Gina12-Jul-2016
9Harriet24-Sep-2021
10Igor2-Aug-1974
11Jack26-Jun-2002
12Kacey6-Aug-2005
13Lloyd18-Nov-1973
14Max12-Oct-2005
15Nick4-Dec-2014
16Opal17-Mar-2001
17Penny31-Oct-1977
18Quinn23-May-1998
19Rosie12-Dec-1981
20Steve9-Aug-2011
21Ted11-Nov-2006
22Ursula28-Nov-1991
23Victor28-Apr-2015
24Xavier27-Jan-1997
25Yvonne22-Dec-2004
26Zack15-Jun-2006
BIRTHDAYS
 
Upvote 0

Forum statistics

Threads
1,215,093
Messages
6,123,069
Members
449,090
Latest member
fragment

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