+ Reply to Thread
Results 1 to 4 of 4

How to search multiple rows and columns for a string, and if found, return another cell in

  1. #1
    Registered User
    Join Date
    01-21-2014
    Location
    Dearborn, MI
    MS-Off Ver
    Excel 2010
    Posts
    2

    How to search multiple rows and columns for a string, and if found, return another cell in

    I need help searching across multiple rows and columns for a serial number, and then if found, return the delivery date in that row. There are 580 rows, and serial numbers are in columns AD - BQ. The Delivery Date is in column W, and the search criteria is in column AH on another tab. Here is a sample of the data with only 7 of the 40 columns. THANKS!!!

    Delivery Date Asset Tag Asset Tag Asset Tag Asset Tag Asset Tag Asset Tag Asset Tag
    7/23/10 SRV130279
    8/13/10 SRV130741 SRV130742 SRV130738 SRV130739 SRV130740 SRV130737
    8/17/10 SRV130756 SRV130757 SRV130758 SRV130759 SRV130753 SRV130754 SRV130755
    7/27/10 SRV130476
    7/27/10 SRV130468
    7/26/10 SRV130472
    8/2/10 SRV130539 SRV130540

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: How to search multiple rows and columns for a string, and if found, return another cel

    Will the serial number in question only appear once in the whole table?

    If so, try

    =SUMPRODUCT(($AD$2:$BQ$1000='another tab'!$AH2)*$W$2:$W$1000)

  3. #3
    Registered User
    Join Date
    01-21-2014
    Location
    Dearborn, MI
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: How to search multiple rows and columns for a string, and if found, return another cel

    That worked! THANK YOU!!!

    Here is how I used it: =SUMPRODUCT(('Intel Servers Ordered'!$AD$2:$BQ$1000=$AH113)*'Intel Servers Ordered'!$W$2:$W$1000)

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: How to search multiple rows and columns for a string, and if found, return another cel

    You're welcome...

    Just keep in mind that formula depends on having only 1 match for AH113 in the whole table (AD2:BQ1000)

    If there are multiples, it will have strange results.

+ 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. Search cell for multiple text , return comma separated text in separate cell if found
    By dangerdoug in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-01-2013, 01:52 PM
  2. [SOLVED] IF range of cells contains string of text, return contents of cell where string is found
    By nobodyukno in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-03-2013, 09:56 AM
  3. [SOLVED] Search for a string within a cell, if found, return value of 1
    By brookenovak in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-07-2013, 07:39 PM
  4. Search Multiple Columns and Rows and Return Row
    By rplute in forum Excel General
    Replies: 4
    Last Post: 02-21-2011, 10:58 PM
  5. Search column - return row found in long text string
    By JayL in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-05-2005, 12:06 AM

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