+ Reply to Thread
Results 1 to 10 of 10

Lookup in one table and display two values in another

Hybrid View

  1. #1
    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..

    =IF(INDEX(TableA!$D:$D,MATCH(A3,TableA!$B:$B,0))="-",INDEX(TableA!$C:$C,MATCH(A3,TableA!$B:$B,0)))
    copy down and across
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  2. #2
    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..

    =IF(INDEX(TableA!$D:$D,MATCH(A3,TableA!$B:$B,0))="-",INDEX(TableA!$C:$C,MATCH(A3,TableA!$B:$B,0)))
    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

  3. #3
    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
    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.

  4. #4
    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

+ 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