Thanks will have a look. Also prompted me to change the image example and include cell referencesHave a look at MINIFS and MAXIFS. e.g.
=MINIFS(B1:B8,B1:B8,"<"&0) (biggest decline)
= LET(
group, IFS(changes > 0, "Increase", changes < 0, "Decline", TRUE, ""),
GROUPBY(group, ABS(changes), VSTACK(MAX, MIN), , 0, -1, changes)
)
True. In many instances the GROUPBY and PIVOTBY functions will allow the concept of pivot tables to be replaced by standard Excel functions that do not require the use of refresh, provided calculation is not set to manual. My interest in this particular case was that it required the zero values to be filtered out to prevent them appearing in the calculated results. I had never used the filter within GROUPBY so this provided an opportunity. Here 'changes' as the final parameter acts as a Boolean filter.GROUPBY is still only available to Office Insiders, I believe.
Hi. Sorry for the late response but I had to go into hospital for an emergency operation on my calf. Came back to work last week.Let us know.