+ Reply to Thread
Results 1 to 7 of 7

what function to use to calculate a value based on drop down list

  1. #1
    Registered User
    Join Date
    07-14-2020
    Location
    Prague
    MS-Off Ver
    MS Office 2016
    Posts
    24

    Question what function to use to calculate a value based on drop down list

    hi all,

    I am seeking for help what function shall I use to be able to calculate total value based on selected drop down list e.g.

    Cell A4 has drop down list Hrs/MD
    Cell B2 has value on Hrs =$22
    Cell C2 has value on MD = $176
    Cell D4 has value in units = e.g 10
    cell E4 = total value base on selected drop down list

    E.g. I select Hrs in A4, D4 has 10 Units, E4 = $220
    E.g. I select MD in A4, D4 has 10 units, E4 = $1760

    thanks for the help
    H.
    Last edited by HelenaG; 02-05-2022 at 10:25 AM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,253

    Re: what function to use to calculate a value based on drop down list

    Try

    =IF($A4="Hrs",$D4*$B$2,$D4*$C$2))
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,223

    Re: what function to use to calculate a value based on drop down list

    Try this:

    =IF(A4="Hrs",B2,C2)*D4

    You may need to change commas to semi-colons for your locale.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,099

    Re: what function to use to calculate a value based on drop down list

    ????

    Is this it??
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,223

    Re: what function to use to calculate a value based on drop down list

    Is what it???

  6. #6
    Registered User
    Join Date
    07-14-2020
    Location
    Prague
    MS-Off Ver
    MS Office 2016
    Posts
    24

    Thumbs up Re: what function to use to calculate a value based on drop down list

    thank you very much, all suggestions works well. Many thanks for your help.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,223

    Re: what function to use to calculate a value based on drop down list

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

+ 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] Formula to Calculate Amount based on Drop List
    By Wit24 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-10-2021, 09:16 AM
  2. [SOLVED] Index or Lookup function based on 2 drop down list to extract data from one sheet to anoth
    By FrancisM2411 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-20-2018, 12:43 PM
  3. [SOLVED] Clear up to three dependent drop down lists based on selection in superior drop down list
    By theletterh in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-04-2016, 09:31 PM
  4. How to create a drop down list based on the choices of another drop down list?
    By Happy jain in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-27-2013, 01:54 AM
  5. Populate Drop-down list based on selection from previous drop-down list
    By Diventus in forum Excel - New Users/Basics
    Replies: 14
    Last Post: 01-11-2013, 10:55 AM
  6. Populate Drop-down list based on selection from previous drop-down list
    By poison_stone in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 12-11-2012, 06:10 PM
  7. Calculate a date based on a drop down list
    By YNWA in forum Excel General
    Replies: 4
    Last Post: 06-08-2012, 08:17 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