Forum Discussion

cdoug982's avatar
cdoug982
Copper Contributor
Jan 08, 2023

Auto-populate list on wider selection

Hi all,

Super specific one - I'm trying to alter an Excel template ("weekly meal planner and grocery list"). The grocery list is only pulling information based on 7 entries from the meal planner tab. What I wanted to do was expand the information pulled to be across 7 rows & 3 columns (for breakfast, lunch & dinner instead of the single dinner column that the template originally holds) but I cannot for the life of me figure out how I can change the index or lookup array to include.

Formula to pull items from recipe if the meal is entered into the meal planner table:
=IFERROR(INDEX(IngredientsBlanks,SMALL((IF(LEN(IngredientsBlanks),ROW(INDIRECT("1:"&ROWS(IngredientsBlanks))))),ROW(A1)),1),"")
Formula for amount of each ingredient:
=IFERROR(VLOOKUP('Shopping list'!$B3,DataAnalysis!$U$8:$W$301,3,FALSE),"")


Original meal plan format:

What I'd like the shopping list to populate based on:



I'm confused and I really don't want to have to have 3 seperate workbooks for breakfast lunch & dinner.

 

6 Replies

  • Lyra1's avatar
    Lyra1
    Copper Contributor

    cdoug982 
    I am trying to do the exact same thing so just wondering if you find a solution? I would like to include at list 2 recipes per day or Breaky, Lunch and Dinner.

    Thankyou

  • mathetes's avatar
    mathetes
    Gold Contributor

    cdoug982 

     

    From an image it's virtually impossible to diagnose what the limits are. It would be helpful if you could let us know what template that is, where you found it. Ideally, paste a link to the actual file. I went looking briefly and there are quite a few results when one searches for "Meal Planner" among the Excel templates on the Microsoft site.

     

    I will also say that templates often have unfortunate limitations that can frustrate users. So it could well be something inherent in the design, not your fault. But help us help you by giving more information so that we could find the actual template.

     

    Or you could just post a copy of yours on OneDrive or GoogleDrive and paste a link here that allows us to look at it and edit it.

    • Maria5830's avatar
      Maria5830
      Copper Contributor

      mathetes 

       

      The link to the template would be this: 

      https://create.microsoft.com/en-us/template/weekly-meal-planner-and-grocery-list-0a470abd-cbab-429b-ad70-7625c8bc6dd9

       

      I have the same problem, if I want to expand the table, the ingreedients of my manually added columns are not schown in the grocery list.

      • Lyra1's avatar
        Lyra1
        Copper Contributor
        Maria5830 I am trying to do the exact same thing so just wondering if you find a solution? I would like to include at list 2 recipes per day or Breaky, Lunch and Dinner.

        Thankyou

Resources