Function commentCell(Cell As Range) As String
  If Not Cell.Comment Is Nothing Then commentCell = Cell.Comment.Text
End FunctionBạn chỉ có thể sử dụng VBA trong trường hợp này.
Bạn thêm và vào tab Developer, mở trình chỉnh sửa VBE, thêm module và thêm mã bên dưới vào module, sau đó sử dụng ngoài trang tính như sau:
=commentCell(A1)
JavaScript:Function commentCell(Cell As Range) As String If Not Cell.Comment Is Nothing Then commentCell = Cell.Comment.Text End Function

à mình làm được rồi nhưng nó chỉ hiện ra note á, còn comment thì ko raBạn chỉ có thể sử dụng VBA trong trường hợp này.
Bạn thêm và vào tab Developer, mở trình chỉnh sửa VBE, thêm module và thêm mã bên dưới vào module, sau đó sử dụng ngoài trang tính như sau:
=commentCell(A1)
JavaScript:Function commentCell(Cell As Range) As String If Not Cell.Comment Is Nothing Then commentCell = Cell.Comment.Text End Function
 
 
Function commentCell(Cell As Object) As String
  On Error Resume Next
  If Not Cell.Comment Is Nothing Then 
     commentCell = Cell.Comment.Text
  Else
     commentCell = Cell.CommentThreaded.Text
  End if
End Function