+ Reply to Thread
Results 1 to 7 of 7

IF Function between blank cell

  1. #1
    Registered User
    Join Date
    10-10-2012
    Location
    balikpapan
    MS-Off Ver
    Excel 2016
    Posts
    15

    Question IF Function between blank cell

    i have excel worksheet like this

    HTML Code: 

    i want to fill cell D3, D6, D9 automatically by a formula with condition if one lesson
    is fail then it's fail, but if both lesson is success then it's success

    example on cell D3 (blank cell on row for student name "Bob") should be fail (his math is fail),
    same with cell D9 (blank cell on row for student name "jake", due to his biology is fail), but on cell D6 (blank cell on row for student name "jane") should be success
    Last edited by abduldedysubhansyah; 12-13-2013 at 04:32 AM.

  2. #2
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: IF Function between blank cell

    =IF(B1<>"","",IF(COUNTIFS($A$1:$A$9,A1,$C$1:$C$9,"fail")>0,"fail","success"))
    If you are http://www.excelforum.com/image.php?type=sigpic&userid=125481&dateline=1392355029happy with the results, please add to the contributor's
    reputation by clicking the reputation icon (star icon).




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.
    To undo, select Thread Tools-> Mark thread as Unsolved.
    http://www.excelaris.co.uk

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

    Re: IF Function between blank cell

    Another way.....

    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.

  4. #4
    Registered User
    Join Date
    10-10-2012
    Location
    balikpapan
    MS-Off Ver
    Excel 2016
    Posts
    15

    Re: IF Function between blank cell

    Quote Originally Posted by RobertMika View Post
    =IF(B1<>"","",IF(COUNTIFS($A$1:$A$9,A1,$C$1:$C$9,"fail")>0,"fail","success"))
    Quote Originally Posted by sktneer View Post
    Another way.....

    Please Login or Register  to view this content.
    i use the first method, but the second way also working as well,
    this is just exactly what i need, a huge thanks for all

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

    Re: IF Function between blank cell

    Glad to help you.
    Meanwhile you may click on * (star) to Add Reputation for those why have put their time and efforts to help you in this forum and mark your thread as solved.

  6. #6
    Registered User
    Join Date
    10-10-2012
    Location
    balikpapan
    MS-Off Ver
    Excel 2016
    Posts
    15

    Re: IF Function between blank cell

    done for both of you.....thanks...

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

    Re: IF Function between blank cell

    Thanks for the feedback and the Rep.

+ 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: 2
    Last Post: 09-10-2012, 04:16 AM
  2. How to Insert Blank row and function into blank cell
    By Mrs_T in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-18-2012, 06:14 PM
  3. Function On/Off Switch for Blank/Non-Blank Cell
    By martinolooney in forum Excel General
    Replies: 2
    Last Post: 11-02-2011, 07:18 AM
  4. Cell is blank but ISBLANK function says its not blank
    By welchs101 in forum Excel General
    Replies: 12
    Last Post: 06-30-2011, 05:31 PM
  5. IF function does not return blank in function cell
    By superdow in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-02-2009, 05:11 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