Apr 09 2024 12:49 PM
I have an excel sheet that has several employee names for a 90 day period, it will show how many minutes late they were each day for 90 days. on another sheet i have their names pre filled and need to do a vlookup on their name on the previous sheet and return the count of how many times they were late between 4 and 14 minutes. Heeeeeelp
Apr 09 2024 01:07 PM
What is the layout of the first sheet that you mention?
Apr 09 2024 01:12 PM
Apr 09 2024 01:18 PM
Thanks. Let's say that sheet is named Data Sheet.
In B2 on the other sheet:
=COUNTIFS('Data Sheet'!$A$2:$A$10000, A2, 'Data Sheet'!$E$2:$E$10000, "<=-4", 'Data Sheet'!$E$2:$E$10000, ">=-14")
Fill down.
Apr 10 2024 01:15 AM
Could you attach a small sample workbook demonstrating the problem (without sensitive data), or if that is not possible, make it available through OneDrive, Google Drive, Dropbox or similar?
Apr 10 2024 01:26 PM
Apr 10 2024 01:48 PM
I can see the workbook, but downloading has been disabled, and copying as well, so I cannot do anything with it.
Apr 10 2024 06:29 PM
Like @HansVogelaar I can see it, but not download or copy. Seeing it, though, makes me think that a formula using COUNT and FILTER would work, assuming you have a current enough version of Excel so that FILTER works. This video should be sufficient to show you how to write the FILTER function to get the rows that meet your criteria.
Apr 11 2024 01:33 AM
Apr 11 2024 05:52 AM