How to show Top Product Names in a text box?

topsellingProducts:
LOAD Products,Amount INLINE [Products,Amount
Product1,1200
Product2,1500
Product3,1200
Product4,1400
Product5,1400
Product6,1500
];

How to show Top Product Names in a text box?

=concat( aggr(if(rank(sum(Amount)) <= 1, Products), Products),
chr(10),
aggr(rank( sum(Amount) ), Products )
)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.