Hi, daphne!
The trick of the 2 dahses, 2 minus signs in fact, is to convert logical values (true, false) into numeric values, and hence allowing to perform arithmetic operations.
There's another way to do that, and it's multiplying (as the main operation of the SUMPRODUCT function, sum of products) each matrix instead of separating them by commas:
=SUMPRODUCT((A1:A10="Luke Skywalker")*(B1:B10="West")*(D1: D10))
Hope it helps.
Regards!