Freeman2022
New Member
- Joined
- Nov 3, 2021
- Messages
- 44
- Office Version
- 365
- Platform
- Windows
Sadly no.Do you have office 365 Insider account ?
LOL yes, that's what I've been doing in the past, I wasn't sure if there was another way or not.Couldn't you just copy one list to the bottom of the other, and then use Excel's built-in "Remove Duplicates" functionality?
Sadly no, just your regular 365 business, I don't get any of the cool features that they roll out firstDo you have office 365 Insider account ?
Sub freeman()
Dim lastrowa As Long, lastrowb As Long
lastrowa = Range("A" & Rows.Count).End(xlUp).Row
lastrowb = Range("B" & Rows.Count).End(xlUp).Row
Range("A" & lastrowa + 1).Resize(lastrowb - 1, 1).Value = Range("B2:B" & lastrowb).Value
Range("A1:A" & lastrowa + lastrowb - 1).RemoveDuplicates Columns:=1, Header:=xlYes
End Sub
Thanks for your suggestion, however for this I do want to say away from VBA code, just in case I need to pass it on to someone who doesn't know how to use VBA.This code should work
VBA Code:Sub freeman() Dim lastrowa As Long, lastrowb As Long lastrowa = Range("A" & Rows.Count).End(xlUp).Row lastrowb = Range("B" & Rows.Count).End(xlUp).Row Range("A" & lastrowa + 1).Resize(lastrowb - 1, 1).Value = Range("B2:B" & lastrowb).Value Range("A1:A" & lastrowa + lastrowb - 1).RemoveDuplicates Columns:=1, Header:=xlYes End Sub
OK, wasn't sure if this was just a "one-time" thing or not.Sadly no.
LOL yes, that's what I've been doing in the past, I wasn't sure if there was another way or not.
Awesome!!!! It works, I love the new spill function....Thank you so MUCH!!!!!How aboutExcel Formula:=LET(a,A2:A100,b,B2:B20,ra,ROWS(a),s,SEQUENCE(ra+ROWS(b)),UNIQUE(IF(s<=ra,a,INDEX(b,s-ra))))