I need to compare two lists of values to determine whether they are the same or not in excel. Each value is in a different horizontal cell as shown in my illustration. How can I build a formula to do this task.
1 2 3 4 5 should say No
1 2 3 5 4
4 5 1 2 3 should say Yes
4 5 1 2 3