Data Validation

Hi, How do I stop user from entering same information using a new row for a column. For example, we have trade description and we would like the newly added trade description to be different so that there will be no duplicate data with different unique ID. Any ideas? 

Solved Solved
0 2 56
1 ACCEPTED SOLUTION

You can prevent duplicate values for a column by using the approach described in the article below and expression described below in the valid_if of the column. Please be aware that this approach will not work in multi user environment when two users try to simultaneously update with the same value. But generally such occurrences of simultaneous update maybe rare. Of course you will be the best judge of how frequently this is likely to happen and if impact is severe.

ISBLANK(
FILTER(
"Table Name",
([_THIS] = [Trade Description])
)
- LIST([_THISROW])
)

List expressions - AppSheet Help

 

View solution in original post

2 REPLIES 2

You can prevent duplicate values for a column by using the approach described in the article below and expression described below in the valid_if of the column. Please be aware that this approach will not work in multi user environment when two users try to simultaneously update with the same value. But generally such occurrences of simultaneous update maybe rare. Of course you will be the best judge of how frequently this is likely to happen and if impact is severe.

ISBLANK(
FILTER(
"Table Name",
([_THIS] = [Trade Description])
)
- LIST([_THISROW])
)

List expressions - AppSheet Help

 

I will try this later. Thankss!

 

Top Labels in this Space