toussaint31
New Member
- Joined
- Jul 29, 2024
- Messages
- 2
- Office Version
- 365
- Platform
- Windows
Hi - I wanted to see what the best method is to find a value in a pipe-delimited string in one cell that matches a value from a list and extract that value. Example:
Desired Result:
Note - the actual Desired Values list is a couple thousand values. There will be exactly one value in each pipe delimited cell that matches a value in the Desired Value list.
Thank you for your help!
Metric | Pipe Delimited Values |
3 | 112356|229531|229327|229533|229532 |
5 | 556136|546778|558302|521840|518638|525922|523660|549684|550052|519098|524200 |
5 | 525864|525928|556136|521574|522726|525866|525930|530730|536938|525922|525924|518634|524074|525894|521544|523030|518736|520478|543442 |
Desired Values |
223559 |
525928 |
550052 |
229531 |
Desired Result:
Metric | Desired Value Extracted from Pipe Delimited Strings | Pipe Delimited Values |
3 | 229531 | 112356|229531|229327|229533|229532 |
5 | 550052 | 556136|546778|558302|521840|518638|525922|523660|549684|550052|519098|524200 |
5 | 525928 | 525864|525928|556136|521574|522726|525866|525930|530730|536938|525922|525924|518634|524074|525894|521544|523030|518736|520478|543442 |
Note - the actual Desired Values list is a couple thousand values. There will be exactly one value in each pipe delimited cell that matches a value in the Desired Value list.
Thank you for your help!
Last edited by a moderator: