+ Reply to Thread
Results 1 to 8 of 8

Drop down menu and product - thank you

Hybrid View

  1. #1
    Registered User
    Join Date
    04-07-2009
    Location
    Romania
    MS-Off Ver
    Office XP
    Posts
    4

    Re: Drop down menu and product

    your formula looks like what I want but for some reason there is an error...

    I attached the file to make sure I did everything right
    Attached Files Attached Files

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Drop down menu and product

    The result I get with

    E1: =B1*C1*D1*LOOKUP(A1,{"A","B","C"},{30,10,15})

    is 2,700,000

    The above is based on UK regional settings - I suspect you may need to alter the delimiters per your own settings (ie use of ; etc...)

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Drop down menu and product

    Disregard that Xample - point holds re: regionals BUT the criteria is now "one" "two" "three" as opposed to "A","B","C" ... Lookup generally requires the values be sorted in Ascending order... in this instance rather than re-order such that they appear out of sequence (eg "one","three","two") I would switch approach from LOOKUP to INDEX/MATCH

    =B1*C1*D1*INDEX({30,10,15},MATCH(A1,{"one","two","three"},0))

  4. #4
    Registered User
    Join Date
    04-07-2009
    Location
    Romania
    MS-Off Ver
    Office XP
    Posts
    4

    Re: Drop down menu and product

    still not working

    I attached the print screen with the error

    Before this there was selected area with error was this one: {30,10,15} but after I went to Tools->Options->International and I unchecked "Use sistem separators"

    Now the selected area with an error is the one in the picture
    Attached Images Attached Images

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Drop down menu and product

    see attached - when you open on your own settings the formula should adapt to your settings.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    04-07-2009
    Location
    Romania
    MS-Off Ver
    Office XP
    Posts
    4

    Re: Drop down menu and product

    yes...works perfect
    I have attached a print screen so you can see how the formula looks with my settings...

    many many thanks
    Attached Images Attached Images

+ 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