- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
How do I assign a new column with categorical data which is defined by specific tag words contained in another column of my data?
Hi Community,
I have a set of data, containing a column with part nr and a column with varying descriptions of the corresponding numbers.
Based on that data, I want to add another column, that automatically labels all rows which contain "WORD" in the description column as 1, the others as 0.
What is the best way to do this?
Thx in advance
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: How do I assign a new column with categorical data which is defined by specific tag words contained in another column of my data?
See if the attached example is what you want. It contains a formula column in column "WORD?" that looks like this:
You should be able to change the string ("WORD") to any other string to match your search criteria. Respond, if you need more help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: How do I assign a new column with categorical data which is defined by specific tag words contained in another column of my data?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: How do I assign a new column with categorical data which is defined by specific tag words contained in another column of my data?
See if the attached example is what you want. It contains a formula column in column "WORD?" that looks like this:
You should be able to change the string ("WORD") to any other string to match your search criteria. Respond, if you need more help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content