+ Reply to Thread
Results 1 to 5 of 5

IF Formula Issue

  1. #1
    Registered User
    Join Date
    06-11-2014
    Posts
    2

    IF Formula Issue

    Hi,

    I am trying to write a formula where the cell will show as either Complete or Incomplete.

    I want it to look into a number of cells on the same row (I4,J4,K4,L4,M4). If any of those cells contain Pending then it will show as Incomplete. If none of the cells contain Pending it well show as Complete.

    Is this possible? I tried =IF(I4="Pending","Pending","Complete") which does it for one cell but how can I get it to look in the other cells to see if they contain pending. I also tried =IF(I4:M4="Pending","Pending","Complete") but get a value error?

    Any help appreciated,

    Lee

  2. #2
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: IF Formula Issue

    Hi,

    Please try the following

    =IF(OR(I4="Pending",J4="Pending",K4="Pending",L4="Pending",M4="Pending"),"Pending","Complete")

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: IF Formula Issue

    =IF(COUNTIF(I4:M4,"pending"),"incomplete","complete")
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,655

    Re: IF Formula Issue

    Another.....

    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  5. #5
    Registered User
    Join Date
    06-11-2014
    Posts
    2

    Re: IF Formula Issue

    Thank you so much all for your replies. Its working now. Really appreciated!

+ 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. Lookup Formula Issue, Search issue
    By kperitz in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 04-07-2014, 01:50 PM
  2. if (or....and....formula issue
    By step_one in forum Excel General
    Replies: 8
    Last Post: 12-18-2011, 03:37 AM
  3. Formula Issue
    By CooperGuy in forum Excel General
    Replies: 1
    Last Post: 01-28-2011, 01:35 PM
  4. if formula issue
    By AlienBeans in forum Excel General
    Replies: 3
    Last Post: 02-03-2008, 11:16 AM
  5. [SOLVED] An issue regarding the formula
    By HuaMin in forum Excel General
    Replies: 0
    Last Post: 12-07-2005, 08:35 AM

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