Dynamic Sum to display only non-zero results

mprocacc

New Member
Joined
Jun 29, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi,

I've been stalking boards like this for... decades. My first time posting. Thanks in advance.

I'm trying to develop a dynamic spill result that will display only non-zero results.

In the attached image I'd like to suppress the non-zero results so-as only Vendors with a non-zero value will be displayed. Seems simple but I cannot figure it out. My spill formula is:

=SORT(HSTACK(UNIQUE(MOAR[Manufacturer]),SUMIFS(MOAR[Display Amt],MOAR[Manufacturer],UNIQUE(MOAR[Manufacturer]),MOAR[Include?],TRUE)),1,1)

The results below are correct but I don't want to display the Vendors with zero dollars. I'd like to "collapse" those zero-dollar vendor rows.

Sorry .. again my first post

Thanks in advance.

Matt
Excel help.jpg


My data table ("MOAR") has a helper column ("Include?") which considers several variables and, for each row in the table, is either TRUE or FALSE.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Hi & welcome to MrExcel.
How about
Excel Formula:
=let(s,SORT(HSTACK(UNIQUE(MOAR[Manufacturer]),SUMIFS(MOAR[Display Amt],MOAR[Manufacturer],UNIQUE(MOAR[Manufacturer]),MOAR[Include?],TRUE)),1,1),filter(s,index(s,,2)>0))
 
Upvote 0
Solution
Wow.

Just...wow.

Thank you! I was trying to figure out how to FILTER a FILTER and could not for the life of me figure out how to reference the columns within the first FILTER.

I kiss your ring, Fluff
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top