Creating a query that lists things only once

Ryan Maki

Board Regular
Joined
Jun 9, 2003
Messages
77
In my database, records have a name associated with them. Some people are associated with more than one record. I would like to run a query that will only show each persons name one time. Is this possible?

Thanks,

Ryan
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Guy,

Go to the menu View and select Totals.

In the actual query ensure the 'name' field total option are set to group by. This will solve this for you.
 
Upvote 0
Do as Steve stated, but also put an extra field in the query, doesn't matter what field. Set the total on it to count, then click on the display checkbox, so it doesn't appear. This should give you a listing of unique names in the table.
 
Upvote 0
Cbrine

I don't think you need to do this - the group by should do it.
 
Upvote 0
Well, I'll be damned. I tested it, and you are right. All thoses needless counts :oops: I've always did my unique lists with a count. I guess you never stop learning.

Sorry steve_colman.
 
Upvote 0

Forum statistics

Threads
1,221,691
Messages
6,161,310
Members
451,696
Latest member
Senthil Murugan

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top