NewbieExcel123
New Member
- Joined
- Jul 30, 2024
- Messages
- 10
- Office Version
- 365
- Platform
- Windows
Hi all,
This is most likely an easy fix, I wanted to use wildcards to find the word "Pass" which covers criteria "Pass" and "Pass (Advisory)", however I've discovered you can't use Wildcards with IFs?
I'm also thinking it may be easier to just add a 2nd criteria to the formula to capture "Pass (Advisory)" as well as "Pass", but I'm unsure how to do this?
I have this formula
=LET(f,FILTER($P$5:$P$100,$O$5:$O$100="AO"),s,SEQUENCE(ROWS(f)),fr,FREQUENCY(IF(f="Pass",s),IF(f="Fail",s)),SUM(--(fr>=5)))*0.5
It counts how many times Pass appears in sequence against an AO or EO criteria before the word Fail appears
Thank you
This is most likely an easy fix, I wanted to use wildcards to find the word "Pass" which covers criteria "Pass" and "Pass (Advisory)", however I've discovered you can't use Wildcards with IFs?
I'm also thinking it may be easier to just add a 2nd criteria to the formula to capture "Pass (Advisory)" as well as "Pass", but I'm unsure how to do this?
I have this formula
=LET(f,FILTER($P$5:$P$100,$O$5:$O$100="AO"),s,SEQUENCE(ROWS(f)),fr,FREQUENCY(IF(f="Pass",s),IF(f="Fail",s)),SUM(--(fr>=5)))*0.5
It counts how many times Pass appears in sequence against an AO or EO criteria before the word Fail appears
Column P | Column O |
AO | Pass |
AO | Pass |
AO | Pass |
EO | Pass |
EO | Fail |
EO | Pass |
EO | Pass (Advisory) |
EO | Pass |
AO | Pass |
AO | Pass (Advisory) |
Thank you