SOLVED

Help finding the biggest (absolute terms) movement in order

Iron Contributor

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

@calof1 

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))
best response confirmed by calof1 (Iron Contributor)
Solution

Hi@Sergei Baklan 

 

Thank you again for your assistance.

 

Extremely helpful as always, much appreciated.

 

Hi@Sergei Baklan 

 

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.

@calof1 

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 (%).

  

1 best response

Accepted Solutions
best response confirmed by calof1 (Iron Contributor)
Solution

Hi@Sergei Baklan 

 

Thank you again for your assistance.

 

Extremely helpful as always, much appreciated.

 

View solution in original post