?
Solved

group in access cross column

Posted on 2013-05-19
4
Medium Priority
?
428 Views
Last Modified: 2013-06-04
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
Comment
Question by:PeterBaileyUk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 1000 total points
ID: 39178519
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
 
LVL 41

Assisted Solution

by:Sharath
Sharath earned 1000 total points
ID: 39178648
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
 
LVL 120

Expert Comment

by:Rey Obrero (Capricorn1)
ID: 39179345
yes that is correct,
0
 

Author Closing Comment

by:PeterBaileyUk
ID: 39219588
sorry for delay tomorrow i have an operation so mind was not on  work.
0

Featured Post

Docker-Compose to Simplify Multi-Container Builds

Our veteran DevOps Author takes you through how to build a multi-container environment, managed with a single utility in order to simplify your deployments.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question