Search code examples
excelformulavlookup

I am looking for any easy excel dynamic formula to find the amount for each Week per person as per attached list


I have below data and I need Week wise and Name wise Amount through a dynamic formula. Any help in this regard is highly appreciated.

enter image description here


Solution

  • You can try below formula.

    =SUMPRODUCT(--($A$14:$F$16=$B2)*--($A$13:$F$13=$A2)*(IF(ISNUMBER($B$14:$G$16),$B$14:$G$16,0)))
    

    enter image description here