Hi all,
Looking for some help with the following, please:
I have a set of accounts in Excel where certain account codes are grouped (using SUMIFS) in various departments, and I need to be able to check whether all account codes in a Trial Balance have been mapped to the appropriate groupings in the management accounts.
Account codes are all in the format "nnn nnnnn" where n is a 0-9 digit.
The groupings contain wildcards ("?" characters), so for example a grouping may contain the code "123 5??00" (to sum the values for all codes that correspond to that code format). Any combination of wildcard characters can exist in any of the grouping codes.
I need to construct a formula to check, for example, that code "123 51100" is mapped to a grouping. Effectively I want to perform a VLOOKUP of "123 51100" into a range that contains "123 5??00" and return a result of "123 5??00", but obviously this does not work because of the wildcard characters.
Is there any way round this, without having to manually insert all the permutations of the codes containing wildcards into the lookup range?
Any suggestions much appreciated.
Thanks,
KJT
Looking for some help with the following, please:
I have a set of accounts in Excel where certain account codes are grouped (using SUMIFS) in various departments, and I need to be able to check whether all account codes in a Trial Balance have been mapped to the appropriate groupings in the management accounts.
Account codes are all in the format "nnn nnnnn" where n is a 0-9 digit.
The groupings contain wildcards ("?" characters), so for example a grouping may contain the code "123 5??00" (to sum the values for all codes that correspond to that code format). Any combination of wildcard characters can exist in any of the grouping codes.
I need to construct a formula to check, for example, that code "123 51100" is mapped to a grouping. Effectively I want to perform a VLOOKUP of "123 51100" into a range that contains "123 5??00" and return a result of "123 5??00", but obviously this does not work because of the wildcard characters.
Is there any way round this, without having to manually insert all the permutations of the codes containing wildcards into the lookup range?
Any suggestions much appreciated.
Thanks,
KJT