2 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

Dynamic function to broadcast sum based on filtered criteria

Our take

Introducing a dynamic function that efficiently broadcasts sums based on filtered criteria can significantly enhance your spreadsheet capabilities. Given your source table, you need a formula that adapts to changing rows and columns while filtering results based on a specified product list. This scalable solution will allow you to populate your presentation table seamlessly, ensuring that the data aligns perfectly with your requirements. By leveraging this innovative approach, you can simplify data management and focus on achieving your productivity goals.

Hi

I have the following source table:

Product Region Month Target Actual
Comp N Mar-26 100 50
Comp N Jan-26 60 120
PC S Feb-26 100 20
PC S Apr-26 10 200
Mobile W May-26 20 100

I have another table used for presentation with fixed rows and columns arranged this way :

Region Col Jan-26 Feb-26 Mar-26 Apr-26 May-26
N Target
S Actual

I need a dynamic formula to spill across this grid. The rows and columns can increase so the solution should be scalable. Also there is another range with required list of products. for e.g range A1:A2 with items "Comp" and "PC", so the formula should be able to filter the sum based on items in this list.

So the expected result is :

Region Col Jan-26 Feb-26 Mar-26 Apr-26 May-26
N Target 60 0 100 0 0
S Actual 0 20 0 200 0
submitted by /u/land_cruizer
[link] [comments]

Read on the original site

Open the publisher's page for the full experience

View original article

Related Articles

Tagged with