+ Reply to Thread
Results 1 to 11 of 11

If cell X matches a value in a cell range, return "specific text" - HELP :(

  1. #1
    Registered User
    Join Date
    12-23-2012
    Location
    Dubai
    MS-Off Ver
    Excel 2007
    Posts
    4

    Unhappy If cell X matches a value in a cell range, return "specific text" - HELP :(

    Hi helpful community,

    I have lost days and gained grey hair in an effort to overcome what i am sure is a simple excel challenege; please help!

    My challenge:

    Cell J12 is a fixed date (1/1/13)
    Cell L13:L112 contains blank cells and various dates
    I need Cell J14 to return specific text (in my case "CRM Event") if cell J12 (the date) matches any of the dates in cell L13:L112

    Can you help?

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: If cell X matches a value in a cell range, return "specific text" - HELP :(

    How about...

    =IF(ISNUMBER(MATCH(J12,$L$13:$L$112,0)),"CRM Event","")
    HTH
    Regards, Jeff

  3. #3
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: If cell X matches a value in a cell range, return "specific text" - HELP :(

    Another method:

    =IF(COUNTIF($L$13:$L$112,$J$12),"CRM Event","")

    Basically, any formula that can return TRUE or FALSE for that criteria will work.

    - Moo

  4. #4
    Registered User
    Join Date
    12-23-2012
    Location
    Dubai
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: If cell X matches a value in a cell range, return "specific text" - HELP :(

    Hi Jeff,

    Formula solved! Thank you so much!

    I commtited myself to a food strike until I figured out this formula; you just saved me a possible silly death!

    Thanks again,

    Greatly appreciated

    Paul

  5. #5
    Registered User
    Join Date
    12-23-2012
    Location
    Dubai
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: If cell X matches a value in a cell range, return "specific text" - HELP :(

    Thank you Moo!

    Also works - brilliant!

  6. #6
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: If cell X matches a value in a cell range, return "specific text" - HELP :(

    =IF(COUNTIF(L13:L112,J12)),"CRM Event","")

  7. #7
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: If cell X matches a value in a cell range, return "specific text" - HELP :(

    You are welcome Paul. We are glad to have helped and thanks for the feedback.

  8. #8
    Registered User
    Join Date
    12-23-2012
    Location
    Dubai
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: If cell X matches a value in a cell range, return "specific text" - HELP :(

    Thank you Teethless mama - much appreciated

  9. #9
    Registered User
    Join Date
    01-02-2013
    Location
    Bv
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: If cell X matches a value in a cell range, return "specific text" - HELP :(

    Hello,
    I'm looking for something similar, but, what if i would like to have the returned rezult another cell-content and not txt "CRM Event"?
    For ex:
    I have product_name (cell A1). On the same row I have Price1 (Cell D1)+Provider1(cell E1), then Price2(H1)+Provide2(I1), then Price3(K1)+Provider3(L1) etc.
    on C1 i want to have the lowest price. This is done with min (D1,H1,K1,.....)
    But on B1 i want to have displayed the associated Provider_name, based on result from C1.

    I did something like:
    on b1: if (c1, if(c1=d1,e1,)&if(c1=h1,i1,)&if(c1=k1,l1,),0)
    But this is a very rudimentary solution and will have to consider the all specific price and provider cells (i.e. over 100 providers), so will take an eternity.
    I need something where can be use array concept ....
    Thanks

  10. #10
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: If cell X matches a value in a cell range, return "specific text" - HELP :(

    Welcome to the Forum negatifro, unfortunately:

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread. It makes sense to have a new thread for your question because a thread with numerous replies can be off putting & difficult to pick out relevant replies.

  11. #11
    Registered User
    Join Date
    01-02-2013
    Location
    Bv
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: If cell X matches a value in a cell range, return "specific text" - HELP :(

    HI,
    Apology. I was considered that somehow the opened topic is pretty much related with mine, only that in my case, the aspect is getting a little more complex.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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