+ Reply to Thread
Results 1 to 3 of 3

Entering a value should give me corresponding value from the legend I made.

  1. #1
    Registered User
    Join Date
    05-05-2015
    Location
    Hyderabad
    MS-Off Ver
    2010
    Posts
    3

    Question Entering a value should give me corresponding value from the legend I made.

    Hi,

    I have a situation, where I have to create a reference table. In the main work area, if I enter the value from the table, in the adjacent cell, I need the corresponding value..

    lets say I have assigned 1 = apple, 2= orange 3= mango,

    In the main work sheet Once in lets say B3 cell I enter 1, In the C3 cell, I want the response to read apple.

    I tried if function and Vlookup but to no avail.

  2. #2
    Forum Contributor
    Join Date
    01-28-2014
    Location
    Turkey
    MS-Off Ver
    Excel 2013
    Posts
    159

    Re: Entering a value should give me corresponding value from the legend I made.

    Did you check red sign (TRUE;FALSE) =VLOOKUP(lookup_value,table array,col_index_num,0)

    If you put 1 instead of 0 then VLOOKUP might not return the correct value. If you use 1 then VLOOKUP gives approximate match.

  3. #3
    Valued Forum Contributor
    Join Date
    04-12-2012
    Location
    India
    MS-Off Ver
    Excel 2007, 2010, 2013, 2016, 2019, Office 365, Google Spreadhsheet
    Posts
    640

    Re: Entering a value should give me corresponding value from the legend I made.

    Hi Aditya,

    Welcome to the forum.

    You can also use the Index Match function to get the corresponding value.

    Lets say, you have assigned the numbers in Col "I" & Fruits Name in Col "J". Now, if you enter 1 in B3, so use the following function in C3

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    this will also work.

    Cheers!!

    Anil Dhawan
    Thanks,
    Anil Dhawan


    Click *Add Reputation to say "Thanks" and don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved) if you are satisfied.

    Don't stop when you are tired. STOP when you are done!

+ 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. Replies: 7
    Last Post: 12-30-2014, 05:25 PM
  2. Entering current time in adjacent cell when entry is made
    By Ned the music guy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-24-2012, 04:17 AM
  3. Replies: 5
    Last Post: 04-16-2012, 08:12 PM
  4. Can a macro be made to run on entering or leaving a cell?
    By Dave Lister in forum Excel General
    Replies: 1
    Last Post: 12-03-2005, 03:15 PM
  5. entering a26-02 into a cell give strange result
    By Anthony in forum Excel General
    Replies: 1
    Last Post: 01-27-2005, 07:06 PM

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