+ Reply to Thread
Results 1 to 3 of 3

Test string search in an array

  1. #1
    Forum Contributor
    Join Date
    06-18-2012
    Location
    Denver, CO
    MS-Off Ver
    Excel 2013
    Posts
    118

    Question Test string search in an array

    Hello,

    To begin, I have these formulas which should help understand what I'm trying to do but gives me a #VALUE error:

    Please Login or Register  to view this content.
    Now, I think my problem is that I can't use search(), find(), or wildcards in an array function like sumproduct. I have a feeling match() is the key, but I'm not sure how to implement it.

    What I'm trying to do is combine the text strings in Columns B and C and search for that string in Sheet1 A:A, as well as "SP" that will be somewhere within the string. If those conditions are met, return the sum of all those instances from Sheet1 column B.

    For example, I have "BR3" in B19 and "45WH" in C19. In Sheet1A:A there are 3 cells that have the strings "BR3-45WH-4XL (SP)", "BR3-45WH-4XL (SP2)","BR3-45WH-4XL (SP3)". Each of those has a numeric value in column B that I want added up. and returned.

    Hope I explained this ok, let me know if further explanation is needed.
    Last edited by weeble33; 06-19-2012 at 12:22 PM.

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Test string search in an array

    Maybe?
    Please Login or Register  to view this content.
    Better you post a sample workbook showing some typical data and the expected result.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  3. #3
    Forum Contributor
    Join Date
    06-18-2012
    Location
    Denver, CO
    MS-Off Ver
    Excel 2013
    Posts
    118

    Re: Test string search in an array

    Nevermind, I found my solution
    Please Login or Register  to view this content.
    Just needed ISNUMBER() modifier...and the -- coersion

+ 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