+ Reply to Thread
Results 1 to 3 of 3

calculations through drop down list in excel

  1. #1
    Registered User
    Join Date
    12-01-2018
    Location
    Ludhiana,Punjab
    MS-Off Ver
    2007
    Posts
    3

    calculations through drop down list in excel

    Hi everyone,

    I need help with calculations based on the values chosen by the user through a drop down list. (I have attached the sheet for reference)

    Parts are manufactured from raw materials that are given by 6 vendors (a-e). So, after writing the quantity, the user will choose the vendor through which the raw material was taken from and calculate the remaining stock.
    for example, if a product (300 units) is manufactured by the raw material of vendor A (say 700 units) , I want the stock to be 400. Again, if the 200 units are manufactured from A (the type of product does not matter, the stock should be 400-200 and not 700-200. Same for all other vendors.
    Also, is there a method to add new vendors automatically to the list and the formula?

    Any help/lead will be appreciated.
    I have already figured out to do the calculations for the first part; I need help with the second part (if products are manufactured from the same vendor)

    Thank You guys!!
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: calculations through drop down list in excel

    Please try at F2

    =IFERROR(LOOKUP(2,1/($E$1:E1=E2),F$1:F1)-C2,VLOOKUP(E2,$J$8:$K$13,2,)-C2)
    Last edited by Bo_Ry; 12-01-2018 at 09:21 AM.

  3. #3
    Registered User
    Join Date
    12-01-2018
    Location
    Ludhiana,Punjab
    MS-Off Ver
    2007
    Posts
    3

    Re: calculations through drop down list in excel

    Thank You so much
    It worked!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Create an Excel Drop Down list with Search Suggestions ( Serachable Dropdown list )
    By PMH2384 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-11-2016, 12:03 AM
  2. [SOLVED] Different calculations depending on drop down list choice
    By Aldagautr in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-26-2015, 05:05 AM
  3. Replies: 5
    Last Post: 04-11-2014, 03:13 PM
  4. Replies: 3
    Last Post: 02-24-2012, 04:16 PM
  5. How to create drop down list in Excel where each list item is based on two columns?
    By matkiros in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-11-2012, 08:50 AM
  6. Calculations based on Drop down list option
    By ClaireEmerald in forum Excel General
    Replies: 3
    Last Post: 08-13-2010, 04:46 AM
  7. Replies: 5
    Last Post: 10-27-2005, 01:55 PM

Tags for this Thread

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