Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Formula between Worksheets and Drop down list

Ok. Sometimes Excel gets funcky when you have text lists.....Excel
likes its lists in order, e.g. ascending descending....sometimes with
text lists, you have the same text string more than once in the list
and excel balks with lookup functions.

Try this.

Your going to number your products. Go to Sheet 1, and insert TWO
columns to the left of your product descriptions. Then insert the
numbers 1, 2, 3, etc. and then drag them down until every product has a
number next to it.

Lets assume your sheet now looks like this

A1 B1 C1 D1
1 Product X $100
*etc*

Then go to the column A to the left of the price list (should be empty)
and type this formula: "=A1&" -- "&B1. Copy this down to the last
product. Now highlight all of these formulas in Column A and name that
selection "dropdownlist". Now select the entire range A1:D:the bottom
right-hand corner of your list. Name that selection "bigpricelist".

Go to Sheet2. I don't know what kind of combo box you are using, but
here you want to do a simple validation list box.....

click in a cell on Sheet 2 that you want the drop-down box to be in.
Lets call it A1. Click on "Data" at the top menu. Click "Validation".
In the Allow Box, click "List." In the formula line type
"=dropdownlist". Click ok.

Now when you click in that cell you get an internal drop-down list with
all of your numbered products.

Now click in cell B1. Type "=vlookup(A1,bigpricelist,4)"

I think that will solve your problem (Excel can now see the list in
ascending order).

cheers.


---
Message posted from http://www.ExcelForum.com/

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
How do I link a drop down list to other worksheets Kelly Excel Worksheet Functions 1 October 23rd 06 01:40 PM
Trying to add a drop down list of all worksheets for the user Steve Excel Discussion (Misc queries) 2 September 20th 06 04:59 PM
multiple select from the drop down list in excel. list in one sheet and drop down in sriramus Excel Discussion (Misc queries) 5 October 27th 05 06:55 PM
Drop down list changes, worksheets and multi-user ferdy New Users to Excel 1 August 26th 05 01:03 PM
Linking Drop-down list to worksheets Compnerd Excel Discussion (Misc queries) 0 March 7th 05 06:13 PM


All times are GMT +1. The time now is 05:18 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"