Excel UDF : Copy cell comment into another cell

Best Online Course : SAS Programming with 50+ Case Studies

- Explain Programming Concepts in Simple English
- Live Projects & Case Studies
- Job Placement Assistance
- Get 10% off till Oct 26, 2017
- Batch starts from October 28, 2017

Suppose you want to copy cell comment into another cell. As comment changes, value in another cell also changes automatically. There is no such excel function which copies the comment into another cell. I developed a user defined function (UDF) that takes a comment cell reference and return its text.



How to Use :
1. Press ALT + F11 to open Visual Basic Editor
2. In visual basic editor window, Go to Insert >> Module
3. In module, add the above lines of code.
4. In main excel window, type =Getcomment(cell_reference)

Example :
A cell comment is in cell B2 . In cell F2, type =Getcomment(B2). 





Excel Tutorials : 100 Excel Tutorials

About Author:

Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has close to 7 years of experience in data science and predictive modeling. During his tenure, he has worked with global clients in various domains like retail and commercial banking, Telecom, HR and Automotive.


While I love having friends who agree, I only learn from those who don't.

Let's Get Connected: Email | LinkedIn

Get Free Email Updates :
*Please confirm your email address by clicking on the link sent to your Email*

Related Posts:

1 Response to "Excel UDF : Copy cell comment into another cell"

  1. Hi, I have a list of names that I want to lookup the cell comment for given an array.
    Sheet1 I have a list of names for specific date
    Sheet 2 I have the array with names and all dates, names on x and dates on y axis
    Can you help?

    ReplyDelete

Next → ← Prev