+ Reply to Thread
Results 1 to 5 of 5

Offset function with nested linked cells

  1. #1
    Registered User
    Join Date
    02-05-2019
    Location
    Perth, Australia
    MS-Off Ver
    MS Office 365 ProPlus
    Posts
    2

    Offset function with nested linked cells

    Hi all,
    Sorry if the title is misleading. However I need to resolve a function in my worksheets to make use of the table easier.
    I have a set of worksheets that contains the raw project data, then a head worksheet that contains selected summary information.
    In the summary worksheet, I have linked the cells and used the offset function relative to the project number. The project number is directly linked to the project number in the data worksheets.

    The ponly problem is, each time a new row is created for a project that is added, you need to manually insert the reference cell location in each cell offset formula (or use find and replace) related to that project.

    I want those cells to look at the project number in each row, based on that find it in the relative worksheet and then use the offset function to pull in the relative data. It would be also ok to manually insert the Project number rather than linking it as they are sequential.

    Is this even possible? I have attached a sample of the document for reference. Thank you in advance!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: Offset function with nested linked cells

    I have give two options in Summary and Summary(2) sheets. Choose which is more suitable. volatile function OFFSET is avoided.
    In Summary sheet each column has Different Formulas.
    Column E

    =IFERROR(INDEX('001 - 050'!$E$1:$E$20000,AGGREGATE(15,6,ROW('001 - 050'!$D$1:$D$20000)/('001 - 050'!$D$1:$D$20000=$F7),1)+5),"")

    Column F

    =IFERROR(INDEX('001 - 050'!$D:$D,AGGREGATE(15,6,ROW('001 - 050'!$D$1:$D$20000)/(LEFT('001 - 050'!$D$1:$D$20000,3)="P9-"),ROWS($F$7:$F7))),"")

    Column G & on words

    =IFERROR(INDEX('001 - 050'!$E$1:$E$20000,AGGREGATE(15,6,ROW('001 - 050'!$D$1:$D$20000)/('001 - 050'!$D$1:$D$20000=$F7),1)+2),"")

    IN Summary(2) sheet a Helper column D and Helper row 5 is used
    In D7 then copied down

    =IFERROR(AGGREGATE(15,6,ROW('001 - 050'!$D$1:$D$20000)/(LEFT('001 - 050'!$D$1:$D$20000,3)="P9-"),ROWS($F$7:$F7)),"")

    In E7 and copied to all columns except column E

    =INDEX('001 - 050'!$D:$E,$D7+E$5,2)

    In F7

    =INDEX('001 - 050'!$D:$E,$D7+F$5,1)
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  3. #3
    Registered User
    Join Date
    02-05-2019
    Location
    Perth, Australia
    MS-Off Ver
    MS Office 365 ProPlus
    Posts
    2

    Re: Offset function with nested linked cells

    Hi kvsrinivasamurthy.
    Your formulas have blown me away. I went with the "helper" example because it seemed much simpler but they were helpful. I don't understand why offset is volatile, but that's ok I wasn't really attached to that function!
    Thank you again for your quick and useful help. Much appreciated.

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Offset function with nested linked cells


  5. #5
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: Offset function with nested linked cells

    Thanks for feed back and reputation.
    One suggestion. Try to interchange E and F columns.

+ 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. Nested IF with Offset and Aggregate function together
    By cnak in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-12-2018, 02:18 PM
  2. Replies: 2
    Last Post: 09-10-2013, 01:19 PM
  3. [SOLVED] Nested Function & Offset Cell ERROR
    By DDM64 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 01-25-2013, 04:23 PM
  4. [SOLVED] Nested Function & Offset Cells Help
    By DDM64 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-24-2013, 04:31 PM
  5. function to replace nested if statements with linked tables
    By javon27 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-20-2010, 04:30 PM
  6. Replies: 1
    Last Post: 04-16-2008, 08:45 AM
  7. [SOLVED] Offset function with nested match function not finding host ss.
    By MKunert in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-21-2006, 06:50 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