Forum Discussion

JennyHoA20181's avatar
JennyHoA20181
Iron Contributor
Sep 06, 2024
Solved

Looking up value in multiple rows

Hello all!    In the excel attached, I want to know if a value(Contact ID) also appears in other rows, based on the criteria below:   Value = YES in Column J, IF Contact ID where Degree Level = S...
  • HansVogelaar's avatar
    Sep 06, 2024

    JennyHoA20181 

    With over 30,00 rows of data, the number of calculations to be performed is humongous, so I had to use a helper column. Without it, my fast PC completely bogged down.

    In K2:

    =AND(E2<>"Summer", OR(D2={"Student","Enrolled"}))

    Fill down.

    In J2:

    =IF(AND(E2="Summer", D2="Student", COUNTIFS($B$2:$B$31195, B2, K2:K31195, TRUE)), "Yes", "No")

    Fill down.

    Workbook attached.