Dec 12 2019 08:59 PM
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
Dec 13 2019 12:53 AM
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))
Dec 15 2019 02:08 PM
Solution
Thank you again for your assistance.
Extremely helpful as always, much appreciated.
Dec 15 2019 04:42 PM
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.
Dec 16 2019 02:30 PM
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 (%).
Dec 15 2019 02:08 PM
Solution
Thank you again for your assistance.
Extremely helpful as always, much appreciated.