• 585K Members
• 12.5K Online
• 709K Conversations
SOLVED

## Help finding the biggest (absolute terms) movement in order

Highlighted
Frequent Contributor

# Help finding the biggest (absolute terms) movement in order

Hi,

I have a large set of data i update each day. I am hoping to fix a formula so i can find the large movement (either positive or negative) each day. I am looking to find the top 10 movers each day. I am looking for the value and code to populate automatically each day

I have a formula i am trying in the spreadsheet attached (highlighted yellow).

Can someone please help with this formula.

Many thanks,

I a

4 Replies
Highlighted

# Re: Help finding the biggest (absolute terms) movement in order

If take sign into account that could be

``=AGGREGATE(14,6,ABS(\$G\$48:\$G\$2049),ROW()-ROW(\$B\$9))*SIGN(INDEX(\$G\$48:\$G\$2049,MATCH(AGGREGATE(14,6,ABS(\$G\$48:\$G\$2049),ROW()-ROW(\$B\$9)),ABS(\$G\$48:\$G\$2049),0)))``

and for the name

``=INDEX(\$A\$48:\$A\$2049,MATCH(\$B10,\$G\$48:\$G\$2049,0))``
Highlighted
Solution

# Re: Help finding the biggest (absolute terms) movement in order

Thank you again for your assistance.

Extremely helpful as always, much appreciated.

Highlighted

# Re: Help finding the biggest (absolute terms) movement in order

Thanks for your help,it has worked perfectly.

I did notice from the results that in this example i have many investments which are recorded a few times. Is there a way to tweek the formula to show the sum of these in the Contribution for each investment, and show in the order of movement as before?

Thank you again for your assistance.

Highlighted

# Re: Help finding the biggest (absolute terms) movement in order

That's not my business, but are you sure that shall be the sum? I checked repeating names, for all of them Contribtuion to Portfolio Movement (%) is exactly the same. It looks like you already have cumulative figure here which are repeated for each name entry.

If that assumption is wrong I'd suggest to add helper column with SUMIF() of contribution % for each name and use this column in initial formula instead of Contribtuion to Portfolio Movement (%).