+ Reply to Thread
Results 1 to 3 of 3

Cell contains one of many things

Hybrid View

  1. #1
    Registered User
    Join Date
    09-19-2017
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    2

    Cell contains one of many things

    Hello from Australia down under, hi all, not sure if what I want is possible but it would sure be handy if it is. Here goes,

    I have this formula and it does most of what I need,

    =SUMPRODUCT(--ISNUMBER(SEARCH({"250","500","750"},M3)))>0

    It finds the things I want but only returns a true or false, is it possible for it to rerun in text what it has found. In my case M3 contains the number 13250 which are “machine hours” and this sum has returned true for the “250” I would like it to return “250” rather than true.

    Thanks for taking the time to read my post

    Chris

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2024
    Posts
    6,177

    Re: Cell contains one of many things

    Try:

    =LOOKUP(751,SEARCH({"250","500","750"},M3),{"250","500","750"})

  3. #3
    Registered User
    Join Date
    09-19-2017
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    2

    Re: Cell contains one of many things

    Phuocam you're a legend, it works, thank you, ill have a play and see if I can build on it now.

    Cheers Chris

+ 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. Select contents of a cell based one of two things
    By bolambert in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-08-2016, 05:36 PM
  2. Replies: 18
    Last Post: 02-23-2014, 07:02 PM
  3. [SOLVED] Single cell doing multiple things?
    By cause in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-06-2013, 11:50 PM
  4. hide value in a cell and a few other things
    By 1newguy in forum Excel General
    Replies: 1
    Last Post: 03-06-2009, 04:32 AM
  5. Allowing certain things in a cell
    By -emma- in forum Excel General
    Replies: 6
    Last Post: 12-21-2007, 09:03 AM
  6. [SOLVED] Is there a way to only have certain things typed into a cell?
    By Big Abalone in forum Excel General
    Replies: 2
    Last Post: 05-12-2006, 07:10 PM
  7. [SOLVED] Sum in first blank cell and a few more things...
    By Bleu_808 in forum Excel General
    Replies: 3
    Last Post: 05-04-2006, 07:10 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