Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Help with table lists or whatever you call it.

I need some help to create a table that when I enter some words of a product
item in my list, it drops down a box and selects the matching items initial
letters highlighted and selects the correct sales value after I choose the
product. I don't know what you call this but I need some help to start off
please.

When I type in ADSL for eg, a list pops up with all matching ADSL matches in
the Products Column and in the Sales Column the actual price when selected
using the keyboard mostly. I will need to add some new products also with
their sale values and be able to copy the products text for copy/paste
elsewhere. Everything else I can manage with easily like sum total, printing
areas... just setting this thing up.

Help much appreciated. Thank you.

The data is this:

Titles of columns -
Ph # | Ref # | Products | P/Code | Manual Data (MD) | Sales $ | Comments.

Products data -
ADSL 1 ($100)
ADSL 2 ($150)
ADSL 3 ($200)
DUN... ($50)

Sales $ data -
$100
$150
$200
$50

eg.
DUN = $50
ADSL 2 = $150

Will look like this:
Column: Ph # | Ref # | Products | P/Code | Manual Data (MD) | Sales $ |
Comments.
Data: 01234.. | 1234567 | DUN...($50) | 1234 | blah blah | $50 | blah blah


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,365
Default Help with table lists or whatever you call it.

I think what you need are two things:
Data Validation to get the list to choose the Product (ADSL) entry from.
Then you need some VLOOKUP() formulas across the row to get information from
a data table you'd set up elsewhere - the Products data list you've shown in
your example.

For your convenience later, I'd set my data table up somewhere like this, on
a sheet of its own
A B
1 ADSL 1 100
2 ADSL 2 150
3 ADSL 3 200
4 Dun... 50
5 ....more entries on down many rows (1024 maximum)
20 LastEntry 0

At the bottom of the current list, put in a 'marker' entry like I've shown
as LastEntry. Now when you add to that list, choose that row and Insert a
row above it to keep things working on the other sheets. If you just added
to the bottom of the list, new entries will most likely not be seen in your
list elsewhere.

While you are still on that sheet, give some Names to the areas with
information in them. In the example, choose A1:A20 and then up in the Name
Box (where it usually shows the address of the cell you've got selected) type
in a name to use to reference this range such as "ADSLList" or "ProductList"
(no double-quote marks, just the words) and hit the [Enter] key.

Then highlight/choose all of the cells in the table from A1:B20 and do the
same thing: give it a name like ADSLTable (don't forget to press that [Enter]
key or the name won't 'stick').

OK, back on your working sheet, choose the cell(s) where you want the user
to be able to pick from the list. Choose Data | Validation and then choose
'List' as the type of data and down where it asks for the source of the list
enter
=ADSLList
[OK] and you're done there.

In the column where you want to look up the actual price when someone
selects from the list you need a VLOOKUP formula. Assume that your list is
in column A of any row, and that the actual price is going to show up over in
column D (doesn't really matter, where this is, formula is same, but I want
to keep things very clear).
In column D of that row (we'll pretend we are on row 12) enter
=IF(ISNA(VLOOKUP(A12,ADSLTable,2,0)),"",VLOOKUP(A1 2,ADSLTable,2,0))

Now, you mentioned "...selects the matching items initial letters..." and
I'm thinking you're wanting a kind of auto-complete feature so that if your
list was alphabetized, when you type a B it jumps on down into the list to
the beginning of the B entries. Data Validation doesn't do that - you have
to scroll down to find things.

Now, Debra Dalgliesh has some help for that by using a combo box in
conjunction with the DataValidation to give you that ability. Her solution
over at Contextures.com is perfect for this:
http://www.contextures.com/xlDataVal11.html


"Asiageek" wrote:

I need some help to create a table that when I enter some words of a product
item in my list, it drops down a box and selects the matching items initial
letters highlighted and selects the correct sales value after I choose the
product. I don't know what you call this but I need some help to start off
please.

When I type in ADSL for eg, a list pops up with all matching ADSL matches in
the Products Column and in the Sales Column the actual price when selected
using the keyboard mostly. I will need to add some new products also with
their sale values and be able to copy the products text for copy/paste
elsewhere. Everything else I can manage with easily like sum total, printing
areas... just setting this thing up.

Help much appreciated. Thank you.

The data is this:

Titles of columns -
Ph # | Ref # | Products | P/Code | Manual Data (MD) | Sales $ | Comments.

Products data -
ADSL 1 ($100)
ADSL 2 ($150)
ADSL 3 ($200)
DUN... ($50)

Sales $ data -
$100
$150
$200
$50

eg.
DUN = $50
ADSL 2 = $150

Will look like this:
Column: Ph # | Ref # | Products | P/Code | Manual Data (MD) | Sales $ |
Comments.
Data: 01234.. | 1234567 | DUN...($50) | 1234 | blah blah | $50 | blah blah


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
Pivot Table lists Steve Excel Discussion (Misc queries) 5 January 20th 09 10:39 PM
Multiple tables with lists to one table. DEB Excel Discussion (Misc queries) 0 July 1st 08 06:24 PM
ADO call to lookup table Dallman Ross Excel Discussion (Misc queries) 3 July 21st 07 10:54 PM
Call Center Management: How to calculate 'cost per call' Denniso6 Excel Discussion (Misc queries) 2 June 25th 06 05:01 PM
Excel ? Do Not Call Table Vindictiiv Excel Worksheet Functions 3 January 21st 06 01:05 AM


All times are GMT +1. The time now is 11:06 AM.

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

About Us

"It's about Microsoft Excel"