Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 10
Default Linked combo boxes

Hi,

This is my problem. I must create four combo boxes to display unique data
(from numerous duplicate entries), where the data displayed is dependant upon
the previous combo box. An example of data may be:

Class Category Sub-Cat Type
Joe Truck Lease 2007
Joe Van Rent 2005
Joe Van Sale 2008
Pete Car Sale 2004
Pete Truck Lease 2008
Pete Truck Rent 2004
Pete Van Sale 2006
David SUV Lease 2007
David Van Rent 2007
Jenny Truck Rent 2005
Jenny Car Lease 2001
Jenny Car Sale 2008
Niel SUV Sale 2004


I select JOE - then a choice of TRUCK or VAN, then if TRUCK, - LEASE -
2007, or if I selected VAN, - RENT or LEASE or SALE, and the appropriate
year respectively in the last combo list. I've gotten sooooo complicated,
with one problem being the blanks between unique entries, once I've
eliminated the duplicates. How do I get to shorten the lists to actual data
only?

My apologies for the questions. I have searched the forum extensively, and I
believe I need a hybrid solution, which is currently beyond my means and
imagination!

Thanks in advance for any help.

Nemo
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Linked combo boxes

Think a pivot table (PT) could immediately give you 99%** of the
functionality that you're after. And it takes only a few seconds to set it up.

Select any cell within the source table, click Data Pivot table ...
Click Next Next to proceed to step 3 of the wizard.
In step 3, click on "Layout"
Drag n drop Class within PAGE area. Repeat for Category and Sub-Cat. Place
these below the other.
Drag n drop Type within ROW area.
Drag n drop Type within DATA area. It'll appear as Sum of Type. Double-click
on it, change it to "Count" under Summarize by, click OK.
Click Finish.

Go to the PT sheet.
It'll look like this, with selectable droplists all nicely done up:

Class (All)
Category (All)
Sub-Cat (All)

Type Count of Type
2001 1
2004 3
2005 2
2006 1
2007 3
2008 3
Grand Total 13

Eg: If you select Joe-Van-Rent from the 3 page area droplists, you'd get

Class Joe
Category Van
Sub-Cat Rent

Type Count of Type
2005 1
Grand Total 1

**The "1%" functionality not given by the PT is that the 3 droplists are not
dependent.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Nemo" wrote:
Hi,

This is my problem. I must create four combo boxes to display unique data
(from numerous duplicate entries), where the data displayed is dependant upon
the previous combo box. An example of data may be:

Class Category Sub-Cat Type
Joe Truck Lease 2007
Joe Van Rent 2005
Joe Van Sale 2008
Pete Car Sale 2004
Pete Truck Lease 2008
Pete Truck Rent 2004
Pete Van Sale 2006
David SUV Lease 2007
David Van Rent 2007
Jenny Truck Rent 2005
Jenny Car Lease 2001
Jenny Car Sale 2008
Niel SUV Sale 2004


I select JOE - then a choice of TRUCK or VAN, then if TRUCK, - LEASE -
2007, or if I selected VAN, - RENT or LEASE or SALE, and the appropriate
year respectively in the last combo list. I've gotten sooooo complicated,
with one problem being the blanks between unique entries, once I've
eliminated the duplicates. How do I get to shorten the lists to actual data
only?

My apologies for the questions. I have searched the forum extensively, and I
believe I need a hybrid solution, which is currently beyond my means and
imagination!

Thanks in advance for any help.

Nemo

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 663
Default Linked combo boxes

Hi,

For information, refer to this url:
http://www.contextures.com/xlDataVal02.html

Challa Prabhu

"Nemo" wrote:

Hi,

This is my problem. I must create four combo boxes to display unique data
(from numerous duplicate entries), where the data displayed is dependant upon
the previous combo box. An example of data may be:

Class Category Sub-Cat Type
Joe Truck Lease 2007
Joe Van Rent 2005
Joe Van Sale 2008
Pete Car Sale 2004
Pete Truck Lease 2008
Pete Truck Rent 2004
Pete Van Sale 2006
David SUV Lease 2007
David Van Rent 2007
Jenny Truck Rent 2005
Jenny Car Lease 2001
Jenny Car Sale 2008
Niel SUV Sale 2004


I select JOE - then a choice of TRUCK or VAN, then if TRUCK, - LEASE -
2007, or if I selected VAN, - RENT or LEASE or SALE, and the appropriate
year respectively in the last combo list. I've gotten sooooo complicated,
with one problem being the blanks between unique entries, once I've
eliminated the duplicates. How do I get to shorten the lists to actual data
only?

My apologies for the questions. I have searched the forum extensively, and I
believe I need a hybrid solution, which is currently beyond my means and
imagination!

Thanks in advance for any help.

Nemo

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dependent (linked) combo boxes shapiro Excel Discussion (Misc queries) 3 April 26th 07 01:16 PM
Selecting subsets using combo boxes or list boxes CLamar Excel Discussion (Misc queries) 0 June 1st 06 07:43 PM
Questions on combo boxes and list boxes. Marc New Users to Excel 1 March 14th 06 09:40 AM
cannot tab between combo boxes Ron Excel Discussion (Misc queries) 1 March 8th 06 01:50 PM
Linked Combo Boxes LRobinson3 Excel Worksheet Functions 3 November 14th 05 01:35 PM


All times are GMT +1. The time now is 08:39 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"