+ Reply to Thread
Results 1 to 2 of 2

Automatically pop up a number in column B depending on the text from column A

  1. #1
    Forum Contributor
    Join Date
    02-16-2012
    Location
    Denmark
    MS-Off Ver
    O365
    Posts
    256

    Automatically pop up a number in column B depending on the text from column A

    I want to: Automatically pop up a number in column B depending on the text from column A

    for example
    Los Angeles = 1
    New York = 2
    Colorado = 3


    So, If I chose "Los Angeles in column A, B will automatically populate 1

    here is my sample sheet calculation_question3.xlsx

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Automatically pop up a number in column B depending on the text from column A

    Unmerged cells from D16:D27 and try this in D5

    =IFERROR(INDEX($D$16:$D$28;MATCH(B5;$B$16:$B$28;0));"")

    =IFERROR(INDEX($D$16:$D$28,MATCH(B5,$B$16:$B$28,0)),"")
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

+ 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