+ Reply to Thread
Results 1 to 5 of 5

Adding Indirect with ROW , Index formulas

  1. #1
    Registered User
    Join Date
    09-05-2014
    Location
    Australia
    MS-Off Ver
    2010 v.14
    Posts
    13

    Adding Indirect with ROW , Index formulas

    Hi,

    I had this formula which worked fine, but then I needed to add indirect in to reference a sheet:
    =INDEX('Project A'!A:A,SMALL(IF('Project A'!A:A='Executive Summary'!Z6,ROW('Project A'!A:A)),ROW(1:1))+1,1)


    Everything works until I added the indirect after the first ROW word, can you please assist as I think I just have it around the wrong way but have tried a couple of things.
    All I wanted was the formula to look up a word in column a and retrieve the next word in the following cell and looking it up in using a sheet reference.

    =INDEX(INDIRECT("'"&A8&"'!A:A"),SMALL(IF(INDIRECT("'"&A8&"'!A:A")='Executive Summary'!$Z$6,ROW(INDIRECT("'"&A:A&"'!A:A")),ROW(1:1))+1,1))

    Thank you

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Adding Indirect with ROW , Index formulas

    Hi,

    These things, particularly where INDIRECT is involved are always easier to answer if we have the workbook to work with. Please upload it.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Adding Indirect with ROW , Index formulas

    This maybe?


    =INDEX(INDIRECT("'"&A8&"'!A:A"),SMALL(IF(INDIRECT("'"&A8&"'!A:A")='Executive Summary'!$Z$6,ROW(INDIRECT("'"&A8&"'!A:A")),ROW(1:1))+1,1))
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    09-05-2014
    Location
    Australia
    MS-Off Ver
    2010 v.14
    Posts
    13

    Re: Adding Indirect with ROW , Index formulas

    Now with attachment
    Attached Files Attached Files

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Adding Indirect with ROW , Index formulas

    Hi,

    It's still not clear (at least to me) what you're expecting to see and where. I can't see the formula you mention and it's not helped since you appear to have changed the sheet name from Executive Summary to Summary.

    Where are you wanting to put the formula and would you manually add examples of the results you expect?

    In addition and since this crops up a lot, can I suggest that you are mixing up the two elements of data capture and final reporting. The two require quite different treatments.

    A lot of people start by designing the form that they expect to see as the final report or which at first glance seems the best way of capturing data, and then wonder why it's so difficult to subsequently analyse and summarise or extract information from it. Yours is a case in point.

    You should always capture data in a simple two dimensional table and worry about reporting information from it afterwards. Without exception doing this you will always be able to easily obtain management information. Rarely is this the case if you start the other way round.
    You will also throw open the whole wonderful world of the powerful Pivot table functionality.

    If it were me I'd create a single sheet database that contains fields for all the types of information you currently record on your project sheets. Then instead of holding a separate sheet for each project you'd have a single Project template sheet which would be fed with data from the database in response to the input of a Project Reference.

    In other words switch your thinking. What you currently call the Summary sheet should be the start of a database in which you record original data.
    Last edited by Richard Buttrey; 04-23-2017 at 07:45 AM.

+ 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. Instead of INDIRECT() need to have INDEX and MATCH
    By Michael9999 in forum Excel Formulas & Functions
    Replies: 30
    Last Post: 03-28-2017, 05:58 AM
  2. Replies: 13
    Last Post: 07-16-2016, 10:53 PM
  3. [SOLVED] Index - match - indirect
    By JAYZE in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-30-2016, 12:09 PM
  4. [SOLVED] index / indirect giving #ref
    By 13lack13lade in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-07-2014, 10:02 PM
  5. Index? Indirect? Match?
    By CpnVenice in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-13-2013, 02:43 PM
  6. index...indirect
    By jw01 in forum Excel General
    Replies: 9
    Last Post: 03-30-2011, 05:16 PM
  7. Indirect vs. Index
    By WJ in forum Excel General
    Replies: 3
    Last Post: 06-10-2005, 06:05 AM

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