A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Dear Gilkey Nabil
Thank you for reaching out to the Q&A Forum.
To add a bit more detail to the AI guidance, may I ask a quick clarification? When you mention “criteria or source data changes” and “dynamic array,” do you mean your source data is dynamic as well (for example, you regularly add new rows to the dataset)? If your source data is dynamic, it’s important to confirm that first because when the source grows, your formulas should automatically expand to include new entries without requiring manual range adjustments.
To check whether your source data is already dynamic, click any cell inside the data range. If you see the Table or Table Design tab on the ribbon, the range is already formatted as an Excel Table. If the tab doesn’t appear, you can convert the range into a Table by selecting any cell within the data, pressing Ctrl + A to highlight the full range, and then pressing Cmd + T or going to Insert > Table.
Excel Tables let you use Structured References (for example, Table4[Year]) instead of static ranges (like A2:A100). When you add new rows, the references automatically expand, so your formulas stay accurate.
Regarding the function/formula approach: in addition to the AI suggestion, I recommend using a separate criteria table that pulls its list from the source data.
The purpose is to make it much easier to update or change criteria later (especially if you expect the criteria to change often). For example, you can maintain criteria in a simple list and have your formulas reference that list directly.
I hope this helps! If you have any additional questions or if this doesn’t match your exact scenario, please reply back and I’ll be glad to support you further.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.