I am working on attendance in a google sheet where I maintain hourly attendance. I record attendance for 5 hours everyday. In column B9:B40 I have a list of names. In Row F3:3 I have the dates. From F3:J3, 19-Jun-2024, from K3:O3, 20-Jun-2024 and so on. In F9:DZ I have marked 'A' for absent and 'P'. I am looking to filter the names with date and hours where 'A' is marked. I am also alright to enter a date manually and get the names with total number of hours and / or the hour number. I have uploaded an image for easy understanding.
Thank you for any help.
=FILTER(B9:B,F3:3=DATE(),F9:DZ="A")
use:
=INDEX(SPLIT(TOCOL(IF(F9:DZ40="A"; B9:B40&"×"&F3:DZ3&"×"&F4:DZ4; ); 1); "×"))
and format 2nd column as Date