+ Reply to Thread
Results 1 to 12 of 12

Drop down option automatically choose based on answer

  1. #1
    Registered User
    Join Date
    05-05-2019
    Location
    https://t.me/pump_upp
    MS-Off Ver
    2016
    Posts
    13

    Drop down option automatically choose based on answer

    Hi,

    I would like to ask if there is any way for the drop down answer will be automatically choose based on the candidate answer ?
    Kindly refer to the attachment below for the details
    Attached Files Attached Files
    Last edited by haziqten; 05-07-2019 at 02:21 AM.

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Drop down option automatically choose based on answer

    change D4 to formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    not 100% sure what you what for Child Relief Claim by
    assume Spouse work = Yes > own
    if so then this formula should work
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    05-05-2019
    Location
    https://t.me/pump_upp
    MS-Off Ver
    2016
    Posts
    13

    Re: Drop down option automatically choose based on answer

    I try to remain the data validation but whenever I choose whether YES or NO, the formula is already gone and only based on drop down option.
    If I remove the data validation, it will automatically choose YES without NO option.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Drop down option automatically choose based on answer

    There is nothing magical about a drop down (Data Validation). It is exactly the same as if you had typed the entry in manually, the only differences being that a DD can save you some typing, help avoid typos and help restrict entry to only a specified "list". Other than that, there is basically no difference. You would refer to it in formulas etc the exact same way as if you were referencing a manually entered cell.

    And as you probably already know, you cannot have data entry AND a formula in the same cell.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

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

    Re: Drop down option automatically choose based on answer

    With worksheet event it is possible.
    No formula is required. Validation is doe by VBA code of worksheet.



    Please Login or Register  to view this content.
    Right click on the sheet tab of JOB APPLICATION (TEST).
    View code
    VB window opens.
    Paste the code.
    Close the window.
    Attached Files Attached Files
    Last edited by kvsrinivasamurthy; 05-07-2019 at 03:13 AM.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  6. #6
    Registered User
    Join Date
    05-05-2019
    Location
    https://t.me/pump_upp
    MS-Off Ver
    2016
    Posts
    13

    Re: Drop down option automatically choose based on answer

    Thanks a lot kvsrinivasamurthy.

    It helps me a lot for this code.

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

    Re: Drop down option automatically choose based on answer

    Thanks for feed back and reputation.
    I corrected the procedure for pasting code in VB window in my previous post.

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

    Re: Drop down option automatically choose based on answer

    Post deleted.

  9. #9
    Registered User
    Join Date
    05-05-2019
    Location
    https://t.me/pump_upp
    MS-Off Ver
    2016
    Posts
    13

    Re: Drop down option automatically choose based on answer

    Thanks again.
    Works like charm.

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

    Re: Drop down option automatically choose based on answer

    To get Lower case change the values in D5:D8 in Option List sheet.
    Changed code
    Please Login or Register  to view this content.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    05-05-2019
    Location
    https://t.me/pump_upp
    MS-Off Ver
    2016
    Posts
    13

    Re: Drop down option automatically choose based on answer

    The previous code is which you deleted is what I needed.
    Whenever the candidates fill in the application form, no matter he/she type in lower case or upper case, it will automatically change to upper case letter.

    Please Login or Register  to view this content.
    The above code does the trick.
    Attached Files Attached Files

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

    Re: Drop down option automatically choose based on answer

    If the problem is solved thanks for feed back.

+ 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. Choose Option Based on Percentage
    By hzlanep in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-01-2017, 09:49 AM
  2. Two validations: first choose the sheet (1-5), then choose the option
    By bee88 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-17-2014, 08:12 AM
  3. VBA to choose "Ok" option of a msg box automatically
    By msn.niyasu in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-06-2014, 04:43 AM
  4. Replies: 2
    Last Post: 06-21-2013, 10:04 AM
  5. Replies: 1
    Last Post: 07-16-2012, 10:42 PM
  6. Formula: Drop Down List -> Choose Option Finds Cells & Replace Cells with Cells
    By g00glethis1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-14-2010, 01:10 PM
  7. contents of cell is based on what I choose in a drop down menu
    By damolee in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-19-2009, 05:06 AM

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