I can't figure out a function that would automatically copy the first row value if the value on another rows matches 1. I would need the red dates to be automated. Any advice would be very appreciated, thank you!
If you have, you can also use Xlookup, it's a bit easier.
=XLOOKUP(1;E2:O2;$E$1:$O$1;"not found")

