+ Reply to Thread
Results 1 to 3 of 3

Fill cell based on values entered from two drop downs

  1. #1
    Registered User
    Join Date
    03-19-2009
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    1

    Fill cell based on values entered from two drop downs

    I'll apologize now, I'm a relative Excel novice. Anyhow, I have a risk assessment worksheet in Sheet 1 set up by someone else. I'm stuck with it for the most part and I can't make major changes to layout. Here's what I have:

    Column B has a drop down list for risk severity with 5 levels of severity (catastrophic, critical, major, minor, negligible). Column C has a drop down list for risk probability with 5 levels of probability (frequent, likely, occasional, seldom, unlikely). There's a table in Sheet 2 (I can move it to the bottom of Sheet 1 if necessary) that has a code based on severity and probability which goes into Column D. 25 values total. Right now it's a drop down list that I have to manually select. I'd like to save time by having Column D auto fill when I select the severity and probability. I suspect this is super easy, but I'm no Excel master.

    Thanks for the help!

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Fill cell based on values entered from two drop downs

    Sounds easy. Post up a workbook and point out the cells you're talking about, show us what you'd like automated with a manual example or two.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Fill cell based on values entered from two drop downs

    try inserting a column before the current first column in the sheet2 table

    concatenate the severity and probability columns with formula like =B2&"#"&C2 where a2 and b2 contain 1st 2 entries copied down

    Then in sheet 1 D2, =Vlookup(B2&"#"&C2,Sheet2!$A$2:$D$26,4,FALSE)

    where table is in sheet2, A2:D26
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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