+ Reply to Thread
Results 1 to 4 of 4

Formula if cell contains one of many things, and those "things" contain multiple "items"

  1. #1
    Forum Contributor JulianS96's Avatar
    Join Date
    11-01-2019
    Location
    England
    MS-Off Ver
    365 (work-99%), 2016 (home-1%)
    Posts
    266

    Formula if cell contains one of many things, and those "things" contain multiple "items"

    Hi forum,

    Just wanted to know if it's possible to index(match.... if the cell in reference contains one of many things (solved) but those "things" contain more than one option?

    I'm referencing this help guide on exceljet: https://exceljet.net/formula/if-cell...of-many-things

    But if the things contain multiple words would this still be possible to index the correct answer?

    Cheers,
    Julian

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Formula if cell contains one of many things, and those "things" contain multiple "item

    I Changed the Or to "," from E12:E15 Like indigo or neon to indigo, neon
    and used below formula
    =INDEX($F$12:$F$19,MATCH(1,INDEX((MMULT((COUNTIF($B12,"*"&TRIM(MID(SUBSTITUTE($E$12:$E$19&",^,^,^,^",",",REPT(" ",256)),{0,1,2,3}*256+1,256))&"*")),{1;1;1;1})>0)+0,0),0))
    it works as much as 4 values (xx or xxx or xxxx or xxxxx)

    see the attached file
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Formula if cell contains one of many things, and those "things" contain multiple "item

    how about using this one in nothing is changed in your original set up in C12 copy paste below then hold control and shift together and then hit enter to make it array formula and drag down
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  4. #4
    Forum Contributor JulianS96's Avatar
    Join Date
    11-01-2019
    Location
    England
    MS-Off Ver
    365 (work-99%), 2016 (home-1%)
    Posts
    266

    Re: Formula if cell contains one of many things, and those "things" contain multiple "item

    Thank you both for your solutions, Very complex monster formulas but as long as they work i'm happy.
    If you're happy to would you mind explaining how the formula works?
    If not that's fine. I'm fine with a working result cheers guys!

+ 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. Replies: 2
    Last Post: 07-24-2017, 02:19 AM
  2. Replies: 4
    Last Post: 06-11-2017, 02:03 PM
  3. In DATABASE criteria "Blank Cell" AND ="" are NOT the same things??
    By damlays in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-27-2015, 04:03 PM
  4. [SOLVED] Formula Needed to fill multiple cells with "No" when the word "No" is entered into a cell
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-09-2013, 05:36 PM
  5. Gantt chart of recurring "things"
    By JakeDesk in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 08-28-2013, 02:30 PM
  6. Replies: 1
    Last Post: 07-16-2010, 02:44 AM
  7. Replies: 3
    Last Post: 08-27-2009, 07:26 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