Hi all sorry for the newbie question. How do do the desired output similar to the below. When Age 1 is greater than or equal to 5 but less than 10 label as ">5." When Age 1 is greater than or equal to 10 but less or equal to 29 label as ">10". When Age 1 is greater than 30 label as "30." Thank you
Data:
| Item | Age 1 | Age 2 |
| Rabbit | 100 | 5 |
| Horse | 5 | 0 |
| Dog | 6 | 0 |
| Cat | 8 | 3 |
| Cow | 15 | 4 |
| Man | 21 | 6 |
| Toys | 10 | 6 |
Desired Output:
| Category | Item | Age 1 | Age 2 | Label |
| Cake 1 | Rabbit | 100 | 5 | > 30 days |
| Juice 1 | Horse | 5 | 0 | > 5 days |
| Juice 2 | Dog | 6 | 0 | > 5 days |
| Cake 2 | Cat | 8 | 3 | > 5 days |
| Juice 1 | Cow | 15 | 4 | > 10 days |
| Cake 2 | Man | 21 | 6 | > 10 days |
| Soda 1 | Toys | 10 | 6 | > 10 days |