Table 1
ID Title Object 1
1 Book 1 Home Alone
2 Book 2 Forest Gump
3 Book 3 James Bond
Goal is to loop thru the table and use an if statement to rename the Object 1 and create a field (New) on the table.
If Book 1 is Like “*Home”, then Children’s book
Book 2 is like “*Forest” , then Horror book
Final Output
Table 1
ID Title Object 1 New Field
1 Book1 Home Alone Children’s book
2 Book2 Forest Gump Horror book
ID Title Object 1
1 Book 1 Home Alone
2 Book 2 Forest Gump
3 Book 3 James Bond
Goal is to loop thru the table and use an if statement to rename the Object 1 and create a field (New) on the table.
If Book 1 is Like “*Home”, then Children’s book
Book 2 is like “*Forest” , then Horror book
Final Output
Table 1
ID Title Object 1 New Field
1 Book1 Home Alone Children’s book
2 Book2 Forest Gump Horror book
Comment