+ Reply to Thread
Results 1 to 15 of 15

Doubt in the formula "SE"

  1. #1
    Registered User
    Join Date
    11-06-2017
    Location
    Portugal
    MS-Off Ver
    2010
    Posts
    13

    Lightbulb Doubt in the formula "SE"

    Hello,

    I have a question for a result.
    I have a 4 cell column where values from 1 to 5 are displayed.
    If the value in this column is equal to or above 3 the student is Approved, if less than 3 the student fails. But if this column (of 4 cells) has at least a 5 and a value equal to or higher than 3 the student is Approved.
    How do I make the formula?

    Thanks

    Luís

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,239

    Re: Doubt in the formula "SE"

    Try this:

    =IF(AND(COUNTIF(A1:A4,5)>=1,COUNTIF(A1:A4,">="&3)>=1),"Approved","Rejected")
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    11-06-2017
    Location
    Portugal
    MS-Off Ver
    2010
    Posts
    13

    Unhappy Re: Doubt in the formula "SE"

    It is not working. Excel gives me error.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,239

    Re: Doubt in the formula "SE"

    What error?

    Attach the workbook here.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

  5. #5
    Registered User
    Join Date
    11-06-2017
    Location
    Portugal
    MS-Off Ver
    2010
    Posts
    13

    Unhappy Re: Doubt in the formula "SE"

    Here it is.
    The column is in yellow and cell of the result have the question mark.

    Thanks
    Attached Files Attached Files

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,239

    Re: Doubt in the formula "SE"

    It works fine, but needs tweaking:

    =IF(AND(COUNTIF(K5:K14;5)>=1;COUNTIF(K5:K14;">="&3)>=1);"Approved";"Rejected")

    You will need to change COUNTIF, IF and AND to the correct names in Portuguese.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    11-06-2017
    Location
    Portugal
    MS-Off Ver
    2010
    Posts
    13

    Re: Doubt in the formula "SE"

    Still not working
    I don t no what is the problem.
    Attached Images Attached Images
    Last edited by Batwarrior; 11-06-2017 at 01:44 PM.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,239

    Re: Doubt in the formula "SE"

    It works in the file I attached.

    The error is in the first COUNTIF:

    =SE(E(CONT.SE(K5:K14;5 ...

  9. #9
    Registered User
    Join Date
    11-06-2017
    Location
    Portugal
    MS-Off Ver
    2010
    Posts
    13

    Re: Doubt in the formula "SE"

    Yes, the problem is solved. That was it. THANK YOU SO MUCH.
    But just one more problem.
    If the student has a 5 and the others all lower than 3 he fails. And in this formula gives me Approved.
    The student is only approved if the minimum has a 5 and a number greater than or equal to 3 (example: 2;2;3;5 = Approved).
    Can you help me? Sorry and thanks for your availability.

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,239

    Re: Doubt in the formula "SE"

    Try this, then:


    =IF(AND(COUNTIF(K5:K14;5)>=1;COUNTIF(K5:K14;">="&3)>=2);"Approved";"Rejected")

  11. #11
    Registered User
    Join Date
    11-06-2017
    Location
    Portugal
    MS-Off Ver
    2010
    Posts
    13

    Re: Doubt in the formula "SE"

    YESSSS!!!!You save my life
    Is WORKING.
    But what is the logic, i don´t understand, sorry. I want understand what you did.:D
    Thanks a lot.

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,239

    Re: Doubt in the formula "SE"

    OK - here goes!

    =IF(AND(COUNTIF(K5:K14;5)>=1;COUNTIF(K5:K14;">="&3)>=2);"Approved";"Rejected")

    Count to see if there is at least one 5 in the range.

    =IF(AND(COUNTIF(K5:K14;5)>=1;COUNTIF(K5:K14;">="&3)>=2);"Approved";"Rejected")

    Count to see if there are at least two values equal to or greater than 3 (which includes the 5).

    =IF(AND(COUNTIF(K5:K14;5)>=1;COUNTIF(K5:K14;">="&3)>=2);"Approved";"Rejected")

    If both of these checks return TRUE, then ...

    =IF(AND(COUNTIF(K5:K14;5)>=1;COUNTIF(K5:K14;">="&3)>=2);"Approved";"Rejected")

    ... show Approved. Otherwise ...

    =IF(AND(COUNTIF(K5:K14;5)>=1;COUNTIF(K5:K14;">="&3)>=2);"Approved";"Rejected")

    ... show Rejected.

  13. #13
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,239

    Re: Doubt in the formula "SE"

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  14. #14
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,239

    Re: Doubt in the formula "SE"

    Did my explanation help?

  15. #15
    Registered User
    Join Date
    11-06-2017
    Location
    Portugal
    MS-Off Ver
    2010
    Posts
    13

    Re: Doubt in the formula "SE"

    yes, your explanation was very clear.
    THANKS!!!

+ 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. Replies: 5
    Last Post: 02-05-2019, 12:03 AM
  2. Replies: 4
    Last Post: 06-11-2017, 02:03 PM
  3. [SOLVED] Column X-Ref list - Sheet1 Col A "pages", Col B:FL "Req" to Sheet2 ColA "req", ColB "page"
    By excel-card-pulled in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-07-2017, 09:30 AM
  4. [SOLVED] Doubt with Array formula - Can it be preceeded by an "IF"?
    By alchavar in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-09-2015, 10:59 AM
  5. [SOLVED] Formula needed to display "Pass" or "Fail" if a column contains any values other than "yes
    By andreindy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-26-2013, 05:49 PM
  6. Replies: 5
    Last Post: 10-12-2010, 06:46 AM
  7. If changed array formula reduce ""\""\""\ - signs to #Missing, will it make ...
    By Maria J-son in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2006, 08:25 AM

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