kumara_faith
Well-known Member
- Joined
- Aug 19, 2006
- Messages
- 951
- Office Version
- 365
Hi,
I have the following time and date stamp for my staffs from the attendance system which captures every time the staffs enter or exit the office:
<!-- Please do not remove this header -->
<!-- Table easily created from Excel with ASAP Utilities (https://www.asap-utilities.com) -->
<table border="1" bordercolor="#C0C0C0" bordercolordark="#FFFFFF" cellpadding="0">
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000"><u><b>Date</b></u></font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000"><u><b>Time</b></u></font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000"><u><b>Staff Name</b></u></font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-01</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">14:01:39</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Joanne</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-01</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">18:37:10</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Joanne</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">7:22:52</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Michelle</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">7:24:34</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Michelle</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">7:25:13</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Michelle</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">8:05:27</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Michelle</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">8:07:21</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Michelle</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">8:08:15</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Michelle</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">8:16:03</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Natallie</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">8:20:24</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Natallie</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">8:25:46</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Batrice</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">8:30:30</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Katherine</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">8:45:30</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Katherine</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">8:55:30</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Katherine</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">8:30:45</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Batrice</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">8:31:31</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Batrice</font></td></tr>
</table>
I need to summarize a report to capture what time they came to the office, which should be the first entry time and date for every single day. The end result should like this:
<!-- Please do not remove this header -->
<!-- Table easily created from Excel with ASAP Utilities (https://www.asap-utilities.com) -->
<table border="1" bordercolor="#C0C0C0" bordercolordark="#FFFFFF" cellpadding="0">
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Date</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Joanne</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Michelle</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Natalie</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Batrice</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Katherine</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-01</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">14:01:39</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000"></font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000"></font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000"></font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000"></font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000"></font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">7:22:52</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">8:16:03</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">8:25:46</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">8:30:30</font></td></tr>
</table>
I tried with the following formula but it did not work. Appreciate any help:
=SUMPRODUCT((C2:C17=F2)*(A2:A17=E3),MIN(B2:B17))
I have the following time and date stamp for my staffs from the attendance system which captures every time the staffs enter or exit the office:
<!-- Please do not remove this header -->
<!-- Table easily created from Excel with ASAP Utilities (https://www.asap-utilities.com) -->
<table border="1" bordercolor="#C0C0C0" bordercolordark="#FFFFFF" cellpadding="0">
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000"><u><b>Date</b></u></font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000"><u><b>Time</b></u></font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000"><u><b>Staff Name</b></u></font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-01</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">14:01:39</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Joanne</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-01</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">18:37:10</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Joanne</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">7:22:52</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Michelle</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">7:24:34</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Michelle</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">7:25:13</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Michelle</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">8:05:27</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Michelle</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">8:07:21</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Michelle</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">8:08:15</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Michelle</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">8:16:03</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Natallie</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">8:20:24</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Natallie</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">8:25:46</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Batrice</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">8:30:30</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Katherine</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">8:45:30</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Katherine</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">8:55:30</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Katherine</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">8:30:45</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Batrice</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">8:31:31</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Batrice</font></td></tr>
</table>
I need to summarize a report to capture what time they came to the office, which should be the first entry time and date for every single day. The end result should like this:
<!-- Please do not remove this header -->
<!-- Table easily created from Excel with ASAP Utilities (https://www.asap-utilities.com) -->
<table border="1" bordercolor="#C0C0C0" bordercolordark="#FFFFFF" cellpadding="0">
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Date</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Joanne</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Michelle</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Natalie</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Batrice</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">Katherine</font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-01</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">14:01:39</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000"></font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000"></font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000"></font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000"></font></td></tr>
<tr><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">2019-01-02</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000"></font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">7:22:52</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">8:16:03</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">8:25:46</font></td><td bgcolor="#FFFFFF" align="left" valign="top" style="white-space: nowrap"><font face="Tahoma" size="2" color="#000000">8:30:30</font></td></tr>
</table>
I tried with the following formula but it did not work. Appreciate any help:
=SUMPRODUCT((C2:C17=F2)*(A2:A17=E3),MIN(B2:B17))