greengo204
Technical User
Hi,
Could someone please assist me with the below:
I have two tables
1.) Table A - Which contains data that changes regularly
2.) Mapping Table - Which has a static table that will hold static data used in a lookup formula to allocate segments (groups) to table A
My end goal is have a formula that returns a values if [GL, Entry Contains, Entry Does Not Contain] are found on the same row within there columns. It is possible not to have any matches, purpose is only to return a a value if it matches the criteria.
Only the GL field will be an exact match, while 'Entry Contains' &'Entry Does Not Contain' are free text fields which will need to be searched.
I have been attempting this using VLOOKUP, INDEX, MATCH, SEARCH, WILDCARDS and have been unsuccessful.
Thanks in advance for any help!!
Kyle
Could someone please assist me with the below:
I have two tables
1.) Table A - Which contains data that changes regularly
2.) Mapping Table - Which has a static table that will hold static data used in a lookup formula to allocate segments (groups) to table A
My end goal is have a formula that returns a values if [GL, Entry Contains, Entry Does Not Contain] are found on the same row within there columns. It is possible not to have any matches, purpose is only to return a a value if it matches the criteria.
Only the GL field will be an exact match, while 'Entry Contains' &'Entry Does Not Contain' are free text fields which will need to be searched.
Code:
Mapping Table
Segment | GL |Entry Contains | Entry Does Not Contain
A | 100000 |Transaction |
B | 100001 |Debtors | System
D | 100002 |Payables |
E | 100003 | | Alpha
Table A
GL | Entry | Net
100000| Transaction | 1000
100001| Debtors | 2000
100001| System - Debtors| 3000
100003| | 4000
100003| Alpha | 6000
100000| | 5000
100005| | 7000
Expected
GL | Entry | Net | Segment
100000| Transaction | 1000 | A
100001| Debtors | 2000 | B
100001| System - Debtors| 3000 |
100003| | 4000 | E
100003| Alpha | 6000 |
100000| | 5000 |
100005| | 7000 |
I have been attempting this using VLOOKUP, INDEX, MATCH, SEARCH, WILDCARDS and have been unsuccessful.
Thanks in advance for any help!!
Kyle