Self populating data sheets

Occasional Contributor



I wondered if it is possible to populate a sheet dependent on cell values in another sheet.


I hope the sample sheet I have designed is self explanatory.  The answer if there is one would be an enormous help in a bigger project I am working on.


Ideally I would like to use formula but it may be that VBA is the only way.


Thank you in advance for any help you can offer.



6 Replies
best response confirmed by Paul_wfp (Occasional Contributor)

@Paul_wfp Are you on MS365 with access to the FILTER function? If so, please see attached.

@Riny_van_EekelenTotally superb thank you so much.

@Paul_wfp Good to hear it worked!

@Riny_van_EekelenRiny I have applied it to my actual data and it is superb , such a powerful tool.  I have also enjoyed trying to understand the formula. 


Many thanks again.



@Paul_wfp You are welcome!! It works even better if you apply the FILTER function to structured tables. Then you don't have to worry about redefining the range to filter from every time. If you transform the entire data range in the STOCK sheet to a structured table (Ctrl-T), the formula would look like this:


=FILTER(FILTER(Table1,Table1[Order required]="Yes",""),{1,1,0,0,0,0,0,1,1,1,0,0})


Add rows to the table and the FILTER will still work as "Table1" and the column "[Order required]" will automatically expand.

@Riny_van_EekelenAgain, fabulous advice and help totally understand.


Have as nice a weekend as possible in Covid times.