+ Reply to Thread
Results 1 to 4 of 4

Yes/No Function Relating to Text

  1. #1
    Registered User
    Join Date
    05-13-2008
    Posts
    9

    Yes/No Function Relating to Text

    I am having a total brain melt down and am unsure of how to achieve the following:

    I basically need a Yes/No function relating to whether text in D15 also appears on worksheet 'PO'!A1:A1000 - If it does, it says "Yes" in J15, if not it says "No" in J15

    Something like this, which I know isn't a working formula!

    =IF(D15='PO'!A1:A1000,Yes,No)

    I'm running Excel 2003 if that helps at all

    Thanks in advance

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Yes/No Function Relating to Text

    If it's an exact match either

    =IF(ISNUMBER(MATCH(D15,PO!A1:A1000,0)),"Yes","No")

    or

    =IF(COUNTIF(PO!A1:A1000,D15),"Yes","No")

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Yes/No Function Relating to Text

    Hi,

    Try

    Please Login or Register  to view this content.
    Regards
    Last edited by DonkeyOte; 11-18-2009 at 08:32 AM. Reason: misplaced colon (reverted to comma)
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    05-13-2008
    Posts
    9

    Re: Yes/No Function Relating to Text

    WOW! Thanks for the quick replies!

    This one worked a treat:
    =IF(ISNUMBER(MATCH(D15,PO!A1:A1000,0)),"Yes","No")

    Cheers

+ 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