+ Reply to Thread
Results 1 to 5 of 5

Help with a VLOOKUP formula

  1. #1
    Registered User
    Join Date
    09-29-2013
    Location
    .ro
    MS-Off Ver
    Excel 2003
    Posts
    5

    Help with a VLOOKUP formula

    Hello, this is my first post here, just need some help with explaining this expression:

    =VLOOKUP(B3,'C:Documents and SettingsuserDesktop[ZA la 04.11.2011.xls]stocuri_04.11.2011_04.11.2011'!$B$2:$M$266,12,0)

    The question is: "What number must be changed in order for the expression to take into account the third cell ?". This is where I don't really understand... what third cell ? I'm tempted to say the "12" must be changed into "3" (...!$B$2:$M$266,3,0) but I'm not sure if that's right. There's no example sheet, just the formula and the aforementioned question. Sorry if this seems stupid, but as you can guess I'm a n00b and I'd really appreciate some help, thanks !

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Help with a VLOOKUP formula

    welcome to the forum, JebeDaiaS. you are right about changing that. basically, the VLOOKUP formula has 4 parts to it:
    lookup_value
    this value is something that exist in both lists. normally, you want to look for this single value that exist in a long list of values under the next part; table_array

    table_array
    the first column of this must contain your lookup_value. in your case, it's somewhere in B2:B266. you also have to include more columns until the point where you can get what you want to return. if it's in column D, then you could change it to just:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    it's ok to retain your formula & just change it to 3 though

    col_index_no
    this is where you indicate which column number you want to return, based on your table_array. 1 means column B in your case, since you started the table_array from column B. 2 would mean column C & 3 would mean column D.

    range_lookup
    put a FALSE or 0 for an exact match. you just have to know this for now. putting TRUE, 1 or omitting it is another way of VLOOKUP not applicable to your case.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    09-29-2013
    Location
    .ro
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Help with a VLOOKUP formula

    Thanks benishiryo, I thought so myself, but I wasn't sure, that's why I asked for some help.

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Help with a VLOOKUP formula

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  5. #5
    Registered User
    Join Date
    09-29-2013
    Location
    .ro
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Help with a VLOOKUP formula

    Thanks arlu1201, I meant to do that but forgot to get around to this thread again. In the future will do !

+ 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. [SOLVED] VBA code for change vlookup formula to vlookup formula with ISNA
    By erprasannaa in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-12-2013, 03:33 AM
  2. Vlookup referencing a vlookup formula
    By laurenann in forum Excel General
    Replies: 1
    Last Post: 01-24-2011, 05:52 PM
  3. Replies: 4
    Last Post: 06-06-2010, 07:13 PM
  4. Replies: 2
    Last Post: 10-08-2009, 09:51 PM
  5. vlookup-reate a vlookup formula?
    By Pam C in forum Excel General
    Replies: 1
    Last Post: 03-16-2006, 12:15 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