Adding or removing people from a list


I have a column for People. I use it to store all the people who voted on an idea. So if someone clicks on the “vote” button, I wanted to add that user() to the list in the people column. If I click ‘remove vote’, I want to remove that user() from the list of people.

I can easily swap the value with user(), but not sure how to maintain the array of current people who voted and add or delete a user on clicking the button.

Any ideas?