+ Reply to Thread
Results 1 to 8 of 8

If formula - which can resolve and look for text in 2 columns?

  1. #1
    Registered User
    Join Date
    07-05-2020
    Location
    London, UK
    MS-Off Ver
    365
    Posts
    21

    If formula - which can resolve and look for text in 2 columns?

    Hi Guys,

    Newbie here, i wondered if anyone knows of an IF and formula which can look into two different columns and search for the word "clear"in both columns. If both clear then return "pass", if not then return "fail".
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: If formula - which can resolve and look for text in 2 columns?

    @Dark_Knight_897

    Welcome to the excel forum.

    C7=IF(AND($A7="clear",$B7="clear"),"pass","fail") and drag down.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: If formula - which can resolve and look for text in 2 columns?

    Another method (there are many ways of doing this)

    =IF(COUNTIF(A7:B7,"clear")=2,"Pass","Fail")

    BSB

  4. #4
    Forum Contributor
    Join Date
    04-19-2015
    Location
    pakistan
    MS-Off Ver
    2013
    Posts
    335

    Re: If formula - which can resolve and look for text in 2 columns?

    Hi try>> =IF(AND(A7:B7="Clear"),"pass","Fail") confirm With CTRL+SHIFT+ENTER

    Gondal

  5. #5
    Registered User
    Join Date
    07-05-2020
    Location
    London, UK
    MS-Off Ver
    365
    Posts
    21

    Re: If formula - which can resolve and look for text in 2 columns?

    Hi guys,

    Thankyou so much. I tried the first one, and its worked. Appreciate your help.

    Im no good with these excel functions.

    How did you guys get so good btw?

    Thanks

    DK.

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: If formula - which can resolve and look for text in 2 columns?

    Glad I could help.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  7. #7
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: If formula - which can resolve and look for text in 2 columns?

    Quote Originally Posted by Dark_Knight_897 View Post
    How did you guys get so good btw?
    Practice, practice, practice... And nececisty as spreadsheets and databases are my job.

    BSB

  8. #8
    Registered User
    Join Date
    07-05-2020
    Location
    London, UK
    MS-Off Ver
    365
    Posts
    21

    Re: If formula - which can resolve and look for text in 2 columns?

    Thanks. I get it. I do find it so difficult to work with formulas, they dont come naturally to me, and i dont use excel enough. I will need to practice. Any recommended places/forms/e-templates I can download which will help me improve with my Excel formula basics?

+ 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. How to resolve CONCATENATE formula function?
    By milvol in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 07-05-2021, 02:33 AM
  2. can't resolve formula keeps coming up with #Name?
    By allyq in forum Excel General
    Replies: 4
    Last Post: 07-02-2018, 11:50 AM
  3. [SOLVED] Multiple condition , need to resolve by if formula
    By nur2544 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-04-2018, 09:48 PM
  4. help on code vba to resolve issue on unexporting particular columns value
    By julielara in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-11-2016, 09:22 AM
  5. [SOLVED] How to resolve array formula in VBA
    By jprealini in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 07-24-2014, 10:27 AM
  6. [SOLVED] resolve:formula problem
    By Andrew in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2005, 07:06 PM

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