Lookup Name by Date ?

JumboCactuar

Well-known Member
Joined
Nov 16, 2016
Messages
785
Office Version
  1. 365
Platform
  1. Windows
Hi,
not sure how to explain this:

I have a calendar like sheet
(Names in Column A going down the rows)
(Dates in Row 4 going Horizontal)

Then a Data sheet with names in Column A and Dates in Column B

I want to populate the calendar sheet for each Name with a count of records found for that Name/Date

Example
Data Sheet - John has 2 date entries for 24/01/2021

Calender - Column with that Date + Row with John = 2


Any help appreciated
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Hi JumboCatuar,

Her the Data sheet
JumboCactuar2.xlsx
AB
1NameDate
2Sue01-Jan-21
3Dave02-Jan-21
4Sue03-Jan-21
5Sarah08-Jan-21
6Dave08-Jan-21
7Dave15-Jan-21
8John16-Jan-21
9Sarah17-Jan-21
10John05-Feb-21
Data


Here's the Calendar sheet
JumboCactuar2.xlsx
ABCDEFGH
4Name01-Jan-2108-Jan-2115-Jan-2122-Jan-2129-Jan-2105-Feb-2112-Feb-21
5Dave0110000
6John0000010
7Sarah0100000
8Sue1000000
Calendar
Cell Formulas
RangeFormula
B5:H8B5=COUNTIFS(Data!$A$2:$A$9999,Calendar!$A5,Data!$B$2:$B$9999,Calendar!B$4)
 
Upvote 0
Solution
Hi JumboCatuar,

Her the Data sheet
JumboCactuar2.xlsx
AB
1NameDate
2Sue01-Jan-21
3Dave02-Jan-21
4Sue03-Jan-21
5Sarah08-Jan-21
6Dave08-Jan-21
7Dave15-Jan-21
8John16-Jan-21
9Sarah17-Jan-21
10John05-Feb-21
Data


Here's the Calendar sheet
JumboCactuar2.xlsx
ABCDEFGH
4Name01-Jan-2108-Jan-2115-Jan-2122-Jan-2129-Jan-2105-Feb-2112-Feb-21
5Dave0110000
6John0000010
7Sarah0100000
8Sue1000000
Calendar
Cell Formulas
RangeFormula
B5:H8B5=COUNTIFS(Data!$A$2:$A$9999,Calendar!$A5,Data!$B$2:$B$9999,Calendar!B$4)
working thankyou
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,717
Members
448,985
Latest member
chocbudda

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