Trying to decipher some Excel formulas and I see some stuff like SUMPRODUCT(–Left(…)…)
What is the — doing? Naturally seems like decrementing to me but couldn’t find any documentation on it.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The double-dash is known as a double unary operator.
Try this link: Why use — in SUMPRODUCT formulae
Specifically:
A single unary operator (-) coerces true/false values into -1/0. By using the double unary operaor, we coerce the values again to 1/0.