+ Reply to Thread
Results 1 to 8 of 8

Questions about Vlookup

  1. #1
    Registered User
    Join Date
    08-09-2010
    Location
    Eilat
    MS-Off Ver
    Excel 2003
    Posts
    20

    Questions about Vlookup

    i got a couple of questions about Vlookup Function.

    1. whenever im using a vlookup funcion and im trying to drag the function down to more columns the table array is moving down aswell and i need that the table array will stay at the same place so it to take the data from the same positon.

    2. is there an option that once it writes the value of the function it wont be changed again.
    for example.

    i already wrote alot of lines and its all good but i need to change the number in the table array but i what was in the history should stay the same... i dont want it to change what heppened in the history i just want it to change the number from now on.

    i hope i made myself clear and thanks for the support.

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Questions about Vlookup

    1. You need to make your table array reference absolute like this: =VLOOKUP(A1,$F$1:$I$20,3,FALSE)

    2. You would need to copy...paste special...values any formula you didn't want to update.

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

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

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,311

    Re: Questions about Vlookup

    Q1: Make the look table address absolute.

    For example, =VLOOKUP(A2,Sheet2!$A$2:$B$24,2,FALSE)


    Q2: sorry, I don't understand the question. If you are saying you've added entries to the table and they're not included in the lookup, you could use a global replace of, say, ":24" to ":36" (without the quotes)


    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    08-09-2010
    Location
    Eilat
    MS-Off Ver
    Excel 2003
    Posts
    20

    Re: Questions about Vlookup

    thanks for the answer dom.

    im speaking about alot of data and lines.... isnt there a way to do that without copy past special?

  5. #5
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Questions about Vlookup

    Not that I can think of.

    Dom

  6. #6
    Registered User
    Join Date
    03-29-2011
    Location
    Glasgow, UK
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Questions about Vlookup

    deleted- Started new thread
    Last edited by Pm129; 03-29-2011 at 08:19 AM. Reason: deleted

  7. #7
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Questions about Vlookup

    Hi,

    You should start your own thread per the forum rules:

    2. Don't post a question in the thread of another member -- start your own. If you feel it's particularly relevant, provide a link to the other thread.
    Dom

  8. #8
    Registered User
    Join Date
    03-29-2011
    Location
    Glasgow, UK
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Questions about Vlookup

    Apologies, The site wasn't letting me start threads. Will try again.

+ 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