+ Reply to Thread
Results 1 to 6 of 6

Autopopulate a cell based on answer selected from drop down list

  1. #1
    Registered User
    Join Date
    10-31-2014
    Location
    Tennessee
    MS-Off Ver
    Mac Excel 2011
    Posts
    2

    Autopopulate a cell based on answer selected from drop down list

    I have been trying to get this fixed for the last few hours but haven't had any luck. I have a survey created that I want to use Excel to deliver the survey and do some statistical functions. I have several questions, all of which require an answer from a drop down list that includes "Outstanding, Very good, Satisfactory, Limited, and None." What I want to do is create a column next to the response column that auto populates with a number that is associated with the response text… e.g. if I select "Outstanding" in A2, I want A3 to populate with "5", but if I select "None" in A2, I want A3 to populate with "1".

    I got excited for a minute when I got so far as trying this =IF(A2="Outstanding",5) and it worked… but I still need to get the other four responses coded and I cannot get it to work.

    Can someone give me a suggestion for how to get the cells to populate based on the following scale:

    Outstanding = 5
    Very good = 4
    Satisfactory = 3
    Limited = 2
    None = 1

    Many thanks!

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,731

    Re: Autopopulate a cell based on answer selected from drop down list

    you could use a lookup table
    OR a NESTED IF()

    =if( A2="none", 1, IF( A2="limited", 2, IF( A2 = " Satisfactory", 3, IF( A2= "Very Good", 4, IF( A2 = "Outstanding", 5, "" )))))

    OR

    =LOOKUP(A2, {"limited","none","Outstanding"," Satisfactory","Very Good"},{2,1,5,3,4})
    Last edited by etaf; 10-31-2014 at 05:42 PM.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,289

    Re: Autopopulate a cell based on answer selected from drop down list

    =MATCH(A2;{"none";"limited";"Satisfactory";"Very good";"outstanding"};0)

    TRy this
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  4. #4
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Autopopulate a cell based on answer selected from drop down list

    Thanks Popipipo,

    I was trying to remember how to do that.

    However there are two typos in your formula,

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    10-31-2014
    Location
    Tennessee
    MS-Off Ver
    Mac Excel 2011
    Posts
    2

    Re: Autopopulate a cell based on answer selected from drop down list

    Etaf, Exactly what I needed, THANK YOU!!!

  6. #6
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,731

    Re: Autopopulate a cell based on answer selected from drop down list

    your welcome and thanks for the rep

+ 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. Items that Autopopulate on seperate Sheet in list form when selected.
    By Mccorkle123 in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 06-23-2014, 02:16 PM
  2. Replies: 2
    Last Post: 02-19-2014, 05:14 PM
  3. Replies: 2
    Last Post: 06-21-2013, 10:04 AM
  4. Replies: 0
    Last Post: 01-31-2013, 12:29 PM
  5. Autopopulate cell based on info selected in Data Validation list
    By mintymike in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-19-2012, 12:42 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