Chris_010101

Board Regular
Joined
Jul 24, 2017
Messages
188
Office Version
  1. 365
Platform
  1. Windows
Hello,

Each week, my whole company attends a meeting. Before each meeting, an email is sent out with a Microsoft Forms link which the whole company must complete to state they've acknowledged and understand the briefing. This is because some employees who work nights can't attend a daytime meeting. I need to create a system where I can track who has completed the MS form each week, using the data download from MS forms each week

MS forms data example
Amaro Safety Stand Down 11_04_2024.xlsx
ABCDEFG
1IdStart timeCompletion timeFull Name Is your role office or site based? What knowledge have you gained from the safety bulletins? I have read and understood the meeting
214/10/24 21:51:344/10/24 21:52:35Person 1Office AnonymisedYes
324/11/24 9:26:014/11/24 9:27:05Person 2Office AnonymisedYes
434/11/24 9:33:444/11/24 9:36:15Person 3Office AnonymisedYes
544/11/24 9:40:344/11/24 9:42:36Person 4Office AnonymisedYes
654/11/24 9:39:434/11/24 9:43:25Person 5Office AnonymisedYes
764/11/24 9:44:074/11/24 9:44:48Person 6Office AnonymisedYes
874/11/24 9:56:214/11/24 9:58:55Person 7Site AnonymisedYes
984/11/24 10:02:234/11/24 10:07:55Person 8Office AnonymisedYes
1094/11/24 10:17:164/11/24 10:19:15Person 9Office AnonymisedYes
11104/11/24 10:31:444/11/24 10:35:20Person 10Office AnonymisedYes
12114/11/24 10:40:084/11/24 10:45:47Person 11Office AnonymisedYes
13124/11/24 12:17:014/11/24 12:19:02Person 12Office AnonymisedYes
14134/11/24 12:32:054/11/24 12:35:12Person 13Site AnonymisedYes
15144/11/24 12:39:244/11/24 12:41:46Person 14Site AnonymisedYes
16154/11/24 13:19:154/11/24 13:20:20Person 15Office AnonymisedYes
17164/11/24 14:19:134/11/24 14:24:08Person 16Office AnonymisedYes
18174/11/24 15:02:394/11/24 15:09:30Person 17Site AnonymisedYes
19184/11/24 15:51:034/11/24 15:51:38Person 18Office AnonymisedYes
20194/11/24 9:48:344/11/24 15:53:36Person 19Office AnonymisedYes
21204/11/24 15:52:484/11/24 15:54:11Person 20Office AnonymisedYes
22214/11/24 15:50:474/11/24 15:54:16Person 21Office AnonymisedYes
23224/11/24 15:50:324/11/24 15:54:36Person 22Office AnonymisedYes
24234/11/24 15:53:394/11/24 15:54:42Person 23Site AnonymisedYes
25244/11/24 15:50:364/11/24 15:54:48Person 24Office AnonymisedYes
26254/11/24 15:52:424/11/24 15:55:13Person 25Office AnonymisedYes
27264/11/24 15:55:144/11/24 15:56:27Person 26Site AnonymisedYes
28274/11/24 15:55:114/11/24 15:57:52Person 27Site AnonymisedYes
29284/11/24 15:56:254/11/24 15:58:57Person 28Office AnonymisedYes
30294/11/24 15:58:184/11/24 15:59:10Person 29Office AnonymisedYes
31304/11/24 16:00:134/11/24 16:02:22Person 30Office AnonymisedYes
32314/11/24 15:57:004/11/24 16:02:26Person 31Site AnonymisedYes
33324/11/24 15:53:094/11/24 16:05:34Person 32Office AnonymisedYes
34334/11/24 12:50:004/11/24 16:05:39Person 33Site AnonymisedYes
35344/11/24 17:36:104/11/24 17:40:15Person 34Office AnonymisedYes
36354/11/24 18:13:534/11/24 18:16:33Person 35Site AnonymisedYes
37364/11/24 18:20:314/11/24 18:26:29Person 36Office AnonymisedYes
38374/11/24 19:43:554/11/24 19:45:39Person 37Site AnonymisedYes
39384/11/24 23:25:424/11/24 23:47:11Person 38Site AnonymisedYes
40394/12/24 0:37:564/12/24 0:40:34Person 39Site AnonymisedYes
41404/12/24 0:45:124/12/24 0:49:18Person 40Site AnonymisedYes
42414/12/24 0:49:574/12/24 0:52:54Person 41Site AnonymisedYes
43424/12/24 1:48:384/12/24 2:00:44Person 42Site AnonymisedYes
44434/12/24 5:35:164/12/24 5:38:11Person 43Site AnonymisedYes
45444/12/24 6:10:224/12/24 6:13:22Person 44Site AnonymisedYes
46454/12/24 11:21:404/12/24 11:25:50Person 45Office AnonymisedYes
47464/12/24 11:20:414/12/24 11:34:31Person 46Office AnonymisedYes
48474/12/24 12:12:104/12/24 12:15:08Person 47Site AnonymisedYes
49484/12/24 15:34:434/12/24 15:43:40Person 48Office AnonymisedYes
50494/12/24 16:26:564/12/24 16:30:09Person 49Site AnonymisedYes
51504/12/24 17:44:044/12/24 17:49:29Person 50Site AnonymisedYes
52514/13/24 14:37:204/13/24 14:42:29Person 51Site AnonymisedYes
53524/15/24 8:45:334/15/24 9:00:28Person 52Office AnonymisedYes
54534/16/24 12:01:214/16/24 12:07:38Person 53Office AnonymisedYes
Forms Data

