ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Setting up a drop down box with sort criteria (https://www.excelbanter.com/excel-discussion-misc-queries/183856-setting-up-drop-down-box-sort-criteria.html)

GingerSnapsToo

Setting up a drop down box with sort criteria
 
I inherited a workbook with drop down lists but they're set up to take every
entry in a column, then sort by 'all', 'sort ascending', 'sort descending',
then all of the entries. When you click one of the entries, it takes you to
that entry cell and displays the entire line. If it's an entry that has been
used multiple times, like the sentence 'Process with normal benefits' used in
6 different cells in a single column, and it pulls all 6 lines, combining
them into one search.

This is brilliant, I love it! I just can't figure out how to set up my own
column with a drop down like that. Someone help, please?

Dave Peterson

Setting up a drop down box with sort criteria
 
Select your range (all the columns and include all the rows--including the
header row).

Then (in xl2003 menus)
Data|filter|autofilter

ps. Debra Dalgleish has lots of info about autofiltering:
http://contextures.com/xlautofilter01.html

GingerSnapsToo wrote:

I inherited a workbook with drop down lists but they're set up to take every
entry in a column, then sort by 'all', 'sort ascending', 'sort descending',
then all of the entries. When you click one of the entries, it takes you to
that entry cell and displays the entire line. If it's an entry that has been
used multiple times, like the sentence 'Process with normal benefits' used in
6 different cells in a single column, and it pulls all 6 lines, combining
them into one search.

This is brilliant, I love it! I just can't figure out how to set up my own
column with a drop down like that. Someone help, please?


--

Dave Peterson

GingerSnapsToo

Setting up a drop down box with sort criteria
 
Well that's closer but the only problem is the first column is just states
and the size of the cell varies from state to state. Alabama has 2 entries,
Arizona has 7 so the cells have been expanded to include the number of rows.
When using the auto filter and selecting the state, it just shows the state
but none of the rows next to the state.

Does that make sense?

"Dave Peterson" wrote:

Select your range (all the columns and include all the rows--including the
header row).

Then (in xl2003 menus)
Data|filter|autofilter

ps. Debra Dalgleish has lots of info about autofiltering:
http://contextures.com/xlautofilter01.html

GingerSnapsToo wrote:

I inherited a workbook with drop down lists but they're set up to take every
entry in a column, then sort by 'all', 'sort ascending', 'sort descending',
then all of the entries. When you click one of the entries, it takes you to
that entry cell and displays the entire line. If it's an entry that has been
used multiple times, like the sentence 'Process with normal benefits' used in
6 different cells in a single column, and it pulls all 6 lines, combining
them into one search.

This is brilliant, I love it! I just can't figure out how to set up my own
column with a drop down like that. Someone help, please?


--

Dave Peterson


Gord Dibben

Setting up a drop down box with sort criteria
 
Makes sense to me that only one Arizona will show because you have only one cell
with Arizona

If you have seven rows then you must have seven Arizonas, each in a single cell.

How did you "expand" the cell to include seven rows?

Did you merge A1:A7 into one cell?


Gord Dibben MS Excel MVP

On Wed, 16 Apr 2008 07:51:01 -0700, GingerSnapsToo
wrote:

Well that's closer but the only problem is the first column is just states
and the size of the cell varies from state to state. Alabama has 2 entries,
Arizona has 7 so the cells have been expanded to include the number of rows.
When using the auto filter and selecting the state, it just shows the state
but none of the rows next to the state.

Does that make sense?

"Dave Peterson" wrote:

Select your range (all the columns and include all the rows--including the
header row).

Then (in xl2003 menus)
Data|filter|autofilter

ps. Debra Dalgleish has lots of info about autofiltering:
http://contextures.com/xlautofilter01.html

GingerSnapsToo wrote:

I inherited a workbook with drop down lists but they're set up to take every
entry in a column, then sort by 'all', 'sort ascending', 'sort descending',
then all of the entries. When you click one of the entries, it takes you to
that entry cell and displays the entire line. If it's an entry that has been
used multiple times, like the sentence 'Process with normal benefits' used in
6 different cells in a single column, and it pulls all 6 lines, combining
them into one search.

This is brilliant, I love it! I just can't figure out how to set up my own
column with a drop down like that. Someone help, please?


--

Dave Peterson




All times are GMT +1. The time now is 04:49 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com