+ Reply to Thread
Results 1 to 4 of 4

Problems with slope indirect address

  1. #1
    Registered User
    Join Date
    07-28-2016
    Location
    New York, NY
    MS-Off Ver
    2013
    Posts
    3

    Problems with slope indirect address

    I'm running into an issue with using slope indirect when referencing addresses:

    This formula works fine:

    =SLOPE(INDIRECT(E39&":"&F39),INDIRECT(E40&":"&F40))

    where:
    E39 = '[Credit Tranche Analysis.xlsm]HY'!$C$1004
    F39 = $C:$1004
    E40 = '[Credit Tranche Analysis.xlsm]HY'!$I$1004
    F40 = $I$1256

    However when I substitute in the formulas for the respective cell values, E39, F39, E40 and F40, I end up with an N/A error. Specifically, substituting in F39 and F40 cause the formula to break.

    Formulas in those cells are:
    E39 = CELL("address",OFFSET(INDEX(HY!$A$3:$AQ$1400,MATCH(Sheet6!$B$2,HY!$A$3:$A$1400,0),MATCH(Sheet6!$B4,HY!$A$3:$AQ$3,0)),-252,0))
    F39 = ADDRESS(ROW(INDEX(HY!$A$3:$AQ$1400,MATCH(Sheet6!$B$2,HY!$A$3:$A$1400,0),MATCH(Sheet6!$B4,HY!$A$3:$AQ$3,0))),COLUMN(INDEX(HY!$A$3:$AQ$1400,MATCH(Sheet6!$B$2,HY!$A$3:$A$1400,0),MATCH(Sheet6!$B4,HY!$A$3:$AQ$3,0))))

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,632

    Re: Problems with slope indirect address

    Quote Originally Posted by jaschen27 View Post
    E39 = '[Credit Tranche Analysis.xlsm]HY'!$C$1004
    F39 = $C:$1004
    E40 = '[Credit Tranche Analysis.xlsm]HY'!$I$1004
    F40 = $I$1256
    Sounds, you try to find slope for different length X and Y ranges:
    '[Credit Tranche Analysis.xlsm]HY'!$C$1004:$C$1004 (1 row)
    vs '[Credit Tranche Analysis.xlsm]HY'!$I$1004:$I$1256 (253 rows).
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    07-28-2016
    Location
    New York, NY
    MS-Off Ver
    2013
    Posts
    3

    Re: Problems with slope indirect address

    Sorry, that was a typo in the initial post:

    F39 = $C:$1256

    The problem still stands when using this slope indirect address function, that substituting the address function directly into the formula causes #N/A

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,632

    Re: Problems with slope indirect address

    it's probably typo again. shall be: $C$1256

    Anyway, probably easiest way to check what happens is by examining sample file.

    So if you could attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

+ 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. Make part of address indirect and keep rest of address relative?
    By OldManExcellor in forum Excel General
    Replies: 1
    Last Post: 01-29-2016, 06:07 AM
  2. #N/A Error with SLOPE & INDIRECT
    By chubby127 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-06-2015, 09:31 AM
  3. Using indirect in the slope function
    By Mountainman141 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-18-2014, 04:03 PM
  4. [SOLVED] Using Slope with Indirect. #Value error.
    By Jhail83 in forum Excel General
    Replies: 9
    Last Post: 07-02-2014, 03:13 PM
  5. Using INDIRECT within SLOPE
    By fred3 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-17-2014, 06:18 PM
  6. Slope problems
    By pelikaan in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-11-2013, 12:14 PM
  7. [SOLVED] Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions
    By Mike Barlow in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM

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