I'd like the tracker to look something like this, with the date along the top being the date of the meeting and then Yes or No being whether they completed the form:
Book1
ABCDEFGHIJKLMNOPQRSTU
1Employee Name11/04/202418/04/202425/04/202402/05/202409/05/202416/05/202423/05/202430/05/202406/06/202413/06/202420/06/202427/06/202404/07/202411/07/202418/07/202425/07/202401/08/202408/08/202415/08/202422/08/2024
2Person 1YesNo
3Person 2NoNo
4Person 3YesYes
5Person 4YesNo
6Person 5NoYes
7Person 6YesYes
8Person 7YesYes
9Person 8YesYes
10Person 9YesYes
11Person 10YesYes
12Person 11YesYes
13Person 12YesYes
14Person 13YesYes
15Person 14YesYes
16Person 15YesYes
17Person 16YesYes
18Person 17YesNo
19Person 18YesYes
20Person 19YesYes
21Person 20YesYes
22Person 21YesYes
23Person 22YesNo
24Person 23YesYes
25Person 24YesYes
26Person 25YesYes
27Person 26YesYes
28Person 27YesNo
29Person 28YesYes
30Person 29YesYes
31Person 30NoYes
32Person 31YesYes
33Person 32NoNo
34Person 33NoNo
35Person 34NoYes
36Person 35YesNo
37Person 36YesYes
38Person 37YesYes
39Person 38YesYes
40Person 39YesNo
41Person 40YesYes
42Person 41YesYes
43Person 42YesYes
44Person 43YesYes
45Person 44YesYes
46Person 45YesYes
47Person 46YesYes
48Person 47YesYes
49Person 48NoNo
50Person 49NoNo
51Person 50YesYes
Sheet1

Employees are required to type their name into the form, so it may be different to how we have it recorded, i.e. Christopher may be typed as Chris - and also a lot of them do this on their phone so spelling mistakes sometimes happen. The majority will be ok but I am guessing this presents the need to introduce some sort of manual check where a name doesn't match. This may or may not be relevant but thought i'd include it anyway.

Happy with either a formula, or a VBA solution, whichever is more suitable.

Any help greatly appreciated.

Many Thanks
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Couple questions

1) Will the ID ever appear with multiple dates for meetings attended?
2) Is it possible for you to have the ID on your consolidation sheet? or can it be only the persons name?
(If you can have ID on the consolidation sheet that removes any issues of names varying and/or typos)
 
Upvote 0
Couple questions

1) Will the ID ever appear with multiple dates for meetings attended?
2) Is it possible for you to have the ID on your consolidation sheet? or can it be only the persons name?
(If you can have ID on the consolidation sheet that removes any issues of names varying and/or typos)
1) Start and completion time i would imagine are when they start and complete the form. Meeting is held each Thursday, deadline to complete the form is following Sunday
2) I might remove the problem with the person's name by using a drop-down names list on the form
 
Upvote 0
1) Start and completion time i would imagine are when they start and complete the form. Meeting is held each Thursday, deadline to complete the form is following Sunday
2) I might remove the problem with the person's name by using a drop-down names list on the form
So for question 1

I assumed the ID column was an employee ID #
In the example you have ID #1 on the 4/10 meeting but not on any other meetings.

Is the ID # an employee ID and if so, will same employee ID# show on multiple meeting dates
 
Upvote 0
So for question 1

I assumed the ID column was an employee ID #
In the example you have ID #1 on the 4/10 meeting but not on any other meetings.

Is the ID # an employee ID and if so, will same employee ID# show on multiple meeting dates
Ah, sorry. ID is just random. I think it's assigned in the order the person completes the form, i.e the 10th person to complete it is 10 and so on. Column C seems to be in time order.
I think in 4/10 case, the person who created the form released it in the evening and signed it straight away. Others picked it up the following morning and so on. Where I put person 1,2,3 etc, it's mere coincidence that the anonymisation of the data lined up with the ID.
 
Upvote 0
Hi there,
If all of the names are standardized, then the solution would rather simpler and I do not suggest VBA macro for this unless there are multi-complicated criteria for matching names.

Here is my suggestion:
Step 1: Create excel with sheets "Records", and dates of meeting like "20240411", "20240418"...etc
1713864710369.png


Step 2: Always copy and paste the entire MS forms data into designated sheet. For this case, your example above, copy into the Sheet named "20240411"

Step 3: In the sheet "Records", use formula to COUNTIF employee name inside the dated MS forms data (I assume Column D will always be the Employee name in your MS forms data)

=IFERROR(IF(COUNTIF(INDIRECT("'"&TEXT(B$1,"YYYYMMDD")&"'!D:D"),$A2)>0,"Yes","No"),"")

  • Iferror to exclude error to calculate those sheets yet to be created (future meetings)
  • If condition: show "Yes" for countif > 0, meaning the employee's name existing in the MS form data
  • Use INDIRECT to quote sheet name from the top row of the table: (in this case, the date need to be format into YYYYMMDD, because sheet name cannot be saved as "DD/MM/YYYY")
  • 1713864975370.png
  • Then just drag the formula to the whole table.
  • You will just need to create new sheet, rename sheet, copy paste MS form data for every week.

Cell Formulas
RangeFormula
C1:I1C1=B1+7
B2:I22B2=IFERROR(IF(COUNTIF(INDIRECT("'"&TEXT(B$1,"YYYYMMDD")&"'!D:D"),$A2)>0,"Yes","No"),"")



Caution: Formula consist of INDIRECT will cause excel consume more time to calculate. If there are multiple conditions or big data files of raw data (like 10,000 of employee), excel will need time to load.
Thanks!
 
Upvote 0

Forum statistics

Threads
1,215,326
Messages
6,124,260
Members
449,149
Latest member
mwdbActuary

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