If your sheet only contains information in column A and B it’s possible to use the ”Activesheet.UsedRange” command.
And a macro like this should do the job.
If there are more information on the sheet and data in column A and B are of different “length” then a macro like this would be better.
The last macro assumes your data starts in A1 / B1 if no so change A1 to A where data starts and also chang target C1 to C same as A.
To add macro to sheet right click on sheet tab -> Cilck on "View Code" this takes you to the VB editor. Top left find "Insert" click -> select "Module" and paste code into "Module"
To run select "View" tab and click on "Macros" (top right) or select tab "Developer" and click "Macros" (top left)
Alf
Bookmarks