enter image description here
The result I want to achieve is:
For row 468, if X468=1, then Y468 will return the value of V468. How should I type in the function?