+ Reply to Thread
Results 1 to 4 of 4

basic vlookup with IF? I cant work this out...

  1. #1
    Registered User
    Join Date
    05-26-2010
    Location
    Auckland, NZ
    MS-Off Ver
    Excel 2003
    Posts
    52

    basic vlookup with IF? I cant work this out...

    HI,

    I think its a vlookup but cant get it to work for me with
    =VLOOKUP(C2,with!A1:Y11,11)

    I would like the "M" column to look at column "C" then match the number in column C with the identical number on a 2nd worksheet ( called "with") number in its column C then return the column M from the 2nd worksheet into column M in the 1st worksheet and the same thing to happen columns M - AA

    Or is it a IF value with vlookup? or neither?

    Any help on the practice worksheet link attached here would be great
    http://www.4shared.com/folder/skjYKtN4/_online.html

    Thankyou

    Izzy
    Attached Files Attached Files
    Last edited by IsabellaLearning; 12-21-2011 at 04:03 AM. Reason: forgot attachment

  2. #2
    Registered User
    Join Date
    10-15-2011
    Location
    bangalore
    MS-Off Ver
    Excel 2010
    Posts
    99

    Re: basic vlookup with IF? I cant work this out...

    vlookup works only when the data is in the first coloumn of the table

    change the formula to =VLOOKUP(C2,with!C1:Y11,11)

  3. #3
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: basic vlookup with IF? I cant work this out...

    Hello Izzy,

    or use INDEX/MATCH, you can do Left/Right/Vertical/Horizontal Lookups.

    M2, copy down & across.

    =INDEX(with!$A:$AA,MATCH($C2,with!$C:$C,0),MATCH(M$1,with!$A$1:$AA$1,0))
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  4. #4
    Registered User
    Join Date
    05-26-2010
    Location
    Auckland, NZ
    MS-Off Ver
    Excel 2003
    Posts
    52

    Re: basic vlookup with IF? I cant work this out...

    yeay!!
    Thankyou sooooooo much the index/match made my day.

    Also thanks for the info on vlookups needing to be in first column only, I did not know that

    Izzy

+ 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