Hi,
I have the following command
which works fine and returns results as expected.
I know need to introduce exceptions to the final VLOOKUP, for example if the result was a match on "TEST" then "XXX" is returned, I will need to make approx 12 exceptions maybe more as time goes on.
Is it possible to create the command as VBA and easily set up and increase the exceptions as time goes by or do I have to continue expanding the original code?
Thanks
I have the following command
Code:
=IF(VLOOKUP(C348,'Trust Acc'!$A$2:$B$20,2,FALSE)<>0,VLOOKUP(C348,'Trust Acc'!$A$2:$B$20,2,FALSE),VLOOKUP(B348,Database!$A$672:$F$400670,6,FALSE))
which works fine and returns results as expected.
I know need to introduce exceptions to the final VLOOKUP, for example if the result was a match on "TEST" then "XXX" is returned, I will need to make approx 12 exceptions maybe more as time goes on.
Is it possible to create the command as VBA and easily set up and increase the exceptions as time goes by or do I have to continue expanding the original code?
Thanks