+ Reply to Thread
Results 1 to 7 of 7

Exact word

  1. #1
    Registered User
    Join Date
    09-20-2011
    Location
    N.Wales
    MS-Off Ver
    Excel 2010
    Posts
    63

    Exact word

    Hi,

    I would like Double Pg Input only to show in cell if it matches exactly in A2

    =IF(ISNUMBER(FIND("Double 1",A2)),"Double Pg input"&" "&D2,"")

    Cheers

    Colin

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: Exact word

    What do you mean by "matches exactly"? The only content in the cell? Other words but around the search item? Format the same? Number the same?

    Post some examples of what constitutes an exact match and what doesn't.

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    09-20-2011
    Location
    N.Wales
    MS-Off Ver
    Excel 2010
    Posts
    63

    Re: Exact word

    Hi,

    A2 must have the word "Double 1" typed in the cell - then "Double Pg Input" will show,
    if the word " Double 1a" is typed in then the a blank will show.

    =IF(ISNUMBER(FIND("Double 1",A2)),"Double Pg input"&" "&D2,"")

    Hope this helps,

    Cheers

    Colin

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Exact word

    FIND just looks for Double 1 anywhere in the cell, if the cell should be exactly "Double 1" with no other characters then just use a direct comparison, i.e.

    =IF(A2="Double 1","Double Pg input "&D2,"")
    Audere est facere

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: Exact word

    @DDL: picking up the tricky ones now, huh!?

  6. #6
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Exact word

    I think it was Descartes who said "there are no easy questions, just some that are less hard" (or was that Kenny Dalglish?)

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: Exact word

    @DDL: there again, a question is only hard if you don't know the answer, easy if you do, and "puzzling" if you think you should know the answer (and possibly do) but can't for the life of you think what it is.

    Regards

+ 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