I have a data table containing a hotel list (column a). In the list some hotel name contains - Resort, Hotel, Motel etc.
I want to copy the word depend on the hotel name . I mean if the hotel name contains resort I want to add that in new column and if the Hotel name contains “Hotel” I want to paste/write that in column next to it. I am if activity. Can somebody please help
Use the For Each Row in data table activity to iterate through the rows of the data table and use the if activity to check if the name contains the hotel or motel or resort word.
if it contains the word then write it in the respective column.
Use three if activities for all three condition separately
Use assign to write the name into columns
Thank you for your response. The things is the rows contains some specific word like type of property they are i.e Hotel,Motel,resort. If the list contain any of this I want to extract that specific word.
Or if the hotel name contains 2 ( hotel and resort both) I can use “Else” to write the value Not found or something.