All,
I need help building a macro or formula to insert two new blank rows after every new name. In some cases names will be listed more than once. Ex: below?
Thanks!
Capture excel.PNG
All,
I need help building a macro or formula to insert two new blank rows after every new name. In some cases names will be listed more than once. Ex: below?
Thanks!
Capture excel.PNG
So this would be the end goal... I toyed around and the furthest I got was:
In cell I4 -> =A3=A4 -> Which gives "TRUE" as an answer; then pulling it down to the whole spreadsheet column of names. -> Then searching for "FALSE" -> selecting all and inserting sheet rows.
This will only enter ONE blank row after each name. Wondering if there's a better way...
Attachment 804366
attached spreadsheet...
One way:
Please tryIf you remove the space after Andrew in row 5 you can also remove 3 times TRIM from the formula.Formula:Please Login or Register to view this content.
Last edited by HansDouwe; 11-09-2022 at 03:57 PM.
vba
Please Login or Register to view this content.
You have a trailing space in row 5 ... Andrew
Please Login or Register to view this content.
Last edited by sintek; 11-10-2022 at 02:46 AM.
Good Luck
I don't presume to know what I am doing, however, just like you, I too started somewhere...
One-day, One-problem at a time!!!
If you feel I have helped, please click on the star to left of post [Add Reputation]
Also....add a comment if you like!!!!
And remember...Mark Thread as Solved.
Excel Forum Rocks!!!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks