Retrieve correct data in a table with formulas

Arkine

Board Regular
Joined
Aug 3, 2014
Messages
86
Hello everyone,

Thanks again for your help so far.
I have a new problem below :

I have a big data table like this:
NameStatusShiftDateHourMinSec
BobC/OutS223/08/2019248
BobC/InS123/08/2019104214
BobC/OutSC23/08/2019235926
JimC/InS122/08/20199923

<tbody>
</tbody>

So Bob clocked out the 23/08/2019 at 02:04 AM and clocked in again at 10:42AM, and so on.

I want to retrieve from this table values sorted by C/In, C/Out, Out for Break, Back from Break. Example with clock in:
AB
1C/In
2NameShiftDateHourMinSec
3= Find name occurences with "C/In" : BobRetrieve corresponding shift S1= Find the 1st date with Clock in :
23/08/2019
104214
JimS122/08/20199923

<tbody>
</tbody>
..

So basically i'm looking for a formula that retrieves all the values linked to C/In and that can be incremented.

Thanks for your help and please do tell me if i'm not clear enough.

Arkine
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,214,606
Messages
6,120,478
Members
448,967
Latest member
visheshkotha

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