+ Reply to Thread
Results 1 to 7 of 7

Named Range Using Table References

  1. #1
    Forum Contributor
    Join Date
    11-14-2007
    Posts
    111

    Named Range Using Table References

    Hello

    I am trying to create a reusable calculation for loan payments to try to shorten the length of the formula and bring a little clarity to what is happening in the calculation.

    i have this formula nested in the remaining formula and would like to place it as a named range ("variable_interest_payment") but i have no idea how or what combo of quotes or apostrophe is needed.

    Please Login or Register  to view this content.
    I have two of these formulas nested in the main calculation in order to calculate the payment for either a fixed or variable interest. I want to shorten the formula in the way mentioned to more easily handle some deferment calculations to be added to the workbook.

    Thanks

    Adam

  2. #2
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: Named Range Using Table References

    Hi there,

    I may be wrong, but I don't think Table notation ([@[Field Name]]) can be used outside a Table, so it probably can't be incorporated into a defined name formula.

    Regards,

    Greg M

  3. #3
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Named Range Using Table References

    Quote Originally Posted by Greg M View Post
    but I don't think Table notation ([@[Field Name]]) can be used outside a Table
    It can if you qualify it with the table name, not sure about named ranges though.

    Table1[@[Field Name]]

  4. #4
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: Named Range Using Table References

    Hi again,

    Jason: many thanks for that useful information. I very seldom use Tables, so I'm not up-to-speed with all of their possibilities

    Ada01: thanks to Jason's post you should be able to define the worksheet-level named range formula "variable_interest_payment" as:

    Please Login or Register  to view this content.
    I've assumed that the worksheet is named "Sheet1" and that the Table involved is called "Table1" - otherwise change those values as appropriate.

    If it were me, I'd use the Name "forVariableInterestPayment" (for = formula) so that what it refers to is a bit more obvious when looking through the list of defined names in the Name Manager, but that's very much a personal preference.


    Hope this helps - please let me know how you get on.

    Regards,

    Greg M

  5. #5
    Forum Contributor
    Join Date
    11-14-2007
    Posts
    111

    Re: Named Range Using Table References

    @Greg M

    Hello,

    I was hopeful that it could be used in the same way that
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    can work inside of a Data Validation List

    Thanks for your insights

  6. #6
    Forum Contributor
    Join Date
    11-14-2007
    Posts
    111

    Re: Named Range Using Table References

    @Greg M (Again)

    It seems to be working. The "Sheet1" was not needed as the references there are fixed single cell ranges. I have been able to adapt this quite nicely throughout my workbook and the end client will be very pleased with the results! I am even finding the formula to pass through OK to the UserForm I am developing,.

    Thanks for your insights and this currently quite successful solutions. I love when they are easy, but the obviousness of the solution is so obvious you just want to hide under a blanket from embarrassment.

    Thanks Again

    Adam

  7. #7
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: Named Range Using Table References

    Hi again Adam,

    Many thanks for your feedback - glad to hear that the proposed solution seems to be working for you.


    The "Sheet1" was not needed as the references there are fixed single cell ranges.

    I had assumed that the "payments_per_year" and "total_loan_pmts" named ranges had been defined at worksheet level rather than at workbook level. In such a case (worksheet level) it wouldn't have been necessary to include the "Sheet1!" prefixes when DEFINING the named range formula, but if you looked in Name Manager afterwards you would see that the prefixes had been added automatically.

    If the named ranges are defined at workbook level, the name of the workbook will be added automatically as a prefix wherever appropriate within the named range formula.

    You're very welcome - delighted to have been able to help out.

    Regards,

    Greg M

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Selecting range using named range header references
    By Julesdude in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-22-2018, 11:01 AM
  2. Cant delete table from named range
    By esahakos in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-15-2016, 03:32 AM
  3. Relative references to named range
    By Pete in forum Excel General
    Replies: 6
    Last Post: 12-09-2013, 06:25 PM
  4. Array formulas referencing a named range or named table
    By anrichards22 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-03-2013, 11:59 PM
  5. [SOLVED] Copy/paste named range and redefine references to new workbook
    By mhoude in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-06-2012, 03:11 PM
  6. Replies: 2
    Last Post: 07-26-2012, 09:48 PM
  7. [SOLVED] Named Range References
    By [email protected] in forum Excel General
    Replies: 1
    Last Post: 09-20-2005, 01:05 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1