• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Need help returning header values when order changes

clapprp

New Member
Hello - I'm looking for some input on how to solve a particular issue I'm having. I have a need to identify header values for any occurence of an order change. For example; Row 1 contains the header values, and the subsequent rows contain values ranked accoring to their relative values.


A B C D E

1 2 3 4 5

1 2 3 4 5

1 2 3 5 4


In the example above I need to be able to identify the corresponding header values for when the order changes (example, row 4). Without writing VBA, is there a combinations of formulas that can be used to identify those header values (D & E)?


Any insight would be much appreciated.
 
Confirm this formula as an array, using Ctrl+Shift+Enter, not just Enter.

=INDEX(1:1,LARGE(COLUMN(A1:E1)*(A2:E4<>A2:E2),2))&

" & "&

INDEX(1:1,LARGE(COLUMN(A1:E1)*(A2:E4<>A2:E2),1))


This assumes only one change in ranking.
 
Back
Top