Finding the dates a person has visited the place , in a table

Espino2606

New Member
Joined
May 30, 2024
Messages
7
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hello , im kind of stuck , I want to find the dates or the numbers of visits of a person
In sheet 1 "B2" I can put the name of the person registered , and then in "F3" and downwards it shows me the dates the person was visited , or the number of visits (lets say visit 1 , 2, or 3)
In sheet 2 , its the table where I get my data saved

I uploaded the excel file in one drive
Test.xlsx
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
=SUMIFS(Sheet2!C5:C12,Sheet2!B5:B12,Sheet1!A4)

Test.xlsx
ABCDE
1
2
3NameNumber of Visits
4charlie3
5
6
Sheet1
Cell Formulas
RangeFormula
D4D4=SUMIFS(Sheet2!C5:C12,Sheet2!B5:B12,Sheet1!A4)


Test.xlsx
ABCDEFGH
1
2
3
4NameNumber VisitDateAgeHeightWeightAlergies
5John323
6Micheal224
7Charlie225
8Andy120
9John223
10Charlie125
11Micheal124
12John123
13
14
15
16
Sheet2


will only be on dropbox for a few days
 
Upvote 0
=SUMIFS(Sheet2!C5:C12,Sheet2!B5:B12,Sheet1!A4)

Test.xlsx
ABCDE
1
2
3NameNumber of Visits
4charlie3
5
6
Sheet1
Cell Formulas
RangeFormula
D4D4=SUMIFS(Sheet2!C5:C12,Sheet2!B5:B12,Sheet1!A4)


Test.xlsx
ABCDEFGH
1
2
3
4NameNumber VisitDateAgeHeightWeightAlergies
5John323
6Micheal224
7Charlie225
8Andy120
9John223
10Charlie125
11Micheal124
12John123
13
14
15
16
Sheet2


will only be on dropbox for a few days
Thank you ! However it shows me the sum of the visits , so when Charlie visits again and its his 3rd visit it will show 5
Is there anyway that it just shows me in a dropdown list or the last visit ? so I know how many times he has visited?
 
Upvote 0
so each entry is a visit ,
so a countif() then
=COUNTIF(Sheet2!B5:B12,Sheet1!A4)

Test-ETAF.xlsx
ABCDE
1
2
3NameNumber of Visits
4charlie2
Sheet1
Cell Formulas
RangeFormula
D4D4=COUNTIF(Sheet2!B5:B12,Sheet1!A4)


 
Upvote 0
do you want the dates ?

Finding the dates a person has visited the place​

You dont have any listed in the example

Can you give some expected results as an example
 
Upvote 0

Forum statistics

Threads
1,224,811
Messages
6,181,082
Members
453,021
Latest member
Justyna P

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