Hi there, First post here so I apologize if I breach any rules. I have scoured the internet and this forum and so far been unsuccessful in finding a solution to my problem. Admittedly it is likely that I don't know the correct way to ask the question. Hopefully someone here can help me with this problem.
I have an excel csv file with approximately 3000 lines of text (it is a download from our website). I am trying to extract every mention of a colour within our product names to allow me to provide a more accurate filter capability. I have been trying to use the following as an array to solve my problem: =IFERROR(INDEX(results,MATCH(TRUE,ISNUMBER(SEARCH(things,A2)),0)),"")
This has proven successful at extracting a single colour from my named range, however if a cell has multiple colour values this will only select the first in the list. My named ranges appear as follows (This isn't all my colours but just giving an example):
[TABLE="width: 500"]
<tbody>[TR]
[TD]things:[/TD]
[TD]results:[/TD]
[/TR]
[TR]
[TD]red[/TD]
[TD]red,[/TD]
[/TR]
[TR]
[TD]green[/TD]
[TD]green,[/TD]
[/TR]
[TR]
[TD]blue[/TD]
[TD]blue,[/TD]
[/TR]
[TR]
[TD]black[/TD]
[TD]black,[/TD]
[/TR]
[TR]
[TD]orange[/TD]
[TD]orange,[/TD]
[/TR]
</tbody>[/TABLE]
An example of my cell data would be:
Blue sweater with red stripes
black pants with orange pockets
green socks
[...]
I am hoping to compile all of discovered colours in a single cell (but can work with them all ending up individually in adjacent cells) to the right of the searched cell so the above would look as follows:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Blue sweater with red stripes[/TD]
[TD]blue, red[/TD]
[/TR]
[TR]
[TD]black pants with orange pockets[/TD]
[TD]black, orange[/TD]
[/TR]
[TR]
[TD]green socks[/TD]
[TD]green[/TD]
[/TR]
</tbody>[/TABLE]
Any assistance anyone can provide would be greatly appreciated. As I have been pulling my hair out trying to get it to return multiple values.
Shaun
I have an excel csv file with approximately 3000 lines of text (it is a download from our website). I am trying to extract every mention of a colour within our product names to allow me to provide a more accurate filter capability. I have been trying to use the following as an array to solve my problem: =IFERROR(INDEX(results,MATCH(TRUE,ISNUMBER(SEARCH(things,A2)),0)),"")
This has proven successful at extracting a single colour from my named range, however if a cell has multiple colour values this will only select the first in the list. My named ranges appear as follows (This isn't all my colours but just giving an example):
[TABLE="width: 500"]
<tbody>[TR]
[TD]things:[/TD]
[TD]results:[/TD]
[/TR]
[TR]
[TD]red[/TD]
[TD]red,[/TD]
[/TR]
[TR]
[TD]green[/TD]
[TD]green,[/TD]
[/TR]
[TR]
[TD]blue[/TD]
[TD]blue,[/TD]
[/TR]
[TR]
[TD]black[/TD]
[TD]black,[/TD]
[/TR]
[TR]
[TD]orange[/TD]
[TD]orange,[/TD]
[/TR]
</tbody>[/TABLE]
An example of my cell data would be:
Blue sweater with red stripes
black pants with orange pockets
green socks
[...]
I am hoping to compile all of discovered colours in a single cell (but can work with them all ending up individually in adjacent cells) to the right of the searched cell so the above would look as follows:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Blue sweater with red stripes[/TD]
[TD]blue, red[/TD]
[/TR]
[TR]
[TD]black pants with orange pockets[/TD]
[TD]black, orange[/TD]
[/TR]
[TR]
[TD]green socks[/TD]
[TD]green[/TD]
[/TR]
</tbody>[/TABLE]
Any assistance anyone can provide would be greatly appreciated. As I have been pulling my hair out trying to get it to return multiple values.
Shaun