+ Reply to Thread
Results 1 to 3 of 3

Display cell based on multiple cross-references

  1. #1
    Petee
    Guest

    Display cell based on multiple cross-references

    I have over 1,000 rows with 3 columns of non-unique numbers/letters (no two
    rows are entirely the same).

    4 790 54
    4 794 93
    4 797 20
    4 797 74X
    4 799 103
    5 511 93
    5 511 120
    5 520 74X


    I have 2 cells that I will use to paste in numbers from another database:

    H1=103
    H2=799

    I need a new cell query like:

    If H1=ColumnC AND H2=ColumnB then display the value of ColumnA... (4 in this
    example).

    Please save me before I pull more hair out! Thanks!

  2. #2
    Forum Contributor kraljb's Avatar
    Join Date
    05-26-2004
    Location
    Illinois
    MS-Off Ver
    2007 (recent change)
    Posts
    256
    =SUMPRODUCT(--(C1:C1000=H1),--(B1:B1000=H2),A1:A1000)

    Although this only works as long as column A is numbers and there are no duplicate rows (i.e. 2 rows with 799 and 103)

  3. #3
    Petee
    Guest

    Re: Display cell based on multiple cross-references

    Column A is numbers and the rows are unique AND it works like a charm! Thanks
    a TON!

    "kraljb" wrote:

    >
    > =SUMPRODUCT(--(C1:C1000=H1),--(B1:B1000=H2),A1:A1000)
    >
    > Although this only works as long as column A is numbers and there are
    > no duplicate rows (i.e. 2 rows with 799 and 103)
    >
    >
    > --
    > kraljb
    > ------------------------------------------------------------------------
    > kraljb's Profile: http://www.excelforum.com/member.php...fo&userid=9955
    > View this thread: http://www.excelforum.com/showthread...hreadid=552456
    >
    >


+ 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