+ Reply to Thread
Results 1 to 10 of 10

Array Formula which isn't populating further down the sheet

  1. #1
    Registered User
    Join Date
    05-24-2022
    Location
    London
    MS-Off Ver
    365
    Posts
    4

    Smile Array Formula which isn't populating further down the sheet

    I have attached a copy of what I am working on.

    On the 'Project Stock' Sheet in column C there is the following formula: =IFERROR(INDEX('Do NOT Edit'!$H$2:$H$126, SMALL(IF('Project Stock'!$B$2='Do NOT Edit'!$G$2:$G$126,ROW('Do NOT Edit'!$H$2:$H$126)-1,""), ROW()-1)),"")

    This formula works for the detail given in B2 - However when I change the detail in column B2 it does not populate anything in column C2.

    I have also tried to add additional rows - B40 has a different product but it won't let me change the formula so it won't pull the information through from 'Do NOT Edit'

    Has anyone have any idea how I can amend the formula so that when:
    - B2 is edited it will populate the correct information
    - Use the formula so that it can populate other cell information below B2.

    Hope I have explained that correctly - First time using a forum
    Attached Files Attached Files
    Last edited by Belucky; 05-24-2022 at 05:19 AM.

  2. #2
    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,719

    Re: Array Formula which isn't populating further down the sheet

    Welcome to the forum.

    Get rid of those merged cells for starters - they should be avoided at all costs.

    Next, provide a SMALL sample workbook that shows the problem AND your expected results.
    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.

  3. #3
    Registered User
    Join Date
    05-24-2022
    Location
    London
    MS-Off Ver
    365
    Posts
    4

    Re: Array Formula which isn't populating further down the sheet

    Hi

    I'm not really sure how to make the workbook smaller without making my explanation more confusing than it needs to be - I have attached a smaller workbook which hopefully should suffice.

    My problem is:
    - The formula in Column C works fine until Column A dropdown box is changed and Column C stops working.
    - This is also the same for when you change the Column A Dropdown box for rows past 39 and it doesn't populate column C either.

    I need to know how to I change the formula in C (Which semi works) so that it will always populate no matter what selection is made and for rows that go beyond 39.

    I'll get rid of the merged cells on the original document

    Thanks
    Attached Files Attached Files

  4. #4
    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,719

    Re: Array Formula which isn't populating further down the sheet

    1. There is no drop-down in column A in either workbook attached.
    2. There is no source data in the second workbook.
    3. With formulae like this and missing data, it is not easy at all to help:

    =IFERROR(INDEX('C:\Users\KeeleyBuckley\Desktop\Work\[Stock Control.xlsx]Do NOT Edit'!$H$2:$H$126, SMALL(IF('C:\Users\KeeleyBuckley\Desktop\Work\[Stock Control.xlsx]Project Stock'!$B$2='C:\Users\KeeleyBuckley\Desktop\Work\[Stock Control.xlsx]Do NOT Edit'!$G$2:$G$126,ROW('C:\Users\KeeleyBuckley\Desktop\Work\[Stock Control.xlsx]Do NOT Edit'!$H$2:$H$126)-1,""), ROW()-1)),"")

    Sorry, but you are going to need to take a bit more time to prepare a sample workbook that actually helps us to help you. I still have no idea what I need to be looking for.

  5. #5
    Registered User
    Join Date
    05-24-2022
    Location
    London
    MS-Off Ver
    365
    Posts
    4

    Re: Array Formula which isn't populating further down the sheet

    I have now attached the full spreadsheet as there are too many formulas etc to transfer over into a sample workbook.
    Attached Files Attached Files

  6. #6
    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,719

    Re: Array Formula which isn't populating further down the sheet

    Sorry - you are still expecting us to reverse engineer non-working formulae!

    Explain in WORDS what you want the formula to do and why. What are you expecing it to popluate?

    This just isn't clear to me at all - sorry.

  7. #7
    Registered User
    Join Date
    05-24-2022
    Location
    London
    MS-Off Ver
    365
    Posts
    4

    Re: Array Formula which isn't populating further down the sheet

    Hi,

    I'm getting confused as the formula does work on 'Project Stock' Column C - It reads what is in 'Project Stock' Column B, matches this to what is on 'Do NOT Edit' Column G and populates all results that are related to this from 'Do NOT Edit' Column H into 'Project Stock' Column C. The formula for this is: =IFERROR(INDEX('Do NOT Edit'!$H$2:$H$126, SMALL(IF('Project Stock'!$B$2='Do NOT Edit'!$G$2:$G$126,ROW('Do NOT Edit'!$H$2:$H$126)-1,""), ROW()-1)),"") This works perfectly fine, however:

    When I change 'Project Stock' Column A to a different name column C doesn't populate any results
    When I try to change the formula in 'Project Stock' Column C for Rows 39 and above it also doesn't work.

    All I need is an amended formula so that no matter if 'Project Stock' Column A is changed it will always populate what is in 'Do NOT Edit' Column H into Column C.
    I also need the formula to work for rows higher than Row 39 which are for different projects.

    It's possible that this might not be able to be done.

    Thanks

  8. #8
    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,719

    Re: Array Formula which isn't populating further down the sheet

    I'm sure it is doable, but I'm not getting it - sorry. That's my fault. Someone else may follow your explanation.

  9. #9
    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,719

    Re: Array Formula which isn't populating further down the sheet

    Administrative Note:

    It has been brought to our attention that the same query has been posted on one or more other forums and you have not told us about this. You are required to do so.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. As you are new here, I will add the link for you this time: https://www.mrexcel.com/board/thread...-help.1205960/)

  10. #10
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,548

    Re: Array Formula which isn't populating further down the sheet

    Not all of the M-Pod categories are listed in column G of the Do NOT Edit sheet (I.E. M-Pod I+) therefore when any project corresponding to a missing M-Pod category (I.E. FX Studios) is chosen it will result in column C displaying blanks.
    The array formula in cells C40 and below still references cell B2 whereas the array formula in cells C40:C77 should read:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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] Formula populating data from multiple sheets to summary sheet
    By $mart Group in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-13-2018, 12:58 AM
  2. [SOLVED] Populating Array
    By jim808 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 08-17-2016, 03:56 AM
  3. Populating a cell with a formula that references a previous sheet in that workbook
    By fatesdefiance in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-13-2016, 05:09 PM
  4. Replies: 2
    Last Post: 09-12-2014, 03:05 AM
  5. Urgent help with populating an array formula
    By nld08 in forum Excel General
    Replies: 1
    Last Post: 03-16-2014, 03:14 AM
  6. Formula for populating data into another sheet/workbook
    By Woodsnv1 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-16-2013, 08:20 PM
  7. Populating Array in VBA
    By phil_b in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-13-2010, 10:15 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