One of possible solutions (for both Excel 2010 and 2019 could be array formula in E3, copied down, right and to the second section:
Note 1 in first argument.
And that case shows clearly why I always ask:
Will you please attach a SMALL sample Excel workbook(s) (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).
1. Make sure that your sample data are truly REPRESENTATIVE of your real data. (If there are typical cases like: all unique values/duplicates could occur, day/night, nobody present/several persons at once, before/on/past due, empty cells between data, mixed text/numbers, etc. - please show them all or at least indicate in text). The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.
2. Make sure that your desired solution(s) is/are also shown (mock up the results manually).
3. Make sure that all confidential/restricted information (either personal or business) like real e-mails, social security numbers, bank accounts, etc. is removed first!!
To attach an Excel file you have to do the following (
paperclip icon does not work!): Just before posting, scroll down and press Go Advanced button and then scroll down and press
Manage Attachments link. Now follow the instructions at the top of that pop-up screen.
Bookmarks