+ Reply to Thread
Results 1 to 6 of 6

search text in range and return row number

  1. #1
    Registered User
    Join Date
    12-22-2015
    Location
    SG
    MS-Off Ver
    2010
    Posts
    40

    search text in range and return row number

    The text seems to mess up - and i have problem adding a table to get my data align- please refer to attachment pictureAttachment 637351

    Original message (restored by moderator):


    I would like to do index match to find date which Fulfill criteria
    (A) contains specific shop name - use ISNUMBER(SEARCH)
    (B) Green
    (C) South

    Any excel experts?
    Attached Files Attached Files
    Last edited by ziyan89; 08-16-2019 at 03:59 AM.

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: search text in range and return row number

    Your question should be in your post, not in an image attached to your post.

    Also, it is preferred that you attach your data samples in a workbook, not a picture.

    I would use sumifs as long as there can never be more than one correct match for any given combination of criteria. If more than one correct match is possible then which date should be shown?
    Last edited by jason.b75; 08-15-2019 at 05:58 AM.

  3. #3
    Registered User
    Join Date
    12-22-2015
    Location
    SG
    MS-Off Ver
    2010
    Posts
    40

    Re: search text in range and return row number

    Hi Jason

    Indeed, sorry for being silly

    I have not try SUMIFS before, could you teach me please? thank you!

  4. #4
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: search text in range and return row number

    Posting a workbook with no information in your post is just as bad, there is no question in your post. There should be enough information in your post to tell us what you want to do without opening the workbook. The workbook itself should only contain the data that is needed for us to work with.

    See if this works
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Note that if there are 2 or more rows in the top part where Shop, Colour and Area all match the criteria then the answer will be incorrect.

  5. #5
    Registered User
    Join Date
    12-22-2015
    Location
    SG
    MS-Off Ver
    2010
    Posts
    40

    Re: search text in range and return row number

    Thank you Jason, this works perfect!

    I will take note of posting next time

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,906

    Re: search text in range and return row number

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


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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 Cells for range of text / Return different text to another cell
    By earl2grey in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-12-2019, 03:52 PM
  2. search a range of cells for text and return that text
    By strucad in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-05-2013, 03:45 AM
  3. How to search for a value within a range and return a corresponding text identifier
    By CA_needing_help in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-20-2013, 10:16 PM
  4. Replies: 5
    Last Post: 03-08-2012, 01:50 AM
  5. Search Text of Cell in a range and return the contents
    By shanipk82 in forum Excel General
    Replies: 3
    Last Post: 11-26-2010, 01:34 PM
  6. Search text string for range of text values - return match
    By crugg in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-03-2010, 09:55 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