+ Reply to Thread
Results 1 to 9 of 9

Calculation Based on Dropdown Selection

  1. #1
    Registered User
    Join Date
    09-23-2017
    Location
    Toronto, ON
    MS-Off Ver
    Microsoft Office 365 Subscription MSO (Version 2310 Build 16.0.1
    Posts
    59

    Exclamation Calculation Based on Dropdown Selection

    Hi,

    I have a worksheet where I data validation list
    I would like calculate data based on selection from data validation list.

    I have attached a sample workbook with the desired results.

    Any help or direction will be appreciated.


    Thank you
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,208

    Re: Calculation Based on Dropdown Selection

    Try this:

    =HLOOKUP($E$9,$A$2:$Q$6,3,0)*IFNA(LOOKUP(LEFT(E9,1),{"S","Q","Y"},{2,3,1}),12)
    Attached Files Attached Files
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

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

    Re: Calculation Based on Dropdown Selection

    CORRECTION (because of SEP):

    =HLOOKUP($E$9,$A$2:$Q$6,3,0)*IFNA(LOOKUP(LEFT(E9,3),{"Sem","Qua","Yea"},{2,3,1}),12)
    Attached Files Attached Files
    Last edited by AliGW; 03-09-2022 at 10:06 AM.

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Calculation Based on Dropdown Selection

    Try this

    =HLOOKUP($E$9,$A$2:$Q$6,3,0)*(IFERROR(INDEX({1,2,4},MATCH(E9,C9:C11,0)),12))
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,709

    Re: Calculation Based on Dropdown Selection

    Another option
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    but you need to change the dropdown for "Semi Annually" to match the value in P2

  6. #6
    Registered User
    Join Date
    09-23-2017
    Location
    Toronto, ON
    MS-Off Ver
    Microsoft Office 365 Subscription MSO (Version 2310 Build 16.0.1
    Posts
    59

    Re: Calculation Based on Dropdown Selection

    That works perfectly !
    This is great...thank you for your help...!

  7. #7
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,709

    Re: Calculation Based on Dropdown Selection

    Don't know which of us are you talking to, but glad to help & thanks for the feedback.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,208

    Re: Calculation Based on Dropdown Selection

    Thanks for the rep.

  9. #9
    Registered User
    Join Date
    09-23-2017
    Location
    Toronto, ON
    MS-Off Ver
    Microsoft Office 365 Subscription MSO (Version 2310 Build 16.0.1
    Posts
    59

    Re: Calculation Based on Dropdown Selection

    Quote Originally Posted by Fluff13 View Post
    Don't know which of us are you talking to, but glad to help & thanks for the feedback.
    I am sorry @Fluff13.
    All formula worked well. Thank you everyone for your 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. Automatically fill in a dropdown selection based on a previous dropdown
    By thanhthinh1234 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-24-2018, 08:10 PM
  2. Multiple Dropdown selection & Column Groupings based on dropdown selection
    By rabrol in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-20-2018, 10:23 AM
  3. Replies: 1
    Last Post: 03-12-2015, 04:40 PM
  4. Replies: 2
    Last Post: 10-07-2013, 11:06 AM
  5. Replies: 1
    Last Post: 07-03-2013, 10:50 AM
  6. [SOLVED] Calculation Based On Dropdown list Selection Excel
    By rnohoy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-26-2013, 06:16 AM
  7. Cull dropdown list options based on selection in another dropdown
    By Kiffar in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-20-2012, 01:53 AM

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