Hello Friends
The Inputs are in Cells C5:D37 (Column C and D) and need to remove the dulicates in the light yellow cells F5:G14 by formula.
The duplicates are repeated in the rows in both columns as a set.
thanks in advance.
Hello Friends
The Inputs are in Cells C5:D37 (Column C and D) and need to remove the dulicates in the light yellow cells F5:G14 by formula.
The duplicates are repeated in the rows in both columns as a set.
thanks in advance.
Sekar
For first column, put this on F5 and copied down until blanks:
=IFERROR(VLOOKUP(G5,CHOOSE({1\2},$D$5:$D$50,$C$5:$C$50),2,0),"")
For Second Column, put this on G5 and ENTER as array formula
=IFERROR(INDEX($D$5:$D$50,AGGREGATE(15,6,IF(FREQUENCY(IFERROR(MATCH(IF($D$5:$D$50<>"",$D$5:$D$50),$D$5:$D$50,0),""),ROW($D$5:$D$50)-ROW($D$5)+1),ROW($D$5:$D$50)-ROW($D$5)+1),ROWS($A$1:A1))),"")
An array formula in F5, copied across and down:
=IFERROR(INDEX(C:C,SMALL(IF(COUNTIFS($F$4:$F4,$C$5:$C$32,$G$4:$G4,$D$5:$D$32)=0,ROW($C$5:$C$32),""),1)),"")
Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.
You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.
Don't type the curly brackets yourself - it won't work...
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.
Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh
Try this non ARRAY formula.
In K5, then dragged across L17, till blank cells are seen.
Please Login or Register to view this content.
Pl note
Array formula should be confirmed with Ctrl+Shift+Enter keys together.
If answere is satisfactory press * to add reputation.
Thanks to kvsrinivasamurthy, Glenn and Azumi
These formulas workign fine and helped me to save the time.
I will use the Srinivasamurthy's Non array formula
Thanks again to all.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks