+ Reply to Thread
Results 1 to 6 of 6

Auto-update cells based on a cell drop-down list and a table

  1. #1
    Registered User
    Join Date
    05-01-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    21

    Auto-update cells based on a cell drop-down list and a table

    Hi all,

    I have what I hope is a quick question that I could really use help on. I have a drop down menu in cell G1 that allows for users to select the below deductible amounts (1,000, 2,000, 3,000, etc). In column D (Table) the user can manually enter one of the three table numbers shown below (1, 2 or 3). In column E, I have the below discount factors (shown below under the table numbers - currently being entered manually). Could someone please show me how to get cells column E to auto update, based on the deductible amount that is selected from the drop-down menu and the table number that is entered in column D? So for example, if the 1,000 is selected from the drop down menu and table 1 is entered in one of the cells in column D, then return value 0.043 in column E. Another example, if 5,000 is selected from the drop-down menu and table 2 is entered in one of the cells in column D, then return value .109 in column E.

    Could this be done using a VLOOKUP or an IF Statement, or both? Any help would be greatly appreciated. Thank you.

    Deductible
    Amount Table 1 Table 2 Table 3
    1,000 0.043 0.035 0.028
    2,000 0.072 0.059 0.049
    3,000 0.094 0.079 0.065
    4,000 0.114 0.095 0.079
    5,000 0.131 0.109 0.091
    10,000 0.198 0.165 0.137
    15,000 0.246 0.206 0.172
    20,000 0.283 0.238 0.201
    25,000 0.313 0.265 0.225
    50,000 0.415 0.361 0.313
    75,000 0.476 0.422 0.375
    100,000 0.516 0.467 0.424
    Last edited by Castillb; 06-27-2015 at 05:12 PM.

  2. #2
    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,926

    Re: Auto-update cells based on a cell drop-down list and a table

    Your references are a bit confusing, but I think this is what you want...
    A
    B
    C
    D
    E
    F
    G
    1
    Amount Table 1 Table 2 Table 3 Table 1
    1000
    2
    1,000
    0.043
    0.035
    0.028
    0.043
    3
    2,000
    0.072
    0.059
    0.049
    4
    3,000
    0.094
    0.079
    0.065
    5
    4,000
    0.114
    0.095
    0.079
    6
    5,000
    0.131
    0.109
    0.091
    7
    10,000
    0.198
    0.165
    0.137
    8
    15,000
    0.246
    0.206
    0.172
    9
    20,000
    0.283
    0.238
    0.201
    10
    25,000
    0.313
    0.265
    0.225
    11
    50,000
    0.415
    0.361
    0.313
    12
    75,000
    0.476
    0.422
    0.375
    13
    100,000
    0.516
    0.467
    0.424

    F2=INDEX($B$2:$D$13,MATCH($G$1,$A$2:$A$13,0),MATCH($F$1,$B$1:$D$1,0))

    For future reference, upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    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

  3. #3
    Registered User
    Join Date
    05-01-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: Auto-update cells based on a cell drop-down list and a table

    Thank you for your quick response. For some reason I am receiving an #N/A error message when I paste your formula in cell F2. I
    am making sure that everything lines up according to the image you provided. I've done what you suggested and included a clean
    spreadsheet copy. Currently, column E is being manually entered. I would like for these cells to auto-update based on the table.For example, the current selection in cell B1 (drop-down) is 1,000, I would like for all cells in column E to update to .043 if 1 is entered in column D. If 2 is entered in column D then the cell in column E should become .035. The same for the number 3. I would like for the same thing to happen if the user were to chose a different deductible amount from the drop-down menu. If I could provide you with additional info, please let me know. I appreciate your time and help.
    Attached Files Attached Files

  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,926

    Re: Auto-update cells based on a cell drop-down list and a table

    Hard to say what didnt work for you (cant see what you did), but based on your new sample...
    =INDEX($J$5:$L$16,MATCH($B$2,$I$5:$I$16,0),MATCH($D6,$J$4:$L$4,0))
    copied down

  5. #5
    Registered User
    Join Date
    05-01-2013
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    21

    Re: Auto-update cells based on a cell drop-down list and a table

    FDibbins,

    Perfect! Thank you so much!!!

  6. #6
    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,926

    Re: Auto-update cells based on a cell drop-down list and a table

    Happy to help

    If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and consider adding the reputation to those that helped (see points 2 & 3 below my 1st post to you)

+ 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] Update cell list based on Drop down List
    By eaflynn in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-24-2015, 03:48 PM
  2. [SOLVED] Update respective cell values in the table based on Multiple Drop Down list selections.
    By nileshpatil in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-16-2012, 09:30 AM
  3. [SOLVED] Update respective cell value based on Multiple Drop Down list selections
    By nileshpatil in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-16-2012, 08:43 AM
  4. Auto update cells in a table, based on the content of another table...
    By Darth269 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-29-2012, 04:19 PM
  5. Auto-update initial drop-down selection based on previous drop-downs
    By thornomad in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-16-2010, 09:55 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