+ Reply to Thread
Results 1 to 7 of 7

data validation auto complete

  1. #1
    Registered User
    Join Date
    07-15-2010
    Location
    belgrade
    MS-Off Ver
    Excel 2007
    Posts
    3

    data validation auto complete

    i want to do next

    when i want to select "b" (from cell E6) in drop down in cell A3

    i want get automatic from excell in cell B3 value "2" (from cell F6)

    \1

    Thank you a lot

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,607

    Re: data validation auto complite

    Try VLOOKUP function:

    =VLOOKUP(B2, E5:F7, 2)

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

    Re: data validation auto complite

    =Lookup(A3,E5:F7) if the E5:E7 list is in sorted ascending order. If not,

    =Vlookup(A3,E5:F7,2,0)
    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.

  4. #4
    Registered User
    Join Date
    07-15-2010
    Location
    belgrade
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: data validation auto complite

    Thank You for answer, but where i do error

    in the case with value is corect a,b,c,d,e

    but when i try with real value what i want there is error
    Attached Files Attached Files

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

    Re: data validation auto complete

    Since your list in column M is not in sorted ascending order, you need to use my 2nd option:

    e.g. =VLOOKUP(J4,M4:N7,2,0)

  6. #6
    Registered User
    Join Date
    07-15-2010
    Location
    belgrade
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: data validation auto complete

    Thank you a lot, thats it my english is not enought good so its probelm too
    and please write me if you know,
    if item is not present in the table, it returns #N/A.
    how to remove #N/A. i was find something but is not usefull,
    as =IF(ISERR(VLOOKUP...... ???

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

    Re: data validation auto complete

    In XL2007

    =IFERROR(VLOOKUP(J4,M4:N7,2,0),"")

    or in XL2003 or earlier

    =IF(ISNA(VLOOKUP(J4,M4:N7,2,0)),"",VLOOKUP(J4,M4:N7,2,0))

+ 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