Ok, so ive two sheets. On sheet1 i want to enter a value which will then be queried in sheet2 and if matchning values are found then unique values be listed accordingly.
For example:
Sheet1 should look like this:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Search[/TD]
[TD]xyz[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Unique values[/TD]
[TD]bob[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][/TD]
[TD]john[/TD]
[/TR]
</tbody>[/TABLE]
Sheet 2
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]xyz.com[/TD]
[TD]bob[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]abc.com
[/TD]
[TD]matt[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]def.com[/TD]
[TD]bill[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]xyz.com[/TD]
[TD]john[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]def.com[/TD]
[TD]rick[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]abc.com[/TD]
[TD]adam[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]xyz.com[/TD]
[TD]john[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]xyz.com[/TD]
[TD]john[/TD]
[/TR]
</tbody>[/TABLE]
Ive tried the following formula in sheet1 but it doesn't return a list of unique values:
<style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Lucida Grande'}span.s1 {color: #006107}span.s2 {color: #0057d6}</style>=INDEX(sheet2!B1:B6,MATCH("*"&B1&"*",sheet2!A1:A6,0))
For example:
Sheet1 should look like this:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Search[/TD]
[TD]xyz[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Unique values[/TD]
[TD]bob[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][/TD]
[TD]john[/TD]
[/TR]
</tbody>[/TABLE]
Sheet 2
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]xyz.com[/TD]
[TD]bob[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]abc.com
[/TD]
[TD]matt[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]def.com[/TD]
[TD]bill[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]xyz.com[/TD]
[TD]john[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]def.com[/TD]
[TD]rick[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]abc.com[/TD]
[TD]adam[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]xyz.com[/TD]
[TD]john[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]xyz.com[/TD]
[TD]john[/TD]
[/TR]
</tbody>[/TABLE]
Ive tried the following formula in sheet1 but it doesn't return a list of unique values:
<style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Lucida Grande'}span.s1 {color: #006107}span.s2 {color: #0057d6}</style>=INDEX(sheet2!B1:B6,MATCH("*"&B1&"*",sheet2!A1:A6,0))