Consider a situation where you need to assign people to specific teams.
You can implement the logic of adding values to a bucket, which in this case is the team name.
Name
|
Team
|
|
Sena, Stephen, Alfy
|
Sales
|
Weber, Tandy, Hallsy
|
Marketing
|
Jared
|
Engineering
|
Jerrie, Karim
|
Support
|
In order to start the bucketing process with this data, you can form the conditions, such as:
If value in (
Sena, Stephen, Alfy
), add to the bucket: Sales
If value in (
Weber, Tandy, Hallsy
), add to the bucket: Marketing
If value in (
Jerrie, Karim
) add to the bucket: Support
If value in (
Jared
) add to the bucket: Engineering