+ Reply to Thread
Results 1 to 6 of 6

need help for use of nested INDIRECT function

  1. #1
    Registered User
    Join Date
    04-26-2018
    Location
    Denver, Colorado
    MS-Off Ver
    2016
    Posts
    3

    need help for use of nested INDIRECT function

    I've been working on this multi-sheet, extra-credit homework assignment for a University Excel course and the first problem requires the creation of a complex retrieval function that contains a nested INDIRECT function.

    I have created a function that achieves the end result, but I can't figure out how to utilize the INDIRECT function, I get errors every time I do.

    Here's the complex retrieval function I created:
    =IF(INDEX(IssueList,Reason,MATCH(Dept,Deps,0)+1)<>0,INDEX(IssueList,Reason,MATCH(Dept,Deps,0)+1),"")

    And here is the assignment instruction:
    In Issue column, enter a retrieval function that returns the issue from the table in the IssueList worksheet. Use an INDEX function that will use a nested INDIRECT reference to the Dept named range listed in column C, and use the Reason field in column B as the row number to return the department name in the referenced named range. Nest the function inside an IF function so that issues currently displaying as a 0 will display as a blank cell. Resize the column width as needed.

    Any help will be much appreciated!
    Last edited by fmfred; 04-26-2018 at 09:30 AM. Reason: Typo

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,751

    Re: need help for use of nested INDIRECT function

    We do not do your homework for you. If you have made progress and have a specific question about an Excel feature that is giving you trouble, we are happy to help. But please do not post your assignment and ask us to complete it for you.

    If you provide your file, we might be able to give you some pointers as to what direction to go, or get you over a sticking point. But you'll need to ask a more specific question. It's impossible to understand your formula or the assignment without seeing how the file is set up. The paper clip icon does not work for attachments. Instead, under the text box where you type your reply click the Go Advanced button. On the next screen scroll down and click on Manage Attachments, which will show a pop-up window to Select and Upload a file. Then close the window.

    (Also, IMHO this is a terrible assignment. Using nested INDIRECT is not particularly friendly with how the human brain works. I am a software developer and nested indirection in any context confuses even the best of us.)
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    04-26-2018
    Location
    Denver, Colorado
    MS-Off Ver
    2016
    Posts
    3

    Re: need help for use of nested INDIRECT function

    I figured it out. =IF(INDEX(INDIRECT(Dept),Reason)<>0,INDEX(INDIRECT(Dept),Reason),"")

    Thanks for the tips, I didn't know we could upload our spreadsheets for inspection.

    I agree with you that this assignment is terrible, but I think that was the assignment creator's intent -- it's an extra credit assignment. There were a couple hundred steps and this was the only one I was hung up on.
    Last edited by fmfred; 04-27-2018 at 09:06 AM. Reason: spelling typo

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,751

    Re: need help for use of nested INDIRECT function

    Interesting. That is not what I would call "nested INDIRECT". I would probably have designed this using a named formula instead of using INDIRECT, although I don't know what the name Dept refers to.

    Good luck with your class!

  5. #5
    Registered User
    Join Date
    04-26-2018
    Location
    Denver, Colorado
    MS-Off Ver
    2016
    Posts
    3

    Re: need help for use of nested INDIRECT function

    Thank you, and I hope it's considered "nested". In this case our text book would consider this nested since the INDIRECT is nested inside of =IF( and =(INDEX

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,751

    Re: need help for use of nested INDIRECT function

    I am sure that what you did is correct, I am not doubting that. Usually "nested" means "one inside another of the same type" like

    =INDIRECT("B" & B1 & ":C" & INDIRECT(A1))

    I would not have used the same wording as your instructor, but it's debatable.

+ 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] Nested INDIRECT in INDEX/MATCH function
    By xtort81 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-24-2014, 03:08 PM
  2. INDEX function with nested INDIRECT reference
    By jharris63 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-13-2013, 11:26 AM
  3. Nested lists (INDIRECT FUNCTION)
    By ibabs in forum Excel General
    Replies: 7
    Last Post: 09-05-2011, 10:52 PM
  4. [SOLVED] nested Indirect to other WS
    By Biff in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 09-06-2005, 02:05 PM
  5. [SOLVED] nested Indirect to other WS
    By Biff in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-06-2005, 04:05 AM
  6. [SOLVED] nested Indirect to other WS
    By LyleF in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  7. [SOLVED] nested Indirect to other WS
    By LyleF in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  8. Using VLOOKUP with a nested INDIRECT function
    By nsinha76 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-21-2005, 05:15 PM

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