Forum

Sorting Pairs of Da...
 
Notifications
Clear all

Sorting Pairs of Data into Descending Order

4 Posts
2 Users
0 Reactions
81 Views
(@esanders)
Posts: 7
Active Member
Topic starter
 

Morning All 🙂  I've attached below a snap of my worksheet as-well-as the actual workbook... I want to have a formula that sorts the respective pairs of currency in descending order of their interest rate differential (as I've manual indicated from cell F16).  And for it to re-calculate when I make changes to the interest rates in column B.  The table from Cell E4 is a simple equation that I've also shown in the image below.  I'll carry on trying to solve this but it is beating me so far! 🙂 Many thanks, Edward.

Screenshot-2022-09-06-103535.png

 
Posted : 06/09/2022 8:39 pm
Riny van Eekelen
(@riny)
Posts: 1195
Member Moderator
 

Hi Edward,

You can probably write very complicated formulas for this, bit I prefer simple solutions. And, in my opinion, the simplest way to do this is by using Power Query. Connect to your "Table2", Unpivot and Sort. Clean up a bit and load everything back to an Excel table (See sheet Query).

When the data changes, press "Refresh All" on the Data ribbon and the Query table updates in a split second.

Riny

 
Posted : 07/09/2022 1:35 am
(@esanders)
Posts: 7
Active Member
Topic starter
 

Many thanks, that works... not sure how so will go back through it in more detail this afternoon.

 

Thanks again.

 
Posted : 07/09/2022 11:41 pm
Riny van Eekelen
(@riny)
Posts: 1195
Member Moderator
 

Sure thing. Come back here if you need more help.

R

 
Posted : 08/09/2022 12:20 am
Share: