• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 448
  • Last Modified:

group in access cross column

I have attached a spreadsheet to demonstrate.

I need to filter on words I wont know yet because they are contained across columns and down rows.

how might i do that?

ultimately those words will go in a dropdown or list so that they can be filtered.
example.xlsx
0
PeterBaileyUk
Asked:
PeterBaileyUk
  • 2
2 Solutions
 
Rey Obrero (Capricorn1)Commented:
using a union query

select Distinct Word1 as [Word]
from tableX
where Word1 is not null
union
select Distinct Word2 as [Word]
from tableX
where Word2 is not null
union
etc...
0
 
SharathData EngineerCommented:
With UNION, unique values are returned. No need of DISTINCT in capricorn1 solution.
select Word1 as [Word]
from tableX
where Word1 is not null
union 
select Word2 as [Word]
from tableX
where Word2 is not null
union
etc...

Open in new window

0
 
Rey Obrero (Capricorn1)Commented:
yes that is correct,
0
 
PeterBaileyUkAuthor Commented:
sorry for delay tomorrow i have an operation so mind was not on  work.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now