+ Reply to Thread
Results 1 to 10 of 10

Lookup in one table and display two values in another

  1. #1
    Registered User
    Join Date
    04-24-2007
    Posts
    32

    Lookup in one table and display two values in another

    Hello,

    I am officially driving myself insane as I know this shouldn't be as complicated as I am making it! Any pointers would be very much appreciated!

    In Table A I have several columns including supplier (Column B), invoice number (Column C), amount (Column D) and Paid (Yes or No) (Column E).

    In Table B I have the suppliers listed in separate columns. I am attempting to look up a supplier in table A and if the invoice number in column C is not paid (a No in column E) the invoice number and amount is to be displayed in columns B and C of Table B.

    Please can someone point me in the right direction before my old brain finally explodes!?

    With many thanks.
    Paul

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Lookup in one table and display two values in another

    It looks like INDEX & MATCH issue.

    You can do it using an Array formula OR using helper columns.

    If you think that you can not handle this, pls upload a small sample workbook.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Lookup in one table and display two values in another

    post an example of your excel file, without confidentional information.

    please also add the desired result.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Lookup in one table and display two values in another

    In table B something on these lines..replace Supplier with correct cell reference and Invoice number with correct cell refernce

    Please Login or Register  to view this content.
    Confirm with Ctrl+Shift+Enter and not just Enter
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  5. #5
    Registered User
    Join Date
    04-24-2007
    Posts
    32

    Re: Lookup in one table and display two values in another

    Sample.xlsx

    Thank you for the suggestions and I've uploaded a sample now along with the desired outputs on.

    Any help would be really appreciated.

    Kind regards.
    Paul

  6. #6
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Lookup in one table and display two values in another

    In b6..

    Please Login or Register  to view this content.
    copy down and across

  7. #7
    Registered User
    Join Date
    04-24-2007
    Posts
    32

    Re: Lookup in one table and display two values in another

    Quote Originally Posted by Ace_XL View Post
    In b6..

    Please Login or Register  to view this content.
    copy down and across
    Apologies for a stupid question but this doesn't carry across the invoice number but just the amount? Am I missing something?

    I want to lookup the values in Table A and display the invoice number and amount in the correct supplier columns in table B. Is there a way I can achieve this?

    Thanks again for the help which is appreciated!!

    Best wishes.
    Paul

  8. #8
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Lookup in one table and display two values in another

    See if this take care your needs. I done only for the first sample. Same way for the others.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    04-24-2007
    Posts
    32

    Re: Lookup in one table and display two values in another

    Quote Originally Posted by Fotis1991 View Post
    See if this take care your needs. I done only for the first sample. Same way for the others.
    Excellent - many thanks for the help!!

    Paul

  10. #10
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Lookup in one table and display two values in another

    You are welcome.

    Thanks for the reb*

+ 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