sorry i thought the "and so on" was implied sheet 3 column A and continued with multiple sheets.
Yes, that's what I assumed, but to actually write a formula, you need the sheet names. If the number of sheets is indeterminate then you would almost certainly need VBA. Also the fact that data starts in row 3 is important. So precision in the question helps us give you the best answer.
In Excel 365 I might try to do this with the VSTACK and UNIQUE functions but they're not available in 2019.
Since I am comfortable with macros I would probably use a VBA solution for this. This solution will work for any number of sheets with any names, as long as the only thing in the file is sheets with lists of computer names.
Option Explicit
Public Sub UniqueNames()
Dim WS As Worksheet
Dim Row As Long ' row
Dim NameColl As New Collection
Dim UniqueSheet As Worksheet
Dim Name As Variant
On Error Resume Next ' ignore error if duplicate item is attempted
For Each WS In Worksheets
Row = 3
Do Until WS.Cells(Row, "A") = ""
NameColl.Add Item:=WS.Cells(Row, "A"), Key:=WS.Cells(Row, "A")
Row = Row + 1
Loop
Next WS
On Error GoTo 0
Worksheets.Add before:=Worksheets(1)
With Worksheets(1)
.Name = "Unique Names"
Row = 1
For Each Name In NameColl
.Cells(Row, "A") = Name
Row = Row + 1
Next Name
End With
End Sub
Bookmarks