Hi,
I have created a number of custom functions in Excel, see example below:
=BarclaycardPlanA(Value,Transaction)
The Barclaycard element of the function may change as we have 3 suppliers, ad the PlanA element may change because there is up to 3 plans (PlanA, PlanB and PlanC). Each function I have created is essential SupplierPlan(Value, Transaction).
In my spreadsheet, I have:
C18 = Supplier
C19 = Plan
D22 = CONCATENATE of C18 and C19
What I am trying to do is call the relevant function dependant on what is in C18 and C19. So far in D23 I have got:
=INDIRECT(D22&"("&"Value"&","&"Transaction"&")")
But this returns a #REF ! error. I've searched a bit on the web, but cannot seem to work out what the formula in D23 should be.
Any ideas?
Thanks in advance!
I have created a number of custom functions in Excel, see example below:
=BarclaycardPlanA(Value,Transaction)
The Barclaycard element of the function may change as we have 3 suppliers, ad the PlanA element may change because there is up to 3 plans (PlanA, PlanB and PlanC). Each function I have created is essential SupplierPlan(Value, Transaction).
In my spreadsheet, I have:
C18 = Supplier
C19 = Plan
D22 = CONCATENATE of C18 and C19
What I am trying to do is call the relevant function dependant on what is in C18 and C19. So far in D23 I have got:
=INDIRECT(D22&"("&"Value"&","&"Transaction"&")")
But this returns a #REF ! error. I've searched a bit on the web, but cannot seem to work out what the formula in D23 should be.
Any ideas?
Thanks in advance!