+ Reply to Thread
Results 1 to 8 of 8

Please help! how to get values from table.

  1. #1
    Registered User
    Join Date
    06-23-2013
    Location
    belguim
    MS-Off Ver
    Excel 2010
    Posts
    4

    Please help! how to get values from table.

    Hello everyone, im new here hope you can help me with this problem.

    My problem is how to get a value from a table or data using functions. I really can't explain it but please take a look at my sample file and give me a solution. ive tried lookup but the results are a mess.

    problem_zps73ea5f09.jpg


    http://www.mediafire.com/download/l1...t/problem.xlsx

    thank you very much. im not really into functions and ill really appreciate it downloading my file and solve it. thanks you.
    Last edited by crisarrows; 06-23-2013 at 01:36 PM. Reason: Thanks to Wayne

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,173

    Re: Please help! how to get values from table.

    use vlookup or index match

    for vlookup
    =VLOOKUP(A6,$I$6:$J$16,2,FALSE)

    and copy down
    it will give a #N/A if no name found in the table- so what do you want to happen then

    and just for completeness index match would be
    =INDEX($J$6:$J$16,(MATCH(A6,$I$6:$I$16,0)))
    sometimes more efficient to use

    so i put that in column C as an example

    see attached
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    06-23-2013
    Location
    belguim
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Please help! how to get values from table.

    Thank you so much, really appreciated it. But how can i removed the N/A i downloaded the attached and check on the column B and C using but is has the N/A. i need to sum it at the bottom.

    Thank you Wayne.

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,173

    Re: Please help! how to get values from table.

    do you want zero or blank
    depends on how you are summing

    Sum(B6:B13) will be OK with ""
    But B6+B7+B8 etc will not

    =IFERROR ( VLOOKUP(A6,$I$6:$J$16,2,FALSE) , "")
    is a blank
    OR
    =IFERROR ( VLOOKUP(A6,$I$6:$J$16,2,FALSE) , 0)
    is a zero

    same for index/match
    =IFERROR ( INDEX($J$6:$J$16,(MATCH(A6,$I$6:$I$16,0))) , 0)
    Last edited by etaf; 06-23-2013 at 12:47 PM.

  5. #5
    Registered User
    Join Date
    06-23-2013
    Location
    belguim
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Please help! how to get values from table.

    Quote Originally Posted by etaf View Post
    do you want zero or blank
    depends on how you are summing

    Sum(B6:B13) will be OK with ""
    But B6+B7+B8 etc will not

    =IFERROR ( VLOOKUP(A6,$I$6:$J$16,2,FALSE) , "")
    is a blank
    OR
    =IFERROR ( VLOOKUP(A6,$I$6:$J$16,2,FALSE) , 0)
    is a zero

    Sir, thank you so much for your help. you save me a lot of time with this problem. again sir. Thank you.

  6. #6
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,173

    Re: Please help! how to get values from table.

    you welcome

    if you care to - we have a reputation button the * here , to add to members reputation

  7. #7
    Registered User
    Join Date
    06-23-2013
    Location
    belguim
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Please help! how to get values from table.

    Quote Originally Posted by etaf View Post
    you welcome

    if you care to - we have a reputation button the * here , to add to members reputation
    Done. Sir. Thank you again.

  8. #8
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,173

    Re: Please help! how to get values from table.

    thank you - glad it worked OK for you

+ 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