title: Is there any Excel function that can copy column's (first row's) name if the value matches?
body: <p>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.</p>
  <p>Any advice would be very appreciated, thank you!</p>
  <p><a href="https://i.stack.imgur.com/20VGm.png" rel="nofollow noreferrer">Excel problem</a></p>