+ Reply to Thread
Results 1 to 8 of 8

combine an if and or forumla for text values

  1. #1
    Forum Contributor
    Join Date
    06-03-2008
    MS-Off Ver
    Excel 2007 (also have access to Excel 2000/2003)
    Posts
    368

    combine an if and or forumla for text values

    Hi,

    I have a column say column A that holds text. If the values match say:

    ABC1 or
    ABC2 or
    ABC3

    And also match column B if it shows "Yes" then show "Correct" or "Not Correct" as appropriate.

    Please can someone advise?

    Thank you in advance
    Last edited by jpruffle; 08-19-2009 at 06:51 AM.

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

    Re: combine an if and or forumla for text values

    A (very) slight variant on Stormseed's formula:

    =IF(AND(OR(A1={"ABC1","ABC2","ABC3"}),B1="yes"),"Correct","Not Correct")

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

    Re: combine an if and or forumla for text values

    I don't have the knowledge to answer that Stormseed though I suspect the memory issues associated with an inline array constant are not the same as those associated with array formulae.

  4. #4
    Forum Contributor
    Join Date
    06-03-2008
    MS-Off Ver
    Excel 2007 (also have access to Excel 2000/2003)
    Posts
    368

    Re: combine an if and or forumla for text values

    Thank you both for your solutions, they both worked great.

+ 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