GregG44149
New Member
- Joined
- May 15, 2020
- Messages
- 3
- Office Version
- 365
- Platform
- Windows
Not sure of the best way to approach this. I have a fairly large spreadsheet that contains information below.
I want to create a function (or maybe a different approach?) that does the following:
1) Will look at column F and find the right Client Code (each client code is 3 digits, separated by semi-colon). Variable in length and number of clients. Client numbers are unique.
2) Then looks at column C and finds the correct state
3) Finally, looks at column E to confirm that expiration date is less than today.
I'm stuck because I can't break out client code in F to individual lines (spreadsheet would quickly become exponentially large with 50 states). Otherwise I would probably approach it using an array function.
Thank you in advance!
Greg
I want to create a function (or maybe a different approach?) that does the following:
1) Will look at column F and find the right Client Code (each client code is 3 digits, separated by semi-colon). Variable in length and number of clients. Client numbers are unique.
2) Then looks at column C and finds the correct state
3) Finally, looks at column E to confirm that expiration date is less than today.
I'm stuck because I can't break out client code in F to individual lines (spreadsheet would quickly become exponentially large with 50 states). Otherwise I would probably approach it using an array function.
A | B | C | D | E | F |
AGENT CODE | NAME1 | LIC STATE | LIC DATE | LIC EXP DATE | CLIENT |
HNBL | BROKER1 | LA | 12/17/2013 | 03/31/2024 | AAA;BBB; |
HNBL | BROKER1 | OH | 01/01/2022 | 12/31/2024 | AAA;BBB; |
HNBL | BROKER1 | TX | 04/01/2022 | 12/31/2027 | AAA;BBB; |
KENR | BROKER2 | GA | 03/17/2020 | 12/31/2024 | CCC; |
JNGX | BROKER3 | AL | 07/09/2015 | 07/31/2019 | FFF;ZZZ;UUU; |
HBBD | BROKER4 | CO | 03/11/2019 | 03/31/2024 | DDD;FFF;LLL;MMM; |
Thank you in advance!
Greg