Forum Discussion

lopezn6's avatar
lopezn6
Copper Contributor
Sep 10, 2021
Solved

Formula Help to retrieve a name from table and return a value

This might be complicated as I'm not extremely familiar with excel. I would like to create a formula that can find a name from the bottom table and depending on which section it is in (cleanup / setup etc.) I want it to be able to add 1 to the value assigned in the upper table. If this isn't possible, ill understand...

 

 

  • lopezn6 

    In C25, confirmed with Ctrl+Shift+Enter to turn it into an array formula:

     

    =SUMPRODUCT(($A$48:$A$61=C$24)*(IFERROR(FIND($B25,$B$48:$M$61),0)=1))

     

    Fill to the right to F25, then fill down.

4 Replies

    • lopezn6's avatar
      lopezn6
      Copper Contributor
      Hey thank you so much, the function works great. I am noticing that rows 49:51 under cleanup arent registering when i type a name into the section
      • lopezn6 

        It works for me - see the attached sample workbook (I didn't bother with the formatting)

        Please note that Robbins occurs in the lower table but not in the upper one, so he is not counted.

  • lopezn6 

    In C25, confirmed with Ctrl+Shift+Enter to turn it into an array formula:

     

    =SUMPRODUCT(($A$48:$A$61=C$24)*(IFERROR(FIND($B25,$B$48:$M$61),0)=1))

     

    Fill to the right to F25, then fill down.

Resources