+ Reply to Thread
Results 1 to 4 of 4

IF formul, text, dropdown menu

  1. #1
    Registered User
    Join Date
    10-14-2016
    Location
    The Netherlands
    MS-Off Ver
    2016
    Posts
    1

    Post IF formul, text, dropdown menu

    Hi!

    I really hope you guys can help me with this one. It will save a lot of time, once we've figured this out.

    I am working on a spreadsheet with dropdown menu's (data validation).
    Let's say i can choose from 3 options here.
    1: 'ex'
    2: 'am'
    3: 'ple'
    I will select option 1. Then I would like Excel to follow up on the selected option in the second field.
    Let's say:
    If A1 is 'ex', A2 should be 'so'
    If A1 is 'am', A2 should be 'lu'
    If A2 is 'ple', A2 should be 'tion'

    Thanks in advance for sharing your Excel-knowledge.

    Cheers,
    Happymonkey

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

    Re: IF formul, text, dropdown menu

    You could use a VLOOKUP:

    =VLOOKUP(A1,X1:Y3,2,0)

    X1:Y3 is table with "drop down codes in X and corresponding value in Y


    "Ex"/"So"
    "am"/"Lu"
    "ple"/"tion"

  3. #3
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,910

    Re: IF formul, text, dropdown menu

    Try this:

    =INDEX({"so","lu","tion"},MATCH(A1,{"ex","am","ple"},0))

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: IF formul, text, dropdown menu

    If you only have a few variables...

    =IF(A1="ex","so",IF(A1="am","lu",IF(A1="ple","tion","")))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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] make dropdown menu dependent on other dropdown menu values
    By kosherboy in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-30-2015, 04:29 PM
  2. How a drop down menu's list can change depending on another dropdown menu.
    By sudeepkm73 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-30-2015, 03:18 AM
  3. Dropdown menu when text is clicked it autosaves the workbook
    By benosmond in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-20-2015, 03:42 PM
  4. [SOLVED] How do I populate cells (with numbers) from a dropdown (in text) menu in a timesheet?
    By Eddie Elvis in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-11-2013, 12:05 AM
  5. Replies: 1
    Last Post: 09-17-2012, 11:23 AM
  6. [SOLVED] Excel 2007 : new drop down menu based on dropdown menu in previous cell
    By martinpols in forum Excel General
    Replies: 3
    Last Post: 04-30-2012, 02:33 AM
  7. Update Text fields from dropdown menu automatically
    By paxile2k in forum Word Programming / VBA / Macros
    Replies: 0
    Last Post: 12-10-2010, 02:08 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