
Dear respected Eelke van der Zwaag,
Good day! Thank you for posting to Microsoft Community. We are happy to help you.
As per your description, using INDEX and MATCH
=IFERROR(INDEX(J:J, MATCH(F5, H:H, 0)), "")
If sum is 8:
If there is any misunderstanding, I apologize and please feel free to post back to us with more detailed information for better understanding and guiding you further.
Please understand that our initial reply may not always immediately resolve the issue. However, with your help and more detailed information, we can work together to find a solution.
I'm sorry and I apologize for that.
Appreciate your patience and understanding and thank you for your time and cooperation.
Sincerely,
Waqas Muhammad