+ Reply to Thread
Results 1 to 15 of 15

Vlookup

  1. #1
    Registered User
    Join Date
    11-13-2011
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    5

    Vlookup

    Hello, I'm currently taking a basic college information systems course and I'm having difficulty with the VLOOKUP function. I need to calculate letter grade equivalents. I used breakpoints for the table I'm referring to. I've tried copying the range and referring to my text book for the correct forumla, but I can't figure out what I'm doing wrong. What am I missing? Not sure if this matters, but the table is in a separate worksheet.

    Any assistance would be greatly appreciated. I'm banging my head against the wall over this, but it's probably a very simple error on my part. If you need additional information, I'll do my best to provide it.
    Last edited by ilmc; 11-13-2011 at 03:48 PM.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Vlookup

    i think you need a better example than that!
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Vlookup

    To attach a file to your post, you need to be using the main 'New Post' or 'New Thread' page and not 'Quick Reply'.
    To use the main 'New Post' page, click the 'Post Reply' button in the relevant thread.

    On this page, below the message box, you will find a button labelled 'Manage Attachments'.
    Clicking this button will open a new window for uploading attachments.

    You can upload an attachment either from your computer or from another URL by using the appropriate box on this page.
    Alternatively you can click the Attachment Icon to open this page.

    To upload a file from your computer, click the 'Browse' button and locate the file.

    To upload a file from another URL, enter the full URL for the file in the second box on this page.
    Once you have completed one of the boxes, click 'Upload'.

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  4. #4
    Registered User
    Join Date
    11-13-2011
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Vlookup

    The letter grade equivalent needs to be posted in cell Z8. The grade should be A-.

    The table is posted in the worksheet titled "Documentation".
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor scottylad2's Avatar
    Join Date
    09-03-2010
    Location
    edinburgh
    MS-Off Ver
    Office 2007 Prof & Office 2010 Student Edition
    Posts
    629

    Re: Vlookup

    Try this in Z8

    ignore last post I've deleted, you need to sort ascending column A in documentation and use this =VLOOKUP(Y8,Documentation!A8:B19,2,1)
    Last edited by scottylad2; 11-13-2011 at 04:19 PM.
    Windows 7 using Office 2007 & 2010

    Remember your [ code ] [ /code ] tags, makes reading soooo much easier

  6. #6
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Vlookup

    Sort Documentation!A8:B19 by Breakpoints ascending, and in Grades!Z8 use:

    Please Login or Register  to view this content.
    Cheers,

  7. #7
    Registered User
    Join Date
    11-13-2011
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Vlookup

    Scotty and Conne:

    Problem solved. Thank you very much.

  8. #8
    Registered User
    Join Date
    11-13-2011
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Vlookup

    I'm working on another document now. I need to enter the cost for client 'Andrews' in cell C5. Quite frankly I don't understand what to enter in the VLOOKUP function arguments box (Lookup_value, Table_array, Col_index_num, and Range_lookup). Cells A18:C20 are named "Membership". I've tried entering A18:A20 in the look_up range and "Membership" (A18:C20) in table_array, among other combinations. What am I supposed to enter as the column index number? Could someone explain what I'm doing wrong? I don't want anyone to think I'm simply looking for someone else to give me an answer. I'm really trying to understand the logic of the functions and formulas.

    Do I have to permanently reference the cells in the "Membership" group?
    Attached Files Attached Files

  9. #9
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Vlookup

    vlookup((Lookup_value, Table_array, Col_index_num, and Range_lookup)

    table_array - the columns that you want to look at for
    column index - what column do you want to show from the table_array
    range_lookup - true or false ( not range )
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  10. #10
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Vlookup

    it should look like thisin c5
    =VLOOKUP(B5,$A$18:$B$20,2,FALSE)

  11. #11
    Registered User
    Join Date
    11-13-2011
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Vlookup

    Thank you very much vlady and Martin. Your assistance is truly appreciated.

    To calculate the annual total (sum of basic membership cost and the locker fee), would I have to use the vlookup or IF function?

    I tried =SUM(C5,VLOOKUP(D5,B22 _ FALSE). I'm unsure as to wether this is even the correct function to use since I'm only referring to one cell, not a column. I attempted to use the IF function by doing =SUM(C5,B22,IF(FALSE,$D$5,$D$7).

    Edit: I also attempted to make B22 an absolute reference, but it won't stay for some reason.
    Last edited by ilmc; 11-14-2011 at 01:40 PM.

  12. #12
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Vlookup

    you should probably be using sumif

  13. #13
    Valued Forum Contributor scottylad2's Avatar
    Join Date
    09-03-2010
    Location
    edinburgh
    MS-Off Ver
    Office 2007 Prof & Office 2010 Student Edition
    Posts
    629

    Re: Vlookup

    Can you provide a sample?

  14. #14
    Registered User
    Join Date
    06-03-2014
    Posts
    1

    Re: Vlookup

    Quote Originally Posted by scottylad2 View Post
    Try this in Z8

    ignore last post I've deleted, you need to sort ascending column A in documentation and use this =VLOOKUP(Y8,Documentation!A8:B19,2,1)

    I was having a similar issue - I didn't know you had to sort assending - is that a rule to go by? How would I have known that? why wouldn't it recognize the area I assigned to go retrieve the infor? (for example: I used "Grades" for cells B2:C7) so my VLOOKUP was
    =VLOOKUP(Y8,Grades,2,TRUE)

  15. #15
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Vlookup

    I didn't know you had to sort assending - is that a rule to go by? How would I have known that?
    use help! it is all explained there
    range_lookup Optional. A logical value that specifies whether you want VLOOKUP to find an exact match or an approximate match:
    If range_lookup is either TRUE or is omitted, an exact or approximate match is returned. If an exact match is not found, the next largest value that is less than lookup_value is returned.
    Important If range_lookup is either TRUE or is omitted, the values in the first column of table_array must be placed in ascending sort order; otherwise, VLOOKUP might not return the correct value.

+ 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