+ Reply to Thread
Results 1 to 5 of 5

text to = dollar amounts

Hybrid View

Kelly333 text to = dollar amounts 11-06-2007, 04:27 PM
VBA Noob Maybe a event macro. Right... 11-06-2007, 04:37 PM
NBVC Create a lookup table with... 11-06-2007, 04:37 PM
Kelly333 thanks 11-06-2007, 04:43 PM
NBVC Yes, you can, as long as you... 11-06-2007, 04:48 PM
  1. #1
    Registered User
    Join Date
    06-27-2007
    Posts
    6

    text to = dollar amounts

    Iam wondering how I can get a list of drop down words to have value to that everytime they are picked a tally adds the valuses associated together?

    For example if I create a drop down menu with hamburger how to I get the word hamburger to = $7.00 when selected?

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Maybe a event macro. Right click sheet tab to view code.

    or if you need to use in a formula then try name ranges

    http://www.bettersolutions.com/excel...L325782331.htm

    VBA Noob
    Attached Files Attached Files
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Create a lookup table with items and associated prices...then use Vlookup.

    e.g. =Vlookup(A1,X1:Y100,2,0) would look up the item in A1 in the Table located in X1:Y100 and return the corresponding price found in column Y.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Registered User
    Join Date
    06-27-2007
    Posts
    6

    thanks

    not so good with macros so ill try the table.can i create the table in another workbook and then have it apply when the cell is chosen in my main workbook?

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Quote Originally Posted by Kelly333
    not so good with macros so ill try the table.can i create the table in another workbook and then have it apply when the cell is chosen in my main workbook?
    Yes, you can, as long as you reference the entire path of the workbook...

    e.g.
    =VLOOKUP(A1,'C:\Documents and Settings\[Book4 Nov6.xls]Sheet1'!$X$1:$Y$100,2,0)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1