I want each Holiday day to show 1 line the same as a Saturday and to assign that holiday day to the next person I will try and upload an image
My latest stab at your requirements:
Book1 |
---|
|
---|
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U |
---|
1 | Start Day | # of days | # of people | Holidays | | | Date | Day/Instance | Person No | Person Name | Team | | Number | Name List | | Team Name | Team Size | % | Count | Incremental
Count | Actual |
---|
2 | 12/23/2024 | 365 | 15 | 12/25/2024 | Xmas | | 12/23/2024 | Monday/1 | 1 | Ant, adam, | C | | 1 | Ant, adam, | | A | 5 | 12% | 73.57143 | 73.5714286 | 74 |
---|
3 | | | | 12/26/2024 | Boxing | | 12/23/2024 | Monday/2/3 | 2 | Bassett, Bertie | B | | 2 | Bassett, Bertie | | B | 4 | 10% | 58.85714 | 132.428571 | 59 |
---|
4 | | | | 1/1/2025 | New year’s day 2025 | | 12/24/2024 | Tuesday/1 | 3 | Chaplin, Charlie | D | | 3 | Chaplin, Charlie | | C | 3 | 7% | 44.14286 | 176.571429 | 44 |
---|
5 | | | | 4/1/2025 | Easter Monday 2025 | | 12/24/2024 | Tuesday/2/3 | 4 | Day, Darren | E | | 4 | Day, Darren | | D | 9 | 21% | 132.4286 | 309 | 132 |
---|
6 | | | | 5/5/2025 | Early May Bank Holiday 2025 | | 12/25/2024 | Xmas /BH | 5 | Eastwood, Ernie | D | | 5 | Eastwood, Ernie | | E | 7 | 17% | 103 | 412 | 103 |
---|
7 | | | | 5/26/2025 | Spring Bank Holiday 2025 | | 12/26/2024 | Boxing/BH | 6 | Flintstone, Fred | G | | 6 | Flintstone, Fred | | F | 6 | 14% | 88.28571 | 500.285714 | 89 |
---|
8 | | | | 8/4/2025 | Summer Bank Holiday 2025 | | 12/27/2024 | Friday/1 | 7 | Gee, Whiz | F | | 7 | Gee, Whiz | | G | 8 | 19% | 117.7143 | 618 | 117 |
---|
9 | | | | 8/25/2025 | Late Summer Bank Holiday 2025 | | 12/27/2024 | Friday/2/3 | 8 | Houdini, Harry | A | | 8 | Houdini, Harry | | Total | 42 | | | | |
---|
10 | | | | 12/25/2025 | Christmas Day 2025 | | 12/28/2024 | Saturday/1 | 9 | Itch, Ivor | G | | 9 | Itch, Ivor | | | | | | | |
---|
11 | | | | 12/26/2025 | Boxing Day 2025 | | 12/29/2024 | Sunday/1 | 10 | Jackson, Janet | D | | 10 | Jackson, Janet | | | | | | | |
---|
12 | | | | 1/1/2026 | New year’s day 2026 | | 12/30/2024 | Monday/1 | 11 | Kiki, Kurt | D | | 11 | Kiki, Kurt | | | | | | | |
---|
13 | | | | 4/6/2026 | Easter Monday 2026 | | 12/30/2024 | Monday/2/3 | 12 | Luca, Lord | C | | 12 | Luca, Lord | | | | | | | |
---|
14 | | | | 5/4/2026 | Early May Bank Holiday 2026 | | 12/31/2024 | Tuesday/1 | 13 | Miles, Many | A | | 13 | Miles, Many | | | | | | | |
---|
15 | | | | 5/25/2026 | Spring Bank Holiday 2026 | | 12/31/2024 | Tuesday/2/3 | 14 | Not, Now | E | | 14 | Not, Now | | | | | | | |
---|
16 | | | | 8/3/2026 | Summer Bank Holiday 2026 | | 1/1/2025 | New year’s day 2025/BH | 15 | Oprey, old | F | | 15 | Oprey, old | | | | | | | |
---|
17 | | | | 8/31/2026 | Late Summer Bank Holiday 2026 | | 1/2/2025 | Thursday/1 | 1 | Ant, adam, | G | | Bank, Holiday | Bank, Holiday | | | | | | | |
---|
18 | | | | 12/25/2026 | Christmas Day 2026 | | 1/2/2025 | Thursday/2/3 | 2 | Bassett, Bertie | F | | | | | | | | | | |
---|
19 | | | | 12/26/2026 | Boxing Day 2026 | | 1/3/2025 | Friday/1 | 3 | Chaplin, Charlie | G | | | | | | | | | | |
---|
20 | | | | | | | 1/3/2025 | Friday/2/3 | 4 | Day, Darren | D | | | | | | | | | | |
---|
21 | | | | | | | 1/4/2025 | Saturday/1 | 5 | Eastwood, Ernie | G | | | | | | | | | | |
---|
22 | | | | | | | 1/5/2025 | Sunday/1 | 6 | Flintstone, Fred | G | | | | | | | | | | |
---|
23 | | | | | | | 1/6/2025 | Monday/1 | 7 | Gee, Whiz | D | | | | | | | | | | |
---|
24 | | | | | | | 1/6/2025 | Monday/2/3 | 8 | Houdini, Harry | F | | | | | | | | | | |
---|
25 | | | | | | | 1/7/2025 | Tuesday/1 | 9 | Itch, Ivor | F | | | | | | | | | | |
---|
26 | | | | | | | 1/7/2025 | Tuesday/2/3 | 10 | Jackson, Janet | D | | | | | | | | | | |
---|
27 | | | | | | | 1/8/2025 | Wednesday/1 | 11 | Kiki, Kurt | F | | | | | | | | | | |
---|
28 | | | | | | | 1/8/2025 | Wednesday/2/3 | 12 | Luca, Lord | A | | | | | | | | | | |
---|
29 | | | | | | | 1/9/2025 | Thursday/1 | 13 | Miles, Many | A | | | | | | | | | | |
---|
|
---|
Thanks for the help, that does the job perfectly.
If you ever have the time and inclination I would really appreciate a brief breakdown of the two LET formulas & the MOD formula so that I might understand what each part is doing.
=LET(start,A2,nd,B2,hol,D2:D20,hold,E2:E20,s,SEQUENCE(nd*2,,start,1/2),m,MOD(s,1),f,FILTER(s,(m=0)+((WEEKDAY(s,2)<6)*ISERROR(MATCH(INT(s),hol,0)))),d,IFERROR(XLOOKUP(INT(f),hol,hold,,0),TEXT(f,"dddd"))&"/"&IFS(ISNUMBER(MATCH(INT(f),hol,0)),"BH",MOD(f,1)=0,"1",1,"2/3"),CHOOSE({1,2},INT(f),d))
=LET(a,ROWS(G2#),m,IFERROR(MATCH(SEQUENCE(a,,0),T1:T8),1),INDEX(P2:P8,SORTBY(m,RANDARRAY(a))))
=MOD(N(I1),C$2)+1