+ Reply to Thread
Results 1 to 7 of 7

Partial match in an array

  1. #1
    Forum Contributor
    Join Date
    08-23-2010
    Location
    uk
    MS-Off Ver
    365 on Mac
    Posts
    146

    Partial match in an array

    Hi

    Could anyone help me write a formula that will find a partial match in an array.

    I have cells A1:A5 anyone of which have w1, w2, w3.....etc in it (or it might have other text instead).
    Could anyone help me find just the letter w?

    Example:

    0 N 0
    0 w2 0
    0 w3 0

    Many thanks!

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,443

    Re: Partial match in an array

    Perhaps something like =IF(isnumber(search("w",B1)),"yes","no")

  3. #3
    Forum Contributor
    Join Date
    08-23-2010
    Location
    uk
    MS-Off Ver
    365 on Mac
    Posts
    146

    Re: Partial match in an array

    Pepe - that looks promising, but the answer shows up in a number of cells rather than just the one:

    w1 0 0 yes no no
    N 0 0 no no no
    N 0 0 no no no

    I would like the answer in just one cell if poss?

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,443

    Re: Partial match in an array

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  5. #5
    Forum Contributor
    Join Date
    08-23-2010
    Location
    uk
    MS-Off Ver
    365 on Mac
    Posts
    146

    Re: Partial match in an array

    Here it is.

    As you see, there are results in nine cells relating to the data in the other nine cells. I want to get one result in one cell, counting the number of 'w' in all nine adjacent cells.

    Thank you.
    Attached Files Attached Files

  6. #6
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Partial match in an array

    Please try

    =COUNTIF(I5:K7,"w*")

  7. #7
    Forum Contributor
    Join Date
    08-23-2010
    Location
    uk
    MS-Off Ver
    365 on Mac
    Posts
    146

    Re: Partial match in an array

    Now, see - that works absolutely. Many thanks. I think I was using = instead of , Haven't quite got to grips with the difference!
    Best wishes.

+ 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. [SOLVED] partial text match in an array summing the total value
    By mrsak87 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-21-2018, 06:19 AM
  2. [SOLVED] Index Match with Partial Match in Lookup Array
    By AliGW in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-22-2016, 03:13 PM
  3. Index array formula based on a partial date match
    By amygweber in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-04-2016, 02:25 PM
  4. Table Array with Wildcard involving partial URL match
    By tworoads in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-29-2014, 09:29 AM
  5. [SOLVED] Trying to match partial string to an array, need to output related cell
    By vijaijohn in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-23-2013, 03:04 PM
  6. [SOLVED] Partial Match Cell To String Array
    By amazinglazers in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-09-2013, 05:56 AM
  7. Partial Match in an Array
    By matrex in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-13-2008, 09:40 PM

Tags for this Thread

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