+ Reply to Thread
Results 1 to 8 of 8

"if" formula problem - checking each cell for an answer

  1. #1
    Registered User
    Join Date
    12-14-2010
    Location
    Romania
    MS-Off Ver
    2007
    Posts
    4

    Exclamation "if" formula problem - checking each cell for an answer

    I'm working with Excel 2007 and now i'm doing a list with some people. In the selected row of these people I need to write ~20 numbers in different cells.
    Now what is the problem? I'm searching a fonction that check each cell and if the in one cell is a number smaller than X it displays NOT PASSED or PASSED if there are not numbers smaller than X..
    Last edited by i4ever; 12-14-2010 at 05:54 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: I need help -

    Welcome to the forum,

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    PLEASE PM WHEN YOU HAVE DONE THIS AND I WILL DELETE THIS POST
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: "if" formula problem - checking each cell for an answer

    Not sure what you mean, but perhaps:

    =IF(A1<$X$1,"Not Passed","Passed")

    or


    =IF(A1<$X$1;"Not Passed";"Passed")

    This checks A1 and compares to X1

    You can copy formula down to check each cell against X1 value.

  4. #4
    Registered User
    Join Date
    12-14-2010
    Location
    Romania
    MS-Off Ver
    2007
    Posts
    4

    Re: "if" formula problem - checking each cell for an answer

    Well, I see that it's hard to understand what I want to say.
    So, I uploaded this image . So, if in there is a cell with a value <5, the formula should return NOT PASSED , but if there are not values <5, in a different cell should return PASSED. ) (The red border show that the row contain a cell with a value <5, so should return NOT PASSED)

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: "if" formula problem - checking each cell for an answer

    Please attach the sample worksheet directly in the forum. Use the paperclip icon in the Reply box to upload. We (I) don't go to outside 3rd party sites for samples.

  6. #6
    Registered User
    Join Date
    12-14-2010
    Location
    Romania
    MS-Off Ver
    2007
    Posts
    4

    Re: "if" formula problem - checking each cell for an answer

    I uploaded an example of sheet in excel.
    So, if in there is a cell with a value <5, the formula should return NOT PASSED , but if there are not values <5, in a every cell should return PASSED. ) (The red border shows that the row contain a cell with a value <5, so should return NOT PASSED at the end of the row)
    Attached Files Attached Files

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: "if" formula problem - checking each cell for an answer

    See attached.

    Formula is:

    =IF(COUNTIF(D1:U1,"<5")>0,"RESPINS","ADMIS")

    when you upload the worksheet, it should translate automatically to your regional settings...
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    12-14-2010
    Location
    Romania
    MS-Off Ver
    2007
    Posts
    4

    Re: "if" formula problem - checking each cell for an answer

    Thank you very much!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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