0

if (values[i][0] = values[x][0] && x != i )

I and X are both row numbers and 0 just points it to column A. The code under this runs every time. I'm running it on the sheet called "Games W20"

https://docs.google.com/spreadsheets/d/1H2C7oRFZZRCKRyQ-rn6MFpB5rCAraCq-V2Z4-YIrD2Q/edit#gid=1657776731

1

1 Answer 1

1

You should add a second = for comparison

if (values[i][0] == values[x][0] && x !== i )

`

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.