Hello Gurus,
How can I copy my project code from Column B to column AJ without repetition?
Please find attached file.
Thanks.
thong
Hello Gurus,
How can I copy my project code from Column B to column AJ without repetition?
Please find attached file.
Thanks.
thong
Put this array* formula in AJ3:
=IFERROR(INDEX($B$3:$B$30,MATCH(0,COUNTIF($AJ$2:AJ2,$B$3:$B$30),0)),"")
and then copy down.
*An array formula needs to be committed using the key combination Ctrl-Shift-Enter (CSE), instead of the usual <Enter>.
Hope this helps.
Pete
Hi Pete,
I followed your instructions and got ACE for every one
(I'm trying to understand array formulas)
If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)
You can't do one thing. XLAdept
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin
Okay, well here's the file so you can check it out.
Pete
Thanks Pete, Works like a charm!
Here is a non-array version...
=IFERROR(INDEX($B$3:$B$30,MATCH(0,INDEX(COUNTIF($AJ$2:AJ2,$B$3:$B$30),),0)),"")
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
This solution will allow you to delete an entry in column B and it will also be deleted from column AJ closing the gap and without leaving a 0.
Formula:Please Login or Register to view this content.
<---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.Ron W
Thanks Pete,
I must have done something wrong
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks