I have been trying to figure it out for what I was doing wrong
Here the explanation for what I am currently doing :
=IF(ABS(INDEX(list!D:D,MATCH(A2,list!A:A,0),MATCH(B2,list!B:B,0),MATCH(C2,list!C:C,0))-D2)<=5,"bingo",IF(ABS(INDEX(list!F:F,MATCH(A2,list!A:A,0),MATCH(B2,list!B:B,0),MATCH(C2,list!E:E,0))-D2)<=5,"bingo","try again"))
list
So the main reason you're running into issues is because your list
worksheet is setup terribly. Excel runs best with a flat-file type data structure. It should be reformatted to this:
Then you can setup your guessing game and use a simple SUMIFS formula:
In cell E2 of the guessing game worksheet, the formula is:
=IF(ABS(D2-SUMIFS(list!D:D,list!A:A,A2,list!B:B,B2,list!C:C,C2))<5,"Bingo!","Try again")
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.