I understand the logic behind the following formula which captures "responses" from codes below that end in "7" on worksheet 1.
=SUMPRODUCT( (RIGHT($A$1:$A$6, 1)="7") * $B$1:$B$6)
However, what if I want to pull the responses from worksheet 1? Is there a lookup formula that can be added to the noted sumproduct formula to help me pull data from worksheet 1 to worksheet 2?
Worksheet 1
Codes:-------- Responses:
601BF5 -------- 200
601BF6 -------- 400
601BF7 -------- 500
601BZ5 -------- 200
601BZ6 -------- 400
601BZ7 -------- 500
Worksheet 2
Need to pull all responses with codes that end in 7.
Bookmarks