+ Reply to Thread
Results 1 to 7 of 7

Lookup entire sheet return value in column below

  1. #1
    Registered User
    Join Date
    10-18-2018
    Location
    US
    MS-Off Ver
    2010
    Posts
    3

    Lookup entire sheet return value in column below

    I need help to figure out how to best do this. Tried to search it and didn't see anything that works exactly. Here is what I want to do.

    I want to vlookup/or hlookup into a different sheet (Bottom table is what that sheet should look like) where the value is in different column and rows and return the number underneath the lookup value.

    The only way I can think of is by using combo of iferror and hlookup formula, but the formula can get very long since the actual data set I am working with is pretty large. Anyway I can do this another way?

    not sure if I am explaining this correctly! Thanks for your help in advance

    Capture.PNG

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Lookup entire sheet return value in column below

    It's better to post an Excel sheet, rather than a non-editable picture of one... But this was a small sample:

    =SUMPRODUCT(--($A$2:$C$4=G2),$A$3:$C$5)
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Lookup entire sheet return value in column below

    or, alternatively:

    =SUMIF($A$2:$C$4,G2,$A$3:$C$5)

  4. #4
    Registered User
    Join Date
    10-18-2018
    Location
    US
    MS-Off Ver
    2010
    Posts
    3

    Re: Lookup entire sheet return value in column below

    Thank you. What if there's another line underneath the lookup value. So in this case sum wouldn't work. Please see attached excel for example.
    Attached Files Attached Files

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Lookup entire sheet return value in column below

    You did not take account of the fact that the ranges are the same length, but offset by 1 (original) or 2 (new) rows:

    =SUMPRODUCT(--($A$2:$C$6=G2),$A$4:$C$8)

    in your last sheet.

  6. #6
    Registered User
    Join Date
    10-18-2018
    Location
    US
    MS-Off Ver
    2010
    Posts
    3

    Re: Lookup entire sheet return value in column below

    Perfect, Thank yoU!!!!

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: Lookup entire sheet return value in column below

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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] How to lookup every row in sheet, return value from first column of same row
    By personafy in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 05-29-2015, 11:36 AM
  2. Lookup against two columns to return value from another column on same sheet
    By batchjb69 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-27-2014, 07:21 PM
  3. lookup for a cell value in entire sheet and return value from a column
    By atulkumar.goel in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-22-2014, 01:38 PM
  4. [SOLVED] Lookup column in another sheet and return corresponding value
    By dougmorgan in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-30-2013, 06:21 AM
  5. [SOLVED] Formula Needed to Return Entire Column Under Header on Second Sheet
    By bigtunelover in forum Excel General
    Replies: 1
    Last Post: 01-27-2012, 11:19 PM
  6. Lookup Value in Column return entire row
    By Soybean in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-16-2008, 07:40 PM
  7. [SOLVED] How do I return entire rows in a lookup of one sheet to another?
    By dflohn in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-02-2005, 03:06 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