MikeMcCollister
Board Regular
- Joined
- May 6, 2020
- Messages
- 71
- Office Version
- 365
- Platform
- Windows
I have some user defined functions (UDFs) that I want to add some range dependencies to. This is so that I don’t have to make them volatile any more and will make calculations faster.
The current UDFs have either one or two arguments as shown here:
By adding the dependent range, in this case the table named “MainChecking”, should I make the dependent range the first or last argument of the UDFs?
Dependent range as first parameter:
Dependent range as last parameter:
Basically, are there any logical arguments on which one to pick or is this just a big/little endian argument?
Thanks,
Mike
The current UDFs have either one or two arguments as shown here:
Excel Formula:
=BudgetLineItemTotal(B24)
=NthItemInMonthCredit(A6, B6)
By adding the dependent range, in this case the table named “MainChecking”, should I make the dependent range the first or last argument of the UDFs?
Dependent range as first parameter:
Excel Formula:
=BudgetLineItemTotal(MainChecking, B24)
=NthItemInMonthCredit(MainChecking, A6, B6)
Dependent range as last parameter:
Excel Formula:
=BudgetLineItemTotal(B24, MainChecking)
=NthItemInMonthCredit(A6, B6, MainChecking)
Basically, are there any logical arguments on which one to pick or is this just a big/little endian argument?
Thanks,
Mike