• 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.

Sort 2 columns without repeating

deciog

Active Member
Dear friends,

Can you help me with a formula so that column E shows the sorted date without repeating between two columns A and C, not in VBA, formula Excel


Thank you in advance.

Décio
 

Attachments

  • Sort Two Columns Without Repeat.xlsx
    20.6 KB · Views: 4
Try………..

In F3, Ctrl+Shift+Enter formula copy down :

=IFERROR(SMALL(IF(CHOOSE({1,2},A$3:A$40,C$3:C$40)>0,CHOOSE({1,2},A$3:A$40,C$3:C$40)),SUMPRODUCT((CHOOSE({1,2},A$3:A$40,C$3:C$40)>0)*(CHOOSE({1,2},A$3:A$40,C$3:C$40)<=F2))+1),"")

Regards
Bosco
 

Attachments

  • Sort Two Columns Without Repeat.xlsx
    19.8 KB · Views: 4
John Jairo V, greetings

First thank the effort made, but the formula is not doing right, where I went wrong, check the attachment, I would like very non-matrix formula because the spreadsheet has almost 20,000 lines.

Decio
 

Attachments

  • Sort Two Columns Without Repeat - (1).xlsx
    18.8 KB · Views: 2
Hi again!

Check your matrix constant separator. Is wrong!!

=IFERROR(SMALL((A$3:A$40,C$3:C$40),1+SUMPRODUCT(COUNTIF(E$2:E2,CHOOSE({1,2},A$3:A$40,C$3:C$40)))),"")

Blessings!
 

Attachments

  • Sort Two Columns Without Repeat - (1).xlsx
    19 KB · Views: 3
John Jairo V

Wow, thank you, fantastic, it works perfectly.

Thank you very much

Blessings!

Decio
 
Back
Top