Assume I want to calculate the weighted value of "value 2" based on the total of "value" if an indicator = 'Y' , how to do this without adding an extra column?

So essentially I want to know how I can apply an expression for each row in a certain range ("artificial column") which I can then apply e.g. a SUM on.

In the screenshot below, how can I calculate the Red Formula without adding an extra column?

screen shot of sample data


1 Answer 1


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.