+ Reply to Thread
Results 1 to 9 of 9

IF Formula, read multiple columns and check for result and return name in other column.

  1. #1
    Registered User
    Join Date
    02-01-2014
    Location
    United States
    MS-Off Ver
    365
    Posts
    13

    IF Formula, read multiple columns and check for result and return name in other column.

    Hi guys, I have a workbook that has a table built into it. I use it to track students who take a test. I need to come up with a formula that will look at the students results in the column and then look at the second result, then the third result, and finally return the students name who has not passed the test.

    excel.gif

    this is a simple rendition of my sheet but I am need to use an array in the formula. something like below...

    =IF('FY22 Student Tests'!I:I,"FAIL",'FY22 Student Tests'!P:P,"FAIL",OR "';'FY22 Student Tests'!Y:Y,"FAIL"OR"";'FY22 Student Tests'!B:B)

    In this horrible formula, column I holds the first test result, P holds the second test result, Y holds the third result and B holds the student name. What I am really interested in finding here is the names of students who have failed and do not have a passed test.

    Any help here would be greatly appreciated.
    Attached Files Attached Files
    Last edited by chicknwing; 08-26-2021 at 11:07 AM.

  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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,428

    Re: IF Formula, read multiple columns and check for result and return name in other column

    There are instructions at the top of the page explaining how to attach your sample workbook.
    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
    02-01-2014
    Location
    United States
    MS-Off Ver
    365
    Posts
    13

    Re: IF Formula, read multiple columns and check for result and return name in other column

    fixed and sample uploaded
    Last edited by AliGW; 08-26-2021 at 11:10 AM. Reason: PLEASE don't quote unnecessarily!

  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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,428

    Re: IF Formula, read multiple columns and check for result and return name in other column

    Thanks. And are you still using Excel 2010?

  5. #5
    Registered User
    Join Date
    02-01-2014
    Location
    United States
    MS-Off Ver
    365
    Posts
    13

    Re: IF Formula, read multiple columns and check for result and return name in other column

    updated as well

  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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,428

    Re: IF Formula, read multiple columns and check for result and return name in other column

    That's good news!

  7. #7
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,428

    Re: IF Formula, read multiple columns and check for result and return name in other column

    In AA2 copied down:

    =IF(B2="","",IF(OR(I2="Pass",P2="Pass",Y2="Pass"),"",B2))

  8. #8
    Registered User
    Join Date
    02-01-2014
    Location
    United States
    MS-Off Ver
    365
    Posts
    13

    Re: IF Formula, read multiple columns and check for result and return name in other column

    Thank You! Not exactly what I was looking for but it serves the purpose.

  9. #9
    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. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,428

    Re: IF Formula, read multiple columns and check for result and return name in other column

    Well, if you clarify what you need, I’m sure we can sort it out.

+ 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: 3
    Last Post: 03-24-2020, 07:27 AM
  2. Replies: 3
    Last Post: 01-10-2019, 09:34 AM
  3. Replies: 5
    Last Post: 02-16-2018, 06:50 AM
  4. Replies: 8
    Last Post: 09-22-2017, 05:41 AM
  5. Excel formula bar to display the result of the formula , not the formula?
    By max_max in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2016, 07:15 PM
  6. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  7. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04: